Skip to content
Cursor

SQL MCP Server for Cursor

io.github.nethinwei/sql-mcp-server

Controlled SQL access gateway with policy, cost limits, tenant isolation, and safe tools.

client:Cursor transport:stdio runtime:oci

Install SQL MCP Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "sql-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/nethinwei/sql-mcp-server:0.1.10"
      ],
      "env": {
        "DATABASE_DSN": "<DATABASE_DSN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

SQL MCP Server in other clients