schemagate for LangChain
io.github.ashishsinha1602/schemagate
Identity-scoped schema selection for text-to-SQL. Returns only the tables the caller may read.
client:LangChain
transport:stdio
runtime:pypi
Install schemagate in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"schemagate": {
"transport": "stdio",
"command": "uvx",
"args": ["schemagate"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs