Enables AI models to interact with PostgreSQL databases through a standardized Model Context Protocol interface.
Enables AI models to interact with PostgreSQL databases through a standardized Model Context Protocol interface.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| execute | Always (refuses writes unless PG_ALLOW_WRITE=true) |
| connect_db | Only when PG_ENABLE_RUNTIME_CONNECT=true |
{
"mcpServers": {
"postgres": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-postgres-server"
],
"env": {
"DATABASE_URL": "postgres://user:password@localhost:5432/mydb",
"PG_ALLOW_WRITE": "false"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| DATABASE_URL | Declared in the maintainer’s client configuration. | Check documentation |
| PG_ALLOW_WRITE | Declared in the maintainer’s client configuration. | Check documentation |
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Postgres + MinIO Stack Generator
Elliot is an open-source platform for turning the products you already have — REST APIs, SQL databases, files — into tools that AI agents can use well. Not just connected, but fast, safe, and…
Local SQL workspaces with bounded, recoverable writes for coding agents.
Structured deliberation for AI agent coordination. Submit positions, vote, get analysis of cruxes, clusters, bridging statements, and consensus —