MCP Directory

PGMCP - PostgreSQL Model Context Protocol Server vs Supabase MCP Server

A side-by-side comparison of two Databases servers — tools, transport, auth, maintenance, and copy-paste config for each.

 PGMCP - PostgreSQL Model Context Protocol Server

Query any PostgreSQL database in natural language via MCP, with safe read-only SQL and streaming.

Unverified
HTTP (remote)
API key
Go
Supabase MCP Server

Official Supabase server: manage tables, run SQL, branches, configs and edge functions from your AI client.

Verified
HTTP (remote)
OAuth
TypeScript
CategoryDatabasesDatabases
LanguageGoTypeScript
TransportHTTP (remote)HTTP (remote)
AuthAPI keyOAuth
GitHub stars5362.7k
Last commit24 days ago1 month ago
Verified
Actively maintained
Installbrew tap subnetmarco/homebrew-tap && brew install pgmcpAdd remote URL https://mcp.supabase.com/mcp to your MCP client (OAuth login)
RepoOpen Open

Verdict

Pick PGMCP - PostgreSQL Model Context Protocol Server if you prefer its approach (query any postgresql database in natural language via mcp, with safe read-only sql and streaming).

Pick Supabase MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add PGMCP - PostgreSQL Model Context Protocol Server

Install / run
brew tap subnetmarco/homebrew-tap && brew install pgmcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "pgmcp---postgresql-model-context-protocol-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://localhost:8080/mcp"
      ]
    }
  }
}

Claude Desktop connects to remote servers through the `mcp-remote` proxy (installed on first run via npx). Restart Claude Desktop after saving.

Add Supabase MCP Server

Install / run
Add remote URL https://mcp.supabase.com/mcp to your MCP client (OAuth login)

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "supabase-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.supabase.com/mcp?read_only=true&project_ref=<your-project-ref>"
      ]
    }
  }
}

Claude Desktop connects to remote servers through the `mcp-remote` proxy (installed on first run via npx). Restart Claude Desktop after saving.

FAQ

PGMCP - PostgreSQL Model Context Protocol Server or Supabase MCP Server — which is better?

Pick PGMCP - PostgreSQL Model Context Protocol Server if you prefer its approach (query any postgresql database in natural language via mcp, with safe read-only sql and streaming). Pick Supabase MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both PGMCP - PostgreSQL Model Context Protocol Server and Supabase MCP Server?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do PGMCP - PostgreSQL Model Context Protocol Server and Supabase MCP Server work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.