145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
English | νκ΅μ΄
An MCP server that gives AI agents direct access to your databases β 145+ tools across 8 engines.
The point is that the agent reads your schema itself instead of you pasting DDL into a prompt:
Most database MCP servers cover one engine, or a handful of relational ones. If your stack is MySQL for the app, Redshift for analytics, Redis for cache, and Kafka for events, that means four servers with four different config styles.
This is one server, one config block:
| Engines | Tools | |
|---|---|---|
| Relational | MySQL, PostgreSQL, Redshift | 59 |
| NoSQL | MongoDB, Redis, DynamoDB | 48 |
| Search | Elasticsearch | 19 |
| Streaming | Kafka | 19 |
DBS decides which of them are enabled β only those tools get registered, so a MySQL-only setup stays a MySQL-only tool list.
Every screenshot below is one real session against a development MySQL database holding 249 rows β unedited output, not mock data. The agent calls a single tool, mysql_execute_query, and never sees a host, port, or password: those stay in the client config, and the agent only ever names the alias.





Point the same server at production with READ_ONLY=true and steps 2 through 4 simply do not exist β the write tools are never registered, so the agent cannot see them to call them.
Requires Node.js 18+. Register it with your MCP client β no install step:
DBS decides which engines are enabled β only those tools get registered.
One string per engine. Semicolons separate multiple instances.
| Variable | Format |
|---|---|
MYSQL | mysql://<user>:<password>@<host>:<port>/<db>?alias=name |
POSTGRESQL | postgresql://<user>:<password>@<host>:<port>/<db>?alias=name&ssl=true |
REDIS | redis://:<password>@<host>:<port>/<db-index>?alias=name |
MONGODB | mongodb://<user>:<password>@<host>:<port>/<db>?alias=name |
REDSHIFT | redshift://<user>:<password>@<host>:<port>/<db>?alias=name&ssl=true |
ELASTICSEARCH | elasticsearch://<user>:<password>@<host>:<port>?alias=name, or http(s)://<host>:<port>?alias=name |
KAFKA | kafka://<user>:<password>@<broker>:<port>,<broker2>:<port>?alias=name&mechanism=plain |
aliasis required. It is how tools address a specific instance β omit it and that engine fails to connect.
Several instances of the same engine β separate their connection strings with a semicolon. The agent picks one by passing an alias argument to any tool; default=true marks the one used when no alias is given:
DynamoDB is the exception β it takes DYNAMODB_REGION, DYNAMODB_ACCESS_KEY_ID, and DYNAMODB_SECRET_ACCESS_KEY instead. See .env.example for every option.
READ_ONLY=true hides write tools from the tool list entirely and restricts *_execute_query to SELECT-style statements.
Register production as a second MCP server with this flag on. The agent then cannot modify production data β the write tools do not exist as far as it can see.
connectionLimit multiplies per sessionMIT
No reviews yet β be the first to share how this listing worked for you.
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-gateway)<a href="https://allmcps.com/mcp/db-gateway"><img src="https://allmcps.com/api/badge/db-gateway?style=directory" alt="Db Gateway on AllMCPs" /></a>