MCP-Server

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

Wie sich Postgres MCP Pro einbinden lässt: welche Agenten es ausführen und was es ergänztLÄUFT INIhr AgentAny MCP clientein Host dokumentiertMCP SERVERPostgres MCP ProDen Agenten mit Tools, Daten und…4 Installationsschritte1 BerechtigungshinweisWAS ES ERGÄNZTWas es kannDatabase health checksIndex tuningEXPLAIN plans with hypothetical i…Schema-aware SQL generationAgent → Erweiterung → neue Fähigkeit · aus dem offiziellen Repository oder der Dokumentation
Wo Postgres MCP Pro läuft und was es ergänzt, laut Dokumentation
  • 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

  1. Have DB credentials and Docker or Python 3.12+
  2. docker pull crystaldba/postgres-mcp, or pipx install postgres-mcp
  3. Add the config to your MCP client with DATABASE_URI
  4. 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

Von den Maintainern nicht angegeben: License not seen in the README; last_release date not visible in the checked README.

Weitere Erweiterungen zum Ansehen