- Version
1.24.0- Runs
- Locally
- Packages
- pypi
- Published
- Dec 5, 2026
Get started
Add it to your agent
claude mcp add schemagate -e SCHEMAGATE_DB_TYPE=… -e SCHEMAGATE_DB_TYPE=… -- uvx schemagate-mcp==1.24.0Run in your terminal. Add --scope project to share it with your team through .mcp.json.
codex mcp add schemagate --env SCHEMAGATE_DB_TYPE=… --env SCHEMAGATE_DB_TYPE=… -- uvx schemagate-mcp==1.24.0Saved to ~/.codex/config.toml.
{
"mcpServers": {
"schemagate": {
"command": "uvx",
"args": [
"schemagate-mcp==1.24.0"
],
"env": {
"SCHEMAGATE_DB_TYPE": "…"
}
}
}
}Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
{
"servers": {
"schemagate": {
"type": "stdio",
"command": "uvx",
"args": [
"schemagate-mcp==1.24.0"
],
"env": {
"SCHEMAGATE_DB_TYPE": "…"
}
}
}
}Add to .vscode/mcp.json, then start it from the MCP view in Copilot Chat.
gemini mcp add schemagate uvx schemagate-mcp==1.24.0Saved to .gemini/settings.json.
Before you start
Environment variables
SCHEMAGATE_DB_TYPErequiredDatabase type. 'demo' is a built-in sample database: nothing else to fill inSCHEMAGATE_DB_HOSTHost name or IP. Snowflake: account id. Databricks: workspace host. BigQuery: project id. Empty for demo, SQLite, DuckDBSCHEMAGATE_DB_PORTPort. Empty for the usual one (PostgreSQL 5432, MySQL 3306, SQL Server 1433, Oracle 1521)SCHEMAGATE_DB_USERUser name (a read-only user is best). Databricks: emptySCHEMAGATE_DB_PASSWORDsecretPassword, typed as it is (no URL encoding needed). Databricks: personal access token. Snowflake: password or access token, empty with a key pairSCHEMAGATE_DB_NAMEDatabase name. Oracle: service name or connect string. SQLite/DuckDB: file path. Databricks: catalog or catalog.schema. BigQuery: datasetSCHEMAGATE_DB_CONNECTIONOracle only: the name of a connection saved in SQL Developer for VS Code or SQLcl. Fills host, port, service and user; type its password aboveSCHEMAGATE_DB_OPTIONSExtra settings as key=value&key=value. Databricks: http_path=/sql/1.0/warehouses/<id>. Snowflake: warehouse=WH&role=R, and private_key_file=/path/key.p8 for keySCHEMAGATE_DATABASE_URLsecretAdvanced: a full SQLAlchemy URL instead of the fields above. Leave empty to use the fieldsSCHEMAGATE_RESTRICT_FROM_GRANTS1 = show each caller only the tables and columns its database GRANTs allow (the client must send the caller's identity)SCHEMAGATE_DB_TYPErequiredDatabase type. 'demo' is a built-in sample database: nothing else to fill inSCHEMAGATE_DB_HOSTHost name or IP. Snowflake: account id. Databricks: workspace host. BigQuery: project id. Empty for demo, SQLite, DuckDBSCHEMAGATE_DB_PORTPort. Empty for the usual one (PostgreSQL 5432, MySQL 3306, SQL Server 1433, Oracle 1521)SCHEMAGATE_DB_USERUser name (a read-only user is best). Databricks: emptySCHEMAGATE_DB_PASSWORDsecretPassword, typed as it is (no URL encoding needed). Databricks: personal access token. Snowflake: password or access token, empty with a key pairSCHEMAGATE_DB_NAMEDatabase name. Oracle: service name or connect string. SQLite/DuckDB: file path. Databricks: catalog or catalog.schema. BigQuery: datasetSCHEMAGATE_DB_CONNECTIONOracle only: the name of a connection saved in SQL Developer for VS Code or SQLcl. Fills host, port, service and user; type its password aboveSCHEMAGATE_DB_OPTIONSExtra settings as key=value&key=value. Databricks: http_path=/sql/1.0/warehouses/<id>. Snowflake: warehouse=WH&role=R, and private_key_file=/path/key.p8 for keySCHEMAGATE_DATABASE_URLsecretAdvanced: a full SQLAlchemy URL instead of the fields above. Leave empty to use the fieldsSCHEMAGATE_RESTRICT_FROM_GRANTS1 = show each caller only the tables and columns its database GRANTs allow (the client must send the caller's identity)