|
7 | 7 | "email": "data-cloud-ai-integrations@google.com" |
8 | 8 | }, |
9 | 9 | "homepage": "https://cloud.google.com/sql/docs/sqlserver", |
10 | | - "license": "Apache-2.0", |
11 | 10 | "repository": "https://github.com/gemini-cli-extensions/cloud-sql-sqlserver", |
12 | | - "skills": "./skills/" |
| 11 | + "license": "Apache-2.0", |
| 12 | + "userConfig": { |
| 13 | + "cloud_sql_mssql_project": { |
| 14 | + "title": "Project Name", |
| 15 | + "description": "Name of the Google Cloud project", |
| 16 | + "type": "string", |
| 17 | + "sensitive": false |
| 18 | + }, |
| 19 | + "cloud_sql_mssql_region": { |
| 20 | + "title": "Region", |
| 21 | + "description": "Region of the Cloud SQL instance", |
| 22 | + "type": "string", |
| 23 | + "sensitive": false |
| 24 | + }, |
| 25 | + "cloud_sql_mssql_instance": { |
| 26 | + "title": "Instance ID", |
| 27 | + "description": "ID of the Cloud SQL instance", |
| 28 | + "type": "string", |
| 29 | + "sensitive": false |
| 30 | + }, |
| 31 | + "cloud_sql_mssql_database": { |
| 32 | + "title": "Database", |
| 33 | + "description": "Name of the database", |
| 34 | + "type": "string", |
| 35 | + "sensitive": false |
| 36 | + }, |
| 37 | + "cloud_sql_mssql_user": { |
| 38 | + "title": "User", |
| 39 | + "description": "Username of the database user", |
| 40 | + "type": "string", |
| 41 | + "sensitive": false |
| 42 | + }, |
| 43 | + "cloud_sql_mssql_password": { |
| 44 | + "title": "Password", |
| 45 | + "description": "Password of the database user", |
| 46 | + "type": "string", |
| 47 | + "sensitive": false |
| 48 | + }, |
| 49 | + "cloud_sql_mssql_ip_type": { |
| 50 | + "title": "Instance IP assignment", |
| 51 | + "description": "(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)", |
| 52 | + "type": "string", |
| 53 | + "sensitive": false |
| 54 | + } |
| 55 | + }, |
| 56 | + "mcpServers": { |
| 57 | + "cloud-sql-mssql": { |
| 58 | + "command": "npx", |
| 59 | + "args": [ |
| 60 | + "-y", |
| 61 | + "@toolbox-sdk/server@1.9.0", |
| 62 | + "--prebuilt", |
| 63 | + "cloud-sql-mssql", |
| 64 | + "--stdio" |
| 65 | + ], |
| 66 | + "env": { |
| 67 | + "CLOUD_SQL_MSSQL_PROJECT": "${user_config.cloud_sql_mssql_project}", |
| 68 | + "CLOUD_SQL_MSSQL_REGION": "${user_config.cloud_sql_mssql_region}", |
| 69 | + "CLOUD_SQL_MSSQL_INSTANCE": "${user_config.cloud_sql_mssql_instance}", |
| 70 | + "CLOUD_SQL_MSSQL_DATABASE": "${user_config.cloud_sql_mssql_database}", |
| 71 | + "CLOUD_SQL_MSSQL_USER": "${user_config.cloud_sql_mssql_user}", |
| 72 | + "CLOUD_SQL_MSSQL_PASSWORD": "${user_config.cloud_sql_mssql_password}", |
| 73 | + "CLOUD_SQL_MSSQL_IP_TYPE": "${user_config.cloud_sql_mssql_ip_type}" |
| 74 | + } |
| 75 | + } |
| 76 | + } |
13 | 77 | } |
0 commit comments