Best for
- Building text-to-SQL applications that need schema visibility scoped by identity or role.
- Database agent workflows that benefit from sending less schema information to a model.
- Teams connecting the listed database types through MCP.
This server provides schema selection, access filtering, and query-related tools for database text-to-SQL workflows over MCP. The source lists stdio transport, multiple database types, and filtering based on caller identity or database grants. Operators should verify identity propagation, grant configuration, and read-only database credentials.
Strongest · Documentation 15/20 Weakest · Reliability 9/20
Static review · not runReviewed 2026-12-04
Read the FMRS scoring method →Runtime:Python
SCHEMAGATE_DB_TYPE
Database type; choose demo to use the built-in sample database without additional database configuration.
SCHEMAGATE_DB_PASSWORD
Database password, provided by your database administrator or service.
SCHEMAGATE_DATABASE_URL
Optional full SQLAlchemy database URL used instead of the individual connection fields.
SCHEMAGATE_DB_HOST
Database host name or IP, provided by your database service.
SCHEMAGATE_DB_PORT
Database port; it can usually be left empty to use the standard port.
SCHEMAGATE_DB_USER
Database username; a read-only account is recommended.
SCHEMAGATE_DB_NAME
Database name; enter the name, service, dataset, or file path appropriate to the database type.
SCHEMAGATE_DB_CONNECTION
Oracle only: the name of a connection saved in SQL Developer for VS Code or SQLcl.
SCHEMAGATE_DB_OPTIONS
Extra database settings in key=value&key=value format, such as a Databricks http_path or Snowflake warehouse.
SCHEMAGATE_RESTRICT_FROM_GRANTS
Set to 1 to scope each caller to tables and columns allowed by database GRANTs; the client must send the caller's identity.
Launch with uvx by setting the command to uvx and the argument to schemagate-mcp. Set SCHEMAGATE_DB_TYPE to demo to use the built-in sample database. To connect to a real database, provide the needed database type, host, port, username, password, and database name, or set SCHEMAGATE_DATABASE_URL. To scope visibility using database grants, set SCHEMAGATE_RESTRICT_FROM_GRANTS to 1; the client must also send the caller’s identity.
{
"command": "uvx",
"args": [
"schemagate-mcp"
],
"env": {
"SCHEMAGATE_DB_TYPE": "demo"
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
After installation, confirm the schemagate tools appear in your client's tool list. Ask which databases are available to connect to; with the demo database configured, ask a sample data question and confirm that it returns results.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
SchemaGate is a database schema selection MCP server for text-to-SQL. It selects relevant tables for a question and can exclude tables and columns the caller is not allowed to read, using caller identity, roles, or database grants. It supports multiple database types and communicates with MCP clients over stdio.
Unofficial MCP server providing advanced access to the ChEMBL chemical database
Let LLMs interact directly with your Directus data.
Read-only DB access for safe analysis
Connect AI clients to Couchbase clusters.
Source revision bb2894ebdc2f Data synced 2026-12-05 Read the FMRS scoring method Markdown