Schemagate MCP Server
by ashishsinha1602io.github.ashishsinha1602/schemagatev1.2.0
Identity-scoped schema selection for text-to-SQL. Returns only the tables the caller may read.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install Schemagate MCP server
Install in Claude Code
claude mcp add schemagate -e SCHEMAGATE_DATABASE_URL='<schemagate-database-url>' -- uvx schemagate -m schemagate.mcp_serverInstall in Cursor
{
"mcpServers": {
"schemagate": {
"command": "uvx",
"args": [
"schemagate",
"-m",
"schemagate.mcp_server"
],
"env": {
"SCHEMAGATE_DATABASE_URL": "<schemagate-database-url>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"schemagate": {
"command": "uvx",
"args": [
"schemagate",
"-m",
"schemagate.mcp_server"
],
"env": {
"SCHEMAGATE_DATABASE_URL": "<schemagate-database-url>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"schemagate": {
"type": "stdio",
"command": "uvx",
"args": [
"schemagate",
"-m",
"schemagate.mcp_server"
],
"env": {
"SCHEMAGATE_DATABASE_URL": "<schemagate-database-url>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"schemagate": {
"command": "uvx",
"args": [
"schemagate",
"-m",
"schemagate.mcp_server"
],
"env": {
"SCHEMAGATE_DATABASE_URL": "<schemagate-database-url>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SCHEMAGATE_DATABASE_URL | yes | yes | 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 |
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-09 · 1d ago · GitHub
Latest release
2026-10-04 · 6d ago · GitHub · v1.2.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-04 · 6d ago · official registry · v1.2.0
FAQ
›How do I install the Schemagate MCP server in Claude Code?
Run: claude mcp add schemagate -e SCHEMAGATE_DATABASE_URL='<schemagate-database-url>' -- uvx schemagate -m schemagate.mcp_server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Schemagate require an API key?
Yes. It expects SCHEMAGATE_DATABASE_URL, of which 1 is a secret.
›Can I use Schemagate as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Schemagate in the official MCP registry?
Yes, as io.github.ashishsinha1602/schemagate.
Alternatives to Schemagate
Other database MCP servers.