Nile MCP Server logo

Nile MCP Server

by niledatabase

Manage Nile databases, credentials, regions, and SQL queries through MCP-compatible AI clients.

Install Nile MCP Server

Run the project’s own setup commands, in order.

Setup steps from the project

niledatabase/nile-mcp-server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install @niledatabase/nile-mcp-server
    
  2. 2. Install
    npm install @niledatabase/nile-mcp-server@alpha
    
  3. 3. Install
    git clone https://github.com/yourusername/nile-mcp-server.git
    
  4. 4. Configure
    cd nile-mcp-server
    
  5. 5. Install
    npm install
    
  6. 6. Start the server
    npm run build
    

Overview

The niledatabase/nile-mcp-server MCP server exposes Nile database operations to MCP-compatible applications. It supports creating, listing, inspecting, and deleting databases, managing database credentials, listing regions, and executing SQL queries. The server runs locally over stdio by default, with an optional SSE mode for HTTP clients. Reach for it when an AI client needs controlled access to Nile workspace resources or database operations.

Use cases

  • Create Nile databases from an AI client
  • List databases in a Nile workspace
  • Run SQL queries against Nile databases
  • Manage database credentials
  • Inspect database connection details

Key features

  • Nile database lifecycle management
  • SQL query execution
  • Database credential creation and listing
  • Region listing
  • stdio and optional SSE transports
  • Input validation with Zod

Tools9

What Nile MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~24 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/27 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars19Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Nile MCP Server works

What niledatabase/nile-mcp-server MCP server does

The niledatabase/nile-mcp-server MCP server connects MCP-compatible applications to Nile’s database platform. It provides tools for managing databases in a Nile workspace, including creating a database, listing existing databases, retrieving database details, and deleting a database.

Database creation accepts a database name and a supported region. The README identifies AWS_US_WEST_2 and AWS_EU_CENTRAL_1 as available region values. Database details can include identifiers, status, API host, and database host.

The server also handles database credentials. An agent can list credentials for a named database or create new credentials. Newly created credentials include a username and one-time password; the password must be saved when displayed because it will not be shown again.

SQL execution is another supported use case. Agents can send SQL statements to a selected Nile database, making the server suitable for querying data as well as performing schema or data changes when the connected database and credentials permit them.

How it works

The niledatabase/nile-mcp-server MCP server is implemented in TypeScript and communicates using the Model Context Protocol. Its default transport is stdio, which is the mode documented for Claude Desktop and Cursor. The project uses schema-based input validation and reports errors through user-facing messages.

An optional SSE mode starts an HTTP service, using port 3000 by default. Clients can listen on /sse and submit commands to /messages. This mode is useful when the MCP connection needs an HTTP event stream rather than a local process connected through standard input and output.

Setup and configuration

Install the npm package or clone the repository, install dependencies, and build the project. The documented local process starts with node dist/index.js; development mode is available through the repository’s npm run dev script.

Set these values in a .env file or the client configuration:

  • NILE_API_KEY: an API key created from the Nile workspace security settings.
  • NILE_WORKSPACE_SLUG: the Nile workspace to access.

Claude Desktop and Cursor configurations invoke the built dist/index.js file and pass the credentials through environment variables. Absolute paths are required in those client configurations. To use SSE instead of stdio, set MCP_SERVER_MODE=sse; the server then exposes the documented local HTTP endpoints.

Tools and capabilities

The niledatabase/nile-mcp-server MCP server supports these operation groups:

  • Create, list, inspect, and delete Nile databases.
  • List available database regions.
  • Create and list credentials for a database.
  • Execute SQL against a selected database.
  • Use MCP stdio transport or opt into SSE transport.

The README examples also show natural-language workflows for creating tables, inspecting table schemas, adding columns, creating indexes, and querying or modifying rows through SQL.

Limitations and notes

The documented region choices are limited to the two values listed above. Database deletion is exposed as an agent operation, so client users should treat destructive requests carefully. SQL statements can change data or schema depending on the query supplied.

The niledatabase/nile-mcp-server MCP server requires Nile credentials and a workspace slug. It also does not state a project license or a hosted Nile MCP endpoint.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Nile MCP Server

Install the `@niledatabase/nile-mcp-server` npm package, or clone the repository, run `npm install`, and build it with `npm run build`.

Yes.

Yes. The README provides Cursor setup instructions using stdio and the built `dist/index.js` file.

Set `NILE_API_KEY` and `NILE_WORKSPACE_SLUG`. Set `MCP_SERVER_MODE=sse` only when enabling SSE mode.

Yes. It exposes SQL query support for executing statements against Nile databases.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNile MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/niledatabase-nile-mcp-server?style=directory)](https://allmcps.com/mcp/niledatabase-nile-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/niledatabase-nile-mcp-server"><img src="https://allmcps.com/api/badge/niledatabase-nile-mcp-server?style=directory" alt="Nile MCP Server on AllMCPs" /></a>