Browse
→ Data & Storage
→ postgres2mcp
postgres2mcp
Self-hosted HTTP MCP gateway for PostgreSQL with built-in inspection/query tools, parameterized custom SQL tools, scoped API keys and audit logs. Database permissions must still be restricted at the Postgres role; the application default read-only transaction mode can be overridden. Keep the dashboard and MCP endpoint private or behind TLS and review database access before connecting. Repository created October 6, 2026.
MCP unverified
Integration
| Transport | http |
| Auth | api-key |
| Endpoint | http://localhost:3333/mcp |
| Install | Review the repository install.sh and docs/deployment.md before running the installer; connect an authorized least-privilege PostgreSQL role and create scoped MCP API keys |
Use Cases
| 01 | Inspect an authorized database schema |
| 02 | Expose a parameterized read query as a bounded tool |
| 03 | Audit which scoped key called a tool |
Tags
postgresql governance sql scoped-keys self-hosted
Machine-readable: /api/servers.json
· JSON-LD schema embedded in <head>