PluginBench
MCP Server
Maintained
MIT

SQL MCP Server MCP Server

io.github.nethinwei/sql-mcp-server

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

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "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>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "sql-mcp-server": {
      "type": "stdio",
      "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>"
      }
    }
  }
}
Claude Code
claude mcp add sql-mcp-server --env DATABASE_DSN=<YOUR_DATABASE_DSN> -- docker 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

Related MCP servers

Control a real Chrome browser to complete any task: fill forms, extract data, book flights.

110k
Python
MIT
View repository →

Live global intelligence: real-time markets, conflicts, country risk, chokepoints, energy. 39 tools.

83k
TypeScript
AGPL-3.0
View repository →

Netdata

Active

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

80k
Go
GPL-3.0
View repository →

Trending hip-hop artist momentum scores across four cultural dimensions.

79k
TypeScript
MIT
View repository →

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

68k
TypeScript
MIT
View repository →

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →