PluginBench
MCP Server
Maintained
MIT

SQL MCP Server MCP Server

io.github.nethinwei/sql-mcp-server

RepositoryRegistry
How to choose

What this kind of tool is for

  • Query, inspect, or seed a database without writing a one-off script.
  • Let your agent look up schema details before it writes migration code.
  • Move a small dataset between tools without leaving the terminal.

How to compare servers like this

Engine match:
Confirm it speaks your exact database and version, not just the family.
Access scope:
Read-only connections are the safe default — start there before granting writes.
Safety rails:
Check whether destructive statements need an explicit confirmation before they run.
Maintenance signal:
Database drivers change; a recently updated tool is less likely to break mid-query.

This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.

What is the SQL MCP Server MCP server?

Controlled SQL access gateway with policy, cost limits, tenant isolation, and safe tools.

How to install SQL MCP Server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • DATABASE_DSN
    secret

    Database DSN referenced by ${DATABASE_DSN} in config.yaml

~/Library/Application Support/Claude/claude_desktop_config.json
JSON config
{
  "mcpServers": {
    "sql-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/nethinwei/sql-mcp-server:0.1.10",
        "--mount",
        "type=bind,src={config_path},dst=/config/config.yaml,readonly",
        "serve",
        "--config",
        "/config/config.yaml",
        "--transport",
        "stdio"
      ],
      "env": {
        "DATABASE_DSN": "<YOUR_DATABASE_DSN>"
      }
    }
  }
}

Related MCP servers

DODoichain logo

Doichain

Active

Proof of existence, names and chain data of the Doichain blockchain for AI agents

0
Python
MIT
View repository →

SQLite MCP server with 180+ tools, OAuth 2.1, audit logging, and Code Mode for 70–90% token savings.

11
TypeScript
MIT
View repository →

Enterprise-grade MySQL MCP server with OAuth 2.0, 106 tools, and production-ready security.

9
TypeScript
MIT
View repository →

PostgreSQL MCP server with 278 tools, Code Mode sandbox, OAuth 2.1, and enterprise security.

12
TypeScript
MIT
View repository →

MCP server for the Netify Reseller Programme: eligibility, commission, application URL builder.

0
MIT
View repository →

Search, play, and control Stremio on Android TV over native ADB.

5
Python
MIT
View repository →