Full-access PostgreSQL server for Model Context Protocol with read/write capabilities and enhanced schema metadata
Full-access PostgreSQL server for Model Context Protocol with read/write capabilities and enhanced schema metadata
A powerful Model Context Protocol server providing full read-write access to PostgreSQL databases. Unlike the read-only official MCP PostgreSQL server, this enhanced implementation allows Large Language Models (LLMs) to both query and modify database content with proper transaction management and safety controls.
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 |
{
"mcpServers": {
"postgres-full": {
"command": "npx",
"args": [
"-y",
"mcp-postgres-full-access",
"postgresql://username:password@localhost:5432/database"
],
"env": {
"TRANSACTION_TIMEOUT_MS": "60000",
"MAX_CONCURRENT_TRANSACTIONS": "5",
"PG_STATEMENT_TIMEOUT_MS": "30000"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| TRANSACTION_TIMEOUT_MS | Declared in the maintainer’s client configuration. | Check documentation |
| MAX_CONCURRENT_TRANSACTIONS | Declared in the maintainer’s client configuration. | Check documentation |
| PG_STATEMENT_TIMEOUT_MS | 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.
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.