A fully featured PostgreSQL server adapter for the Model Context Protocol (MCP), providing robust read/write access and enhanced schema metadata for
A fully featured PostgreSQL server adapter for the Model Context Protocol (MCP), providing robust read/write access and enhanced schema metadata for LLM and
This project is an independently maintained and extended fork of the original mcp-postgres-full-access by Syahiid Kamil.
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_query | Execute read-only SQL queries (SELECT statements) |
| execute_dml_ddl_dcl_tcl | Execute data modification operations (INSERT, UPDATE, DELETE) or schema changes (CREATE, ALTER, DROP) |
| execute_maintenance | Execute maintenance commands like VACUUM, ANALYZE, or CREATE DATABASE outside of transactions |
| execute_commit | Explicitly commit a transaction by its ID |
| execute_rollback | Explicitly rollback a transaction by its ID |
| list_tables | Get a comprehensive list of all tables in the database |
| describe_table | Get detailed information about a specific table structure |
| list_schemas | Get a list of all schemas in the database |
{
"mcpServers": {
"postgres-full": {
"command": "npx",
"args": [
"-y",
"mcp-postgres-full-access-extended",
"postgresql://username:password@localhost:5432/database"
],
"env": {
"TRANSACTION_TIMEOUT_MS": "60000",
"MAX_CONCURRENT_TRANSACTIONS": "5",
"PG_STATEMENT_TIMEOUT_MS": "30000"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| TRANSACTION_TIMEOUT_MS | Configuration value read at startup. | Optional |
| MAX_CONCURRENT_TRANSACTIONS | Configuration value read at startup. | Optional |
| PG_STATEMENT_TIMEOUT_MS | Configuration value read at startup. | Optional |
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.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.