Skip to content
Cursor

MCP DB Connect for Cursor

io.github.phatngoit/mcp-db-connect

MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector search access.

client:Cursor transport:stdio runtime:npm

Install MCP DB Connect 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": {
    "mcp-db-connect": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-db-connect"
      ],
      "env": {
        "MCP_DB_CONFIG": "<MCP_DB_CONFIG>"
      }
    }
  }
}

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

MCP DB Connect in other clients