# Nile MCP Server

Interact with the Nile database platform through a standardized interface. Manage databases, execute SQL queries, and handle credentials seamlessly. Enhance your LLM applications with powerful databa…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add niledatabase/nile-mcp-server

# Browse available tools
npx -y @smithery/cli@latest tool list niledatabase/nile-mcp-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get niledatabase/nile-mcp-server list-resources

# Call a tool
npx -y @smithery/cli@latest tool call niledatabase/nile-mcp-server list-resources '{}'
```

## Tools (11)

- `list-resources` — Lists all tables and their descriptions in the specified database
- `create-database` — Creates a new Nile database
- `list-databases` — Lists all databases in the workspace
- `get-database` — Gets details of a specific database
- `delete-database` — Deletes a database
- `get-connection-string` — Gets a PostgreSQL connection string with fresh credentials
- `execute-sql` — Executes a SQL query on a Nile database
- `create-tenant` — Creates a new tenant in the specified database
- `delete-tenant` — Deletes a tenant from the specified database
- `list-tenants` — Lists all tenants in the specified database
- `read-resource` — Gets detailed schema information for a specific table

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get niledatabase/nile-mcp-server <tool-name>
```

---

Source: https://github.com/niledatabase/nile-mcp-server | License: MIT
