| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Note
This extension is currently in beta (pre-v1.0), and may see breaking changes until the first stable release (v1.0).
This Gemini CLI extension provides a set of tools to interact with Microsoft SQL Server instances. It allows you to manage your databases, execute queries, and explore schemas directly from the Gemini CLI, using natural language prompts.
Learn more about Gemini CLI Extensions.
Important
We Want Your Feedback! Please share your thoughts with us by filling out our feedback form. Your input is invaluable and helps us improve the project for everyone.
Before you begin, ensure you have the following:
All harnesses use the same plugin; the MCP server runs via npx (no binary to download). Install with your harness of choice:
Gemini CLI
gemini extensions install https://github.com/gemini-cli-extensions/sql-serverClaude Code
claude plugin marketplace add gemini-cli-extensions/sql-server
claude plugin install sql-server@sql-serverCodex
codex plugin marketplace add gemini-cli-extensions/sql-server
codex plugin add sql-server@sql-serverAntigravity
agy plugin install https://github.com/gemini-cli-extensions/sql-serverSee Configuration for how each harness supplies the connection settings.
The plugin connects to SQL Server using these settings:
How you supply them depends on the harness:
$env:MSSQL_HOST = '<your-sql-server-host>' # Optional: defaults to localhost
$env:MSSQL_PORT = '<your-sql-server-port>' # Optional: defaults to 1433
$env:MSSQL_DATABASE = '<your-database-name>'
$env:MSSQL_USER = '<your-database-user>'
$env:MSSQL_PASSWORD = '<your-database-password>'export MSSQL_HOST="<your-sql-server-host>" # Optional: defaults to localhost
export MSSQL_PORT="<your-sql-server-port>" # Optional: defaults to 1433
export MSSQL_DATABASE="<your-database-name>"
export MSSQL_USER="<your-database-user>"
export MSSQL_PASSWORD="<your-database-password>"Note
See Troubleshooting for debugging your configuration.
To start the Gemini CLI, use the following command:
geminiWarning
Changing Instance & Database Connections Currently, the database connection must be configured before starting the Gemini CLI and can not be changed during a session. To save and resume conversation history use command: /chat save <tag> and /chat resume <tag>.
Interact with SQl Server using natural language right from your IDE:
Find additional extensions to support your entire software development lifecycle at github.com/gemini-cli-extensions, including:
Use gemini --debug to enable debugging.
Common issues:
| Back | FazBrowse Home | New Git URL |