Home › Databases & Data › schemagate

schemagate

Identity-scoped schema selection for text-to-SQL. Returns only the tables the caller may read.

Python Local macOSWindowsLinux
★ 104 stars Last pushed 2026-10-18 License: Apache-2.0

Topics: Databases

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (pypi 1.7.0)

uvx schemagate

Or add to your MCP client config:

{
  "mcpServers": {
    "schemagate": {
      "command": "uvx",
      "args": [
        "schemagate"
      ],
      "env": {
        "SCHEMAGATE_DATABASE_URL": "<YOUR_VALUE>",
        "SCHEMAGATE_CATALOG_CONFIG": "<YOUR_VALUE>"
      }
    }
  }
}
  • SCHEMAGATE_DATABASE_URL required secret — SQLAlchemy URL of the database to reflect, or 'demo' for the bundled schema
  • SCHEMAGATE_CATALOG_CONFIG — Optional path to a JSON file with roles, hints and shadow-name overrides

This server takes extra arguments — see its repository.

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry