Postgres MCP Pro
Postgres MCP server with index tuning, explain plans, health checks and a restricted read-only mode.
- Autor
- Crystal DBA
- Funktioniert mit
- Any MCP client
- Dokumentiert
- Oct 2, 2026
Was Postgres MCP Pro ist
Open source MCP server for the whole development process. It offers health analysis, index tuning, query plans, schema intelligence and safe SQL execution. The reference postgres server is archived in modelcontextprotocol/servers-archived.
Was es kann
- Database health checks
- Index tuning
- EXPLAIN plans with hypothetical indexes
- Schema-aware SQL generation
- Restricted (read-only) vs unrestricted access mode
Wann Sie es einsetzen sollten
Gut geeignet
- Performance tuning with an agent
- Dev use in unrestricted mode, production in restricted mode
Nicht geeignet für
- Unreviewed writes to production: use restricted mode
- Python-less or Docker-less setups
So installieren Sie Postgres MCP Pro
Sie benötigen: Docker or Python 3.12+; Postgres credentials
- Have DB credentials and Docker or Python 3.12+
- docker pull crystaldba/postgres-mcp, or pipx install postgres-mcp
- Add the config to your MCP client with DATABASE_URI
- Set --access-mode=restricted for production
Berechtigungen und Sicherheit
Worauf es zugreifen kann
- Runs SQL on the configured database; restricted mode limits to read-only transactions
Sicherheitshinweise der Maintainer
- DATABASE_URI contains credentials
Prüfen Sie den Quellcode, bevor Sie einem Agenten Zugriff auf Zugangsdaten oder Produktivsysteme geben. Wir dokumentieren die Angaben der Maintainer; Code prüfen wir nicht.
Einschränkungen
- Restricted mode constrains only execution time among resources
Häufig gestellte Fragen
How do I make Postgres MCP Pro read-only?
Use --access-mode=restricted. Quelle
Is Postgres MCP Pro official?
It is by Crystal DBA, not the MCP project; the reference postgres server is archived. Quelle
How do I install Postgres MCP Pro?
docker pull crystaldba/postgres-mcp or pipx install postgres-mcp. Quelle
Verwandte Ratgeber
Quellen und Lücken
- https://raw.githubusercontent.com/crystaldba/postgres-mcp/main/README.md readme, geprüft Oct 2, 2026
- https://raw.githubusercontent.com/modelcontextprotocol/servers/main/README.md readme, geprüft Oct 2, 2026
Von den Maintainern nicht angegeben: License not seen in the README; last_release date not visible in the checked README.