Install guide · Claude Desktop
Install PostgreSQL Performance (read-only) for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "gouranshul-pg-perf-mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/gouranshul/pg-perf-mcp:0.1.0" ], "env": { "PGPERF_DB_URL": "", "PGPERF_DB_USER": "mcp_readonly", "PGPERF_DB_PASSWORD": "YOUR_PGPERF_DB_PASSWORD", "MCP_API_KEY": "YOUR_MCP_API_KEY" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |