You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* additional instructions for the context file ([#25](https://github.com/gemini-cli-extensions/sql-server/issues/25)) ([effd121](https://github.com/gemini-cli-extensions/sql-server/commit/effd1219f623e8021c5c26eee00e250c04e320c1))
9
+
* standardize mcp server names ([#22](https://github.com/gemini-cli-extensions/sql-server/issues/22)) ([383f144](https://github.com/gemini-cli-extensions/sql-server/commit/383f14432c6132efdd5fb8df1d56b34c229ae09e))
10
+
11
+
## 0.1.0 (2025-09-21)
12
+
13
+
14
+
### Features
15
+
16
+
* add SQL Server Extension ([cdf0e32](https://github.com/gemini-cli-extensions/sql-server/commit/cdf0e32ab4f93c62f331c9d4817fe0b848232cc8))
Copy file name to clipboardExpand all lines: README.md
+30-6Lines changed: 30 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,12 @@
1
1
# Gemini CLI Extension - SQL Server
2
2
3
+
> [!NOTE]
4
+
> This extension is currently in beta (pre-v1.0), and may see breaking changes until the first stable release (v1.0).
5
+
3
6
This Gemini CLI extension provides a set of tools to interact with [Microsoft SQL Server](https://docs.microsoft.com/en-us/sql/) instances. It allows you to manage your databases, execute queries, and explore schemas directly from the [Gemini CLI](https://google-gemini.github.io/gemini-cli/), using natural language prompts.
4
7
8
+
Learn more about [Gemini CLI Extensions](https://github.com/google-gemini/gemini-cli/blob/main/docs/extensions/index.md).
9
+
5
10
## Why Use the SQL Server Extension?
6
11
7
12
***Natural Language Management:** Stop wrestling with complex commands. Explore schemas and query data by describing what you want in plain English.
@@ -12,19 +17,21 @@ This Gemini CLI extension provides a set of tools to interact with [Microsoft SQ
Set the following environment variables before starting the Gemini CLI:
30
37
@@ -34,6 +41,19 @@ Set the following environment variables before starting the Gemini CLI:
34
41
*`MSSQL_USER`: The username for authentication.
35
42
*`MSSQL_PASSWORD`: The password for authentication.
36
43
44
+
### Start Gemini CLI
45
+
46
+
To start the Gemini CLI, use the following command:
47
+
48
+
```bash
49
+
gemini
50
+
```
51
+
52
+
> [!WARNING]
53
+
> **Changing Instance & Database Connections**
54
+
> Currently, the database connection must be configured before starting the Gemini CLI and can not be changed during a session.
55
+
> To save and resume conversation history use command: `/chat save <tag>` and `/chat resume <tag>`.
56
+
37
57
## Usage Examples
38
58
39
59
Interact with SQl Server using natural language right from your IDE:
@@ -52,8 +72,12 @@ Interact with SQl Server using natural language right from your IDE:
52
72
53
73
## Additional Extensions
54
74
55
-
Find additional extensions to support your entire software development lifecycle at [github.com/gemini-cli-extensions](https://github.com/gemini-cli-extensions).
75
+
Find additional extensions to support your entire software development lifecycle at [github.com/gemini-cli-extensions](https://github.com/gemini-cli-extensions), including:
76
+
*[Cloud SQL for SQL Server extension](https://github.com/gemini-cli-extensions/cloud-sql-sqlserver)
77
+
* and more!
56
78
57
79
## Troubleshooting
58
80
59
-
* "cannot execute binary file": Ensure the correct binary for your OS/Architecture has been downloaded. See [Installing the server](https://googleapis.github.io/genai-toolbox/getting-started/introduction/#installing-the-server) for more information.
81
+
* "✖ Error during discovery for server: MCP error -32000: Connection closed": The database connection has not been established. Ensure your configuration is set via environment variables.
82
+
* "✖ MCP ERROR: Error: spawn /Users/<USER>/.gemini/extensions/sql-server/toolbox ENOENT": The Toolbox binary did not download correctly. Ensure you are using Gemini CLI v0.6.0+.
83
+
* "cannot execute binary file": The Toolbox binary did not download correctly. Ensure the correct binary for your OS/Architecture has been downloaded. See [Installing the server](https://googleapis.github.io/genai-toolbox/getting-started/introduction/#installing-the-server) for more information.
0 commit comments