Home / Market / pg-readonly-mcp

pg-readonly-mcp

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

mcp★ 027 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-pg-readonly-mcp-5a95c04a34b2c86c657b": { "command": "uvx", "args": [ "--from", "pg-readonly-mcp==0.1.1", "pg-readonly-mcp" ], "env": { "PG_READONLY_MCP_DSN": "${ENV_PG_READONLY_MCP_DSN}" } } }, "setup": { "fields": [ { "id": "ENV_PG_READONLY_MCP_DSN", "label": "PG_READONLY_MCP_DSN", "description": "Postgres connection string for a role that holds only SELECT. The server refuses to start otherwise.", "required": true, "secret": true, "default": "" } ], "requirements": [ "安装 Python 与 uv / uvx" ] }, "provenance": { "registryServer": "io.github.les-k/pg-readonly-mcp", "registryVersion": "0.1.1", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.les-k%2Fpg-readonly-mcp/versions/0.1.1", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "pypi", "identifier": "pg-readonly-mcp", "version": "0.1.1", "wheelSha256": "0a958cbbc63edd23e68c9f979ec83029e71b57a4c4268fb224801d5b05456d70", "registryNameMatched": "io.github.les-k/pg-readonly-mcp", "checkedAt": "2026-11-04T17:24:46.852Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }