MCP server

Postgres
MCPSQL against the database you point at.
Official Postgres reference server. Queries go to the URL you set. Writes are yours to allow.
latest·MIT·Updated this quarter·github.com/modelcontextprotocol/servers·Transport: stdio
Claude CodeCursorVS CodeDesktop
Scanned
claude_desktop_config.json
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres"
],
"env": {
"DATABASE_URL": "postgres://…"
}
}
}
}Spec
What the server actually exposes.
query
readRun SQL and return rows.
Guardrails
- URL is yours
- Prefer a read-only role
- No implicit migrations
mcp-postgres.mcp/tools
Tools
- read
query
Run SQL and return rows.
Last call
{ "ok": true,
"tool": "query",
"rows": 12 }Other servers worth installing
Discussion
No notes yet. Be the first hunter to report back.