MCPInstall
postgres-mcp logo

postgres-mcp

by raphaelkieling raphaelkieling/postgres-mcp
READMEmain

Postgres MCP

Simple study around the Cursor MCP support.

  • Install Bun
  • Install Cursor
  • Paste the following json at the MCP specification in the Cursor settings
{
  "mcpServers": {
    "postgres": {
      "command": "bun",
      "args": ["/path/to/this/repository/main.ts"],
      "env": {
        "DATABASE_URL": "postgres://xx:xx@localhost/xx"
      }
    }
  }
}