Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Db Gateway

by sijunkimversion 1.0.4i★ –iRuns on your computer
Registry nameio.github.sijunkim/db-gateway

Install

Overview

Description from the maker (original English)

145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Databases & datasets
  • You need to fill in: DBS, MYSQL, POSTGRESQL, REDSHIFT, MONGODB, REDIS, ELASTICSEARCH, KAFKA, DYNAMODB_ACCESS_KEY_ID, DYNAMODB_SECRET_ACCESS_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: DBS, READ_ONLY, MYSQL, POSTGRESQL, REDSHIFT, MONGODB, REDIS, ELASTICSEARCH, KAFKA, DYNAMODB_REGION, DYNAMODB_ACCESS_KEY_ID, DYNAMODB_SECRET_ACCESS_KEY

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "db-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "db-gateway"
      ],
      "env": {
        "DBS": "your-value",
        "READ_ONLY": "your-value",
        "MYSQL": "your-value",
        "POSTGRESQL": "your-value",
        "REDSHIFT": "your-value",
        "MONGODB": "your-value",
        "REDIS": "your-value",
        "ELASTICSEARCH": "your-value",
        "KAFKA": "your-value",
        "DYNAMODB_REGION": "your-value",
        "DYNAMODB_ACCESS_KEY_ID": "your-value",
        "DYNAMODB_SECRET_ACCESS_KEY": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add db-gateway --env DBS=your-value --env READ_ONLY=your-value --env MYSQL=your-value --env POSTGRESQL=your-value --env REDSHIFT=your-value --env MONGODB=your-value --env REDIS=your-value --env ELASTICSEARCH=your-value --env KAFKA=your-value --env DYNAMODB_REGION=your-value --env DYNAMODB_ACCESS_KEY_ID=your-value --env DYNAMODB_SECRET_ACCESS_KEY=your-value -- npx -y db-gateway

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "db-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "db-gateway"
      ],
      "env": {
        "DBS": "your-value",
        "READ_ONLY": "your-value",
        "MYSQL": "your-value",
        "POSTGRESQL": "your-value",
        "REDSHIFT": "your-value",
        "MONGODB": "your-value",
        "REDIS": "your-value",
        "ELASTICSEARCH": "your-value",
        "KAFKA": "your-value",
        "DYNAMODB_REGION": "your-value",
        "DYNAMODB_ACCESS_KEY_ID": "your-value",
        "DYNAMODB_SECRET_ACCESS_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "db-gateway": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "db-gateway"
      ],
      "env": {
        "DBS": "your-value",
        "READ_ONLY": "your-value",
        "MYSQL": "your-value",
        "POSTGRESQL": "your-value",
        "REDSHIFT": "your-value",
        "MONGODB": "your-value",
        "REDIS": "your-value",
        "ELASTICSEARCH": "your-value",
        "KAFKA": "your-value",
        "DYNAMODB_REGION": "your-value",
        "DYNAMODB_ACCESS_KEY_ID": "your-value",
        "DYNAMODB_SECRET_ACCESS_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • DBS required env
    Engines to enable, comma-separated. Only the listed engines get their tools registered. Example: mysql,redis,kafka
  • READ_ONLY env
    Set to true to hide every write tool and restrict *_execute_query to SELECT-style statements. Recommended when pointing at production.
  • MYSQL secret env
    MySQL connection string(s), semicolon-separated for multiple instances. Format: mysql:// : @ :3306/ ?alias=dev&default=true — alias is required.
  • POSTGRESQL secret env
    PostgreSQL connection string(s), semicolon-separated. Format: postgresql:// : @ :5432/ ?alias=dev&ssl=true — alias is required.
  • REDSHIFT secret env
    Redshift connection string(s), semicolon-separated. Format: redshift:// : @ :5439/ ?alias=dev&ssl=true — alias is required.
  • MONGODB secret env
    MongoDB connection string(s), semicolon-separated. Format: mongodb:// : @ :27017/ ?alias=dev — alias is required.
  • REDIS secret env
    Redis connection string(s), semicolon-separated. Format: redis://: @ :6379/0?alias=dev — leave the password empty for a no-auth instance. alias is required.
  • ELASTICSEARCH secret env
    Elasticsearch connection string(s), semicolon-separated. Format: elasticsearch:// : @ :9200?alias=dev, or http(s):// :9200?alias=dev for no auth. alias is required.
  • KAFKA secret env
    Kafka connection string(s), semicolon-separated. Format: kafka:// : @ :9092, :9092?alias=dev&mechanism=plain — alias is required.
  • DYNAMODB_REGION env
    AWS region for DynamoDB. DynamoDB is configured with discrete variables instead of a connection string.
  • DYNAMODB_ACCESS_KEY_ID secret env
    AWS access key ID for DynamoDB.
  • DYNAMODB_SECRET_ACCESS_KEY secret env
    AWS secret access key for DynamoDB.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account sijunkim, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Databases & datasetsi

  • More stars than 0% of the other 954 servers in this category
  • Published to the registry more recently than 24% of the other 954 servers in this category
  • Basic checks equal to or better than 100% of the other 954 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Db Gateway safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: DBS, MYSQL, POSTGRESQL, REDSHIFT, MONGODB, REDIS, ELASTICSEARCH, KAFKA, DYNAMODB_ACCESS_KEY_ID, DYNAMODB_SECRET_ACCESS_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.0.4) reached the registry 3 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Supabase

by supabase

Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.

Computer or cloud★ 2,993Apache-2.0Updated yesterday
Install

MongoDB MCP Server

by mongodb-js

MongoDB Model Context Protocol Server

Runs on your computer★ 1,157Apache-2.0Updated 3 days ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

DB Gateway MCP Server

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:

You: "Find users who signed up last month and never placed an order"
  1. mysql_get_all_schemas → reads every table definition
  2. mysql_get_table_relationships → finds the users ↔ orders foreign key
  3. mysql_execute_query → runs the LEFT JOIN

Why db-gateway?

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:

EnginesTools
RelationalMySQL, PostgreSQL, Redshift59
NoSQLMongoDB, Redis, DynamoDB48
SearchElasticsearch19
StreamingKafka19

DBS decides which of them are enabled — only those tools get registered, so a MySQL-only setup stays a MySQL-only tool list.

See It Work

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.

Quick Start

Requires Node.js 18+. Register it with your MCP client — no install step:

{

"mcpServers": { "db-gateway": { "command": "npx", "args": ["-y", "db-gateway"], "env": { "DBS": "mysql,redis", "MYSQL": "mysql:// : @ :3306/ ?alias=dev&default=true", "REDIS": "redis://:@ :6379/0?alias=dev&default=true" } } } }

DBS decides which engines are enabled — only those tools get registered.

Connection strings

One string per engine. Semicolons separate multiple instances.

VariableFormat
MYSQLmysql:// : @ : / ?alias=name
POSTGRESQLpostgresql:// : @ : / ?alias=name&ssl=true
REDISredis://: @ : / ?alias=name
MONGODBmongodb:// : @ : / ?alias=name
REDSHIFTredshift:// : @ : / ?alias=name&ssl=true
ELASTICSEARCHelasticsearch:// : @ : ?alias=name, or http(s):// : ?alias=name
KAFKAkafka:// : @ : , : ?alias=name&mechanism=plain

`alias` is 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:

MYSQL="mysql://<user>:<password>@<dev-host>:3306/<db>?alias=dev&default=true;mysql://<user>:<password>@<prod-host>:3306/<db>?alias=prod"

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 Mode

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.

"db-gateway-prod": {

"command": "npx", "args": ["-y", "db-gateway"], "env": { "READ_ONLY": "true", "DBS": "mysql", "MYSQL": "..." } }

Documentation

  • [Tool Reference](https://github.com/sijunkim/db-gateway/blob/main/docs/TOOLS.md) — all 145+ tools, by engine
  • [Connection Management](https://github.com/sijunkim/db-gateway/blob/main/docs/CONNECTIONS.md) — pooling, health checks, and why connectionLimit multiplies per session
  • [Deployment](https://github.com/sijunkim/db-gateway/blob/main/docs/DEPLOYMENT.md) — SSE mode, Nginx, PM2, sharing one gateway across a team

License

MIT

Ask PopNx