DB Gateway runs on your own machine — the client starts it, so there is no endpoint to ping. 44 installs a week from npm. Last commit 9 Aug 2026.
145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more
Today is the operative word: we check DB Gateway every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add db-gateway -- npx -y db-gateway
{
"mcpServers": {
"db-gateway": {
"args": [
"-y",
"db-gateway"
],
"command": "npx"
}
}
}
[mcp_servers.db-gateway]
command = "npx"
args = ["-y", "db-gateway"]
{
"mcpServers": {
"db-gateway": {
"args": [
"-y",
"db-gateway"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"db-gateway": {
"args": [
"-y",
"db-gateway"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
DBS (Engines to enable, comma-separated. Only the listed engines get their tools registered. Example: mysql,redis,kafka), READ_ONLY (Set to true to hide every write tool and restrict *_execute_query to SELECT-style statements. Recommended when pointing at production.), MYSQL (MySQL connection string(s), semicolon-separated for multiple instances. Format: mysql://<user>:<password>@<host>:3306/<database>?alias=dev&default=true — alias is required.), POSTGRESQL (PostgreSQL connection string(s), semicolon-separated. Format: postgresql://<user>:<password>@<host>:5432/<database>?alias=dev&ssl=true — alias is required.), REDSHIFT (Redshift connection string(s), semicolon-separated. Format: redshift://<user>:<password>@<host>:5439/<database>?alias=dev&ssl=true — alias is required.), MONGODB (MongoDB connection string(s), semicolon-separated. Format: mongodb://<user>:<password>@<host>:27017/<database>?alias=dev — alias is required.), REDIS (Redis connection string(s), semicolon-separated. Format: redis://:<password>@<host>:6379/0?alias=dev — leave the password empty for a no-auth instance. alias is required.), ELASTICSEARCH (Elasticsearch connection string(s), semicolon-separated. Format: elasticsearch://<user>:<password>@<host>:9200?alias=dev, or http(s)://<host>:9200?alias=dev for no auth. alias is required.), KAFKA (Kafka connection string(s), semicolon-separated. Format: kafka://<user>:<password>@<broker1>:9092,<broker2>:9092?alias=dev&mechanism=plain — alias is required.), DYNAMODB_REGION (AWS region for DynamoDB. DynamoDB is configured with discrete variables instead of a connection string.), DYNAMODB_ACCESS_KEY_ID (AWS access key ID for DynamoDB.), DYNAMODB_SECRET_ACCESS_KEY (AWS secret access key for DynamoDB.).
The author declared them in the registry entry; get the values from the project itself.
Multi-tenant database orchestration: isolated Postgres, MySQL, MongoDB, Redis tenants on demand.
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.
Safety-railed database access for agents: Postgres, MySQL, Redis. Read-only by default.
Encrypted database backups and restore-to-any-host disaster recovery for MySQL and PostgreSQL.
A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.
MCP server for secure database access (PostgreSQL, MySQL, SQLite)
Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse
Answers built from our own checks of this server.