Basic information
About Schemagate MCP Server
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.
Schemagate is a MCP server in the Databases category listed in the AddMCP.net directory, published by ashishsinha1602. It exposes 2 tools, including Hints, Glossary. Runtime: python. License: Apache-2.0. The repository has 103 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"schemagate": {
"command": "docker",
"args": [
"run",
"-p",
"8770:8770",
"-e",
"SCHEMAGATE_DATABASE_URL=postgresql://…",
"ghcr.io/ashishsinha1602/schemagate"
]
}
}
}
{
"mcpServers": {
"schemagate": {
"command": "docker",
"args": [
"run",
"-p",
"8770:8770",
"-e",
"SCHEMAGATE_DATABASE_URL=postgresql://…",
"ghcr.io/ashishsinha1602/schemagate"
]
}
}
}
{
"servers": {
"schemagate": {
"command": "docker",
"args": [
"run",
"-p",
"8770:8770",
"-e",
"SCHEMAGATE_DATABASE_URL=postgresql://…",
"ghcr.io/ashishsinha1602/schemagate"
]
}
}
}
Schemagate MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"schemagate": {
"command": "docker",
"args": [
"run",
"-p",
"8770:8770",
"-e",
"SCHEMAGATE_DATABASE_URL=postgresql://…",
"ghcr.io/ashishsinha1602/schemagate"
]
}
}
}
Schemagate MCP Server tools
- Hints — (rail → Hints): one object, in your words. *"MyConvo campaigns
- Glossary — (POST /api/glossary): one *word*, everywhere. A term here is
Overview
What is Schemagate?
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.
How to use Schemagate?
The README includes setup instructions such as Every release is signed. The wheels carry PEP 740.
Key features of Schemagate
- Hints (rail → Hints): one object, in your words. *"MyConvo campaigns
- Glossary (POST /api/glossary): one word, everywhere. A term here is
Use cases of Schemagate
- Connect an MCP-compatible client to this repository's service.
- Review the README-backed setup before enabling it in production.
Frequently asked questions
1 Where is the source code for Schemagate?
The source code is linked from the repository URL on this page.
2 Does Schemagate include a standard MCP config?
If the README contains a parseable MCP configuration block, it is shown in the Config tab.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In