Pgmcp MCP Server

Read-only Postgres ops/DBA diagnostics: slow queries, EXPLAIN, locks, index and table health.

Local serverstdio

What is the Pgmcp MCP Server?

Pgmcp is an MCP integration. Read-only Postgres ops/DBA diagnostics: slow queries, EXPLAIN, locks, index and table health.

Packages and local setup

The published oci package is ghcr.io/pascalallen/pgmcp:1.1.0. Its declared MCP transport is stdio.

The package declares PGMCP_DATABASE_URL (required): Postgres connection string (read-only role recommended).

The published mcpb package is https://github.com/pascalallen/pgmcp/releases/download/v1.1.0/pgmcp_1.1.0.mcpb. Its declared MCP transport is stdio.

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository · Project website. This profile uses version 1.1.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related developer tools MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
PGMCP_DATABASE_URLPostgres connection string (read-only role recommended)Yes