Loading MCP server directory, please wait...
A read-only Postgres MCP server that parses SQL rather than pattern-matching it.
npx @getmcp/cli add io.github.les-k/pg-readonly-mcpRequires Python 3.10+. Community-contributed server. Review source before installing.
PG_READONLY_MCP_DSNPostgres connection string for a role that holds only SELECT. The server refuses to start otherwise.
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"io.github.les-k/pg-readonly-mcp": {
"command": "uvx",
"args": [
"pg-readonly-mcp"
],
"env": {
"PG_READONLY_MCP_DSN": ""
}
}
}
}