Metadata-Version: 2.5
Name: schemagate-mcp
Version: 1.22.2
Summary: One-command install of the schemagate MCP server, with every database driver and model SDK.
Project-URL: Homepage, https://github.com/ashishsinha1602/schemagate
Project-URL: Source, https://github.com/ashishsinha1602/schemagate
Author: Ashish Sinha
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Database
Requires-Python: >=3.10
Requires-Dist: databricks-sqlalchemy>=2.0
Requires-Dist: duckdb-engine>=0.13
Requires-Dist: pymssql>=2.3
Requires-Dist: schemagate[all]==1.22.2
Requires-Dist: snowflake-sqlalchemy>=1.7
Requires-Dist: sqlalchemy-bigquery>=1.11
Description-Content-Type: text/markdown

# schemagate-mcp

The [schemagate](https://github.com/ashishsinha1602/schemagate) MCP server in one command, with everything it
needs: the MCP server, every database driver and the model SDKs. This package has no code of its own: it
installs `schemagate[all]` at the same version plus the drivers the core package has no extra for, and provides
the `schemagate-mcp` command.

```bash
uvx schemagate-mcp --url demo                              # the bundled sample schema, no database needed
uvx schemagate-mcp --url postgresql://user@host:5432/db    # or your own database
pip install schemagate-mcp                                 # or install it
```

Keep a password out of the command line: put the URL in `SCHEMAGATE_DATABASE_URL` instead.

| Database | URL starts with | Driver included |
|---|---|---|
| PostgreSQL | `postgresql://` | psycopg |
| MySQL / MariaDB | `mysql+pymysql://` | PyMySQL |
| SQL Server | `mssql+pymssql://` (no ODBC needed) or `mssql+pyodbc://` | pymssql, pyodbc |
| Oracle | `oracle+oracledb://` | oracledb |
| SQLite | `sqlite:///path/to/file.db` | built in |
| DuckDB | `duckdb:///path/to/file.duckdb` | duckdb-engine |
| Snowflake | `snowflake://` | snowflake-sqlalchemy |
| Databricks | `databricks://` | databricks-sqlalchemy |
| BigQuery | `bigquery://project` | sqlalchemy-bigquery |

Model SDKs for the server's answer tools (bring your own key): Anthropic, OpenAI, Google Gemini.

schemagate hands a text-to-SQL model only the tables a question needs, and only the ones the caller may read.
Documentation, benchmarks and source: https://github.com/ashishsinha1602/schemagate

mcp-name: io.github.ashishsinha1602/schemagate
