# Nile MCP Server

Lets your agent manage Nile databases through natural language commands, using a Nile API key and workspace slug.

MCP server by Nile. Category: Data and backend.

## Install

Project (for this project only):

```sh
npx add-mcp @niledatabase/nile-mcp-server --env 'NILE_API_KEY=${NILE_API_KEY}' --env 'NILE_WORKSPACE_SLUG=${NILE_WORKSPACE_SLUG}'
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx add-mcp @niledatabase/nile-mcp-server --env 'NILE_API_KEY=${NILE_API_KEY}' --env 'NILE_WORKSPACE_SLUG=${NILE_WORKSPACE_SLUG}' -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Where it runs

Your computer.

## What it needs

Environment variables:

- `NILE_API_KEY` (required): your Nile API key
- `NILE_WORKSPACE_SLUG` (required): your workspace slug

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.
- Needs a key or account: It asks for an API key or a sign in before it works.

## Source

[Open the source](https://thenile.dev/docs/ai-embeddings/model_context_protocol). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [New Relic MCP server](https://syn4pse.dev/terminal/newrelic-mcp-server.md)
- Next: [Notion MCP](https://syn4pse.dev/terminal/notion-mcp.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
