Nile MCP Server Implementation
Nile mcp server connects Nile to AI assistants that speak the Model Context Protocol. Nile MCP Server Implementation.
A Model Context Protocol (MCP) server implementation for Nile database platform. This server allows LLM applications to interact with Nile platform through a standardized interface.
Once connected, the assistant can call these 5 tools directly:
Setup — 1. Install Claude Desktop if you haven't already 2. Build the project: bash npm run build 3. Open Claude Desktop 4. Go to SettingsTroubleshooting — 1. If Claude says it can't access the tools: - Check that the server path in the configuration is correct - Ensure the project is built (npm run build) -Development — The Development tool exposed by this serverTesting — The project includes a comprehensive test suite that covers: - Tool registration and schema validation - Database management operations - Connection stringLogging — The server uses structured logging with the following features: - Daily rotating log files - Separate debug logs - JSON formatted logs with timestamps -The server is distributed via npm as @michaellatman/mcp-get, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Before the server will start you need to supply 2 environment variables: NILE_API_KEY, NILE_WORKSPACE_SLUG. Keep credentials in your client's env block or a secrets manager rather than committing them.
Database servers turn schema archaeology and ad-hoc reporting into conversation, which is why they tend to be the second or third server people install. Nile sits in that group, and the shape of its toolset — Setup, Troubleshooting, Development among others — tells you what it is really for. Worth comparing against the other databases servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| Setup | 1. Install [Claude Desktop](https://claude.ai/desktop) if you haven't already 2. Build the project: bash npm run build 3. Open Claude Desktop 4. Go to Settings > MCP Servers 5. Click "Add Server" 6. Add the following con |
| Troubleshooting | 1. If Claude says it can't access the tools: - Check that the server path in the configuration is correct - Ensure the project is built (npm run build) - Verify your API key and workspace slug are correct - Restart Claud |
| Development | The Development tool exposed by this server. |
| Testing | The project includes a comprehensive test suite that covers: - Tool registration and schema validation - Database management operations - Connection string generation - SQL query execution and error handling - Response f |
| Logging | The server uses structured logging with the following features: - Daily rotating log files - Separate debug logs - JSON formatted logs with timestamps - Console output for development - Log categories: info, error, debug |
{
"mcpServers": {
"nile": {
"command": "npx",
"args": ["-y", "@michaellatman/mcp-get"],
"env": {
"NILE_API_KEY": "your-value",
"NILE_WORKSPACE_SLUG": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| NILE_API_KEY | Credential the server authenticates with. | Yes |
| NILE_WORKSPACE_SLUG | Configuration value read at startup. | Optional |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.