Skip to content

Commit f5b455f

Browse files
authored
fix: fix env vars, mcp server names and context typos (#29)
* fix: fix env vars, mcp server names and context typos * Update gemini-extension.json
1 parent 3258af8 commit f5b455f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

CLOUD-SQL-SQLSERVER.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This section covers administrative operations like managing clusters, instances,
3939
* For read-only operations (get/list), the **Cloud SQL Viewer** (`roles/cloudsql.viewer`) role is sufficient.
4040
* If an operation fails due to permissions, identify the type of operation and recommend the appropriate role. You can provide these links for assistance:
4141
* Granting Roles: https://cloud.google.com/iam/docs/grant-role-console
42-
* Cloud SQL Permissions: https://cloud.google.com/sql/docs/postgres/iam-permissions
42+
* Cloud SQL Permissions: https://cloud.google.com/sql/docs/sqlserver/iam-permissions
4343

4444
---
4545

@@ -82,4 +82,4 @@ Users may have set project environment variables:
8282
* `CLOUD_SQL_MSSQL_DATABASE`: The name of the database.
8383
8484
Instead of prompting the user for these values for specific tool calls, prompt the user to verify reuse a specific value.
85-
Make sure to not use the environment variable name like `CLOUD_SQL_MSSQL_PROJECT`, `${CLOUD_SQL_MSSQL_PROJECT}`, or `$CLOUD_SQL_MSSQL_PROJECT`. The value can be found by using command: `echo $CLOUD_SQL_MSSQL_PROJECT`.
85+
Make sure to not use the environment variable name like `CLOUD_SQL_MSSQL_PROJECT`, `${CLOUD_SQL_MSSQL_PROJECT}`, or `$CLOUD_SQL_MSSQL_PROJECT`. The value can be found by using command: `echo $CLOUD_SQL_MSSQL_PROJECT`.

gemini-extension.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@
33
"version": "0.1.0",
44
"description": "Connect to Cloud SQL for SQL Server",
55
"mcpServers": {
6-
"Cloud SQL for SQL Server Admin": {
6+
"cloud_sql_sqlserver_admin": {
77
"command": "${extensionPath}${/}toolbox",
88
"args": [
99
"--prebuilt",
1010
"cloud-sql-mssql-admin",
1111
"--stdio"
1212
]
1313
},
14-
"Cloud SQL for SQL Server": {
14+
"cloud_sql_sqlserver": {
1515
"command": "${extensionPath}${/}toolbox",
1616
"args": [
1717
"--prebuilt",
1818
"cloud-sql-mssql",
1919
"--stdio"
2020
],
2121
"env": {
22-
"CLOUD_SQL_SQLSERVER_PROJECT": "${CLOUD_SQL_SQLSERVER_PROJECT}",
23-
"CLOUD_SQL_SQLSERVER_REGION": "${CLOUD_SQL_SQLSERVER_REGION}",
24-
"CLOUD_SQL_SQLSERVER_INSTANCE": "${CLOUD_SQL_SQLSERVER_INSTANCE}",
25-
"CLOUD_SQL_SQLSERVER_DATABASE": "${CLOUD_SQL_SQLSERVER_DATABASE}",
26-
"CLOUD_SQL_SQLSERVER_USER": "${CLOUD_SQL_SQLSERVER_USER}",
27-
"CLOUD_SQL_SQLSERVER_PASSWORD": "${CLOUD_SQL_SQLSERVER_PASSWORD}"
22+
"CLOUD_SQL_MSSQL_PROJECT": "${CLOUD_SQL_MSSQL_PROJECT}",
23+
"CLOUD_SQL_MSSQL_REGION": "${CLOUD_SQL_MSSQL_REGION}",
24+
"CLOUD_SQL_MSSQL_INSTANCE": "${CLOUD_SQL_MSSQL_INSTANCE}",
25+
"CLOUD_SQL_MSSQL_DATABASE": "${CLOUD_SQL_MSSQL_DATABASE}",
26+
"CLOUD_SQL_MSSQL_USER": "${CLOUD_SQL_MSSQL_USER}",
27+
"CLOUD_SQL_MSSQL_PASSWORD": "${CLOUD_SQL_MSSQL_PASSWORD}"
2828
}
2929
}
3030
},

0 commit comments

Comments
 (0)