schemagate

Level BLocal

Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read. Row-level-security-aware table pruning for LangChain, MCP and any SQL agent. Postgres, Oracle, MySQL, SQL Server. 75% fewer prompt tokens.

⭐ 128DatabasePythonRepo ↗Updated 2026-11-18

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "schemagate": {
      "command": "npx",
      "args": [
        "schemagate"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/ashishsinha1602/schemagate

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "schemagate": {
      "command": "npx",
      "args": [
        "schemagate"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers