sql-mcp-server

nethinwei/sql-mcp-server
★ 0 stars Go Database Updated 2d ago
Governed SQL gateway for untrusted AI agents. No arbitrary SQL. Policy-enforced, cost-bounded access to relational data.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "sql-mcp-server": {
      "command": "go",
      "args": [
        "run",
        "github.com/nethinwei/sql-mcp-server@latest"
      ]
    }
  }
}

README Excerpt

> **The governed SQL gateway for untrusted AI agents.** 面向不可信 AI Agent 的受控 SQL 数据访问网关。通过显式 Entity、关系代数 IR 和 参数化 codegen 访问 PostgreSQL、MySQL 与 OceanBase,**不接受任意 SQL,不提供 DDL**。 - **确定性执行**:Agent 只能组合受控工具和白名单 IR; - **字段与行治理**:RBAC、字段 ACL、row policy 和 mask 统一强制; - **成本可控**:EXPLAIN 预筛、结果上限、超时和 session/tenant 预算;

Topics

ai-agentdata-governancemcpmodel-context-protocolmysqloceanbasepostgresqlsqlzero-trust
📊
Working with market or time-series data?
The Polymarket Historical Dataset — 18.5M+ price snapshots across 18,600+ prediction markets (CSV + SQLite). Built for backtesting & ML.
View dataset →