drio
Open app

Nile Mcp

Source

MCP server for Nile Database - Manage and query databases, tenants, users, auth using LLMs

Catalog onlyCatalog onlySTDIO

Overview

Nile MCP is a Model Context Protocol server implementation for the Nile database platform, enabling LLM applications to manage and query databases, tenants, users, and authentication through a standardized interface.

To use Nile MCP, install the package via npm, configure your environment variables, and start the server. You can then interact with the server using natural language commands through applications like Claude Desktop or Cursor.

  • Database Management: Create, list, get details, and delete databases. - Credential Management: Create and list database credentials. - SQL Query Support: Execute SQL queries directly on Nile databases. - Comprehensive error handling and user-friendly messages. - Type Safety: Written in TypeScript with full type checking.
  1. Managing multiple databases for different applications.
  2. Executing SQL queries for data retrieval and manipulation.
  3. Integrating with LLM applications for enhanced database interactions.

Add to your AI client

Use these steps to connect Nile Mcp in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "nile-mcp-niledatabase": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nile-mcp-niledatabase"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "nile-mcp-niledatabase": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nile-mcp-niledatabase"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "nile-mcp-niledatabase": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nile-mcp-niledatabase"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "nile-mcp-niledatabase": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nile-mcp-niledatabase"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "nile-mcp-niledatabase": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nile-mcp-niledatabase"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "nile-mcp-niledatabase": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-nile-mcp-niledatabase"
      ]
    }
  }
}

FAQ

Can Nile MCP manage multiple databases?

Yes! Nile MCP allows you to create and manage multiple databases seamlessly.

Is Nile MCP free to use?

Yes! Nile MCP is open-source and free to use.

How do I start the server?

You can start the server by running `node dist/index.js` after building the project.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2330,"uuid":"ec609fb2-15b6-4b31-887c-ec9b546fbb17","name":"nile-mcp","title":"Nile Mcp","description":"MCP server for Nile Database - Manage and query databases, tenants, users, auth using LLMs","avatar_url":null,"created_at":"2025-03-10T19:32:40.289Z","updated_at":"2025-03-18T17:52:43.301Z","status":"created","author_name":"niledatabase","author_avatar_url":null,"tags":"nile-mcp,database-management,llm-integration","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/niledatabase/nile-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":"01decb56-29be-45ba-8f7d-3fe5bf18f3d0","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]