nile
MCP server for Nile Database - Manage and query databases, tenants, users, auth using LLMs
claude mcp add --transport stdio niledatabase-nile-mcp-server node /path/to/your/nile-mcp-server/dist/index.js \ --env NILE_API_KEY="your_api_key_here" \ --env NILE_WORKSPACE_SLUG="your_workspace_slug"
How to use
The Nile MCP Server exposes a standardized interface for interacting with Nile databases from LLM-powered applications. It implements a set of tools that cover core database lifecycle tasks (creating databases, listing databases, getting details, deleting databases), credential management, region discovery, and SQL query execution against Nile databases. The server runs in Node.js and can be consumed either directly through the Node process, or integrated into tools like Claude Desktop or Cursor via the provided MCP server configuration. When connected, you can issue structured MCP commands that map to Nile operations, enabling seamless programmatic control of Nile resources from your AI workflows.
How to install
Prerequisites:
- Node.js and npm installed on your system
- A Nile account with API access and workspace slug
Install the stable version of the MCP server:
npm install @niledatabase/nile-mcp-server
For the latest alpha/preview version:
npm install @niledatabase/nile-mcp-server@alpha
Manual installation (from source):
# Clone the repository
git clone https://github.com/yourusername/nile-mcp-server.git
cd nile-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
Starting the server directly with Node:
node dist/index.js
Or in development mode (with auto-rebuild):
npm run dev
Additional notes
Environment variables are loaded from a .env file if present. Common variables include NILE_API_KEY and NILE_WORKSPACE_SLUG. Ensure your Nile API key has the necessary permissions for the actions you intend to perform (database creation, credential management, etc.). When integrating with Claude Desktop or Cursor, use the provided example configurations to point to the built server binary and pass credentials via env variables. If you enable SSE mode (MCP_SERVER_MODE=sse), the server will expose HTTP endpoints for events and messages at http://localhost:3000/sse and http://localhost:3000/messages respectively. Ensure network access to Nile services and that any firewalls allow the required ports.
Common issues:
- Environment variables not loaded: verify that .env is present or that NILE_API_KEY and NILE_WORKSPACE_SLUG are passed to the process.
- Node build artifacts missing: ensure you run npm run build before starting with node dist/index.js.
- Mismatched MCP server configuration in integrations: confirm the command, path to index.js, and environment variable names match your setup.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud