MCP directory
PR

Pg Readonly Mcp

by github.com/les-k · v0.1.1 · updated Oct 2, 2026

A read-only Postgres MCP server that parses SQL rather than pattern-matching it.

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx pg-readonly-mcp==0.1.1

Environment variables

  • PG_READONLY_MCP_DSNrequiredsecret

    Postgres connection string for a role that holds only SELECT. The server refuses to start otherwise.

More from github.com/les-k

More MCP servers