nile-mcp-server

nile-mcp-server

14

Nile MCP Server is a Model Context Protocol server for the Nile database platform, providing a standardized interface for interacting with databases through features like database management, SQL execution, and error handling. It is designed with TypeScript for type safety and integrates with tools such as Claude Desktop and Cursor.

How do I install the Nile MCP Server?

You can install the stable version using npm install @niledatabase/nile-mcp-server or the latest alpha version with npm install @niledatabase/nile-mcp-server@alpha.

What are the supported operational modes?

The server supports STDIO mode by default and SSE mode for real-time, event-driven communication over HTTP.

How can I verify if the server is running?

Upon successful startup, you should see logs indicating environment variables loaded, server instance created, tools initialized, and transport connection established.

What should I do if database creation fails?

Ensure your API key permissions are correct, the database name is unique, and the region is supported.

How do I handle errors during SQL query execution?

The server provides detailed error messages with hints for SQL syntax errors and other issues, ensuring comprehensive error handling.