DB MCP Gateway
Self-hosted MCP gateway for audited, SSO-authenticated, read-only access to PostgreSQL and MongoDB databases.
Install DB MCP Gateway
Pick your client, then add it in one click or paste the config.
https://db.internal.acme.com/mcp
Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.
claude mcp add --transport http db-mcp-gateway https://db.internal.acme.com/mcpRun in your terminal, then run /mcp in Claude Code to sign in if the server asks.
Overview
Use cases
- Give agents production database access without distributing credentials
- Require SSO and reasons for sensitive database queries
- Review database permissions through pull requests
- Audit agent queries with user, SQL, timing, and outcome
- Limit query rows and execution time across supported targets
Key features
- OIDC browser-based SSO
- YAML-defined, least-privilege grants
- Read-only access by default
- Synchronous append-only query auditing
- PostgreSQL and MongoDB query targets
- Query limits and cancellation tools
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How DB MCP Gateway works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about DB MCP Gateway
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/db-mcp-gateway)<a href="https://allmcps.com/mcp/db-mcp-gateway"><img src="https://allmcps.com/api/badge/db-mcp-gateway?style=directory" alt="DB MCP Gateway on AllMCPs" /></a>