Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 66 additions & 2 deletions .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,71 @@
"email": "data-cloud-ai-integrations@google.com"
},
"homepage": "https://cloud.google.com/sql/docs/sqlserver",
"license": "Apache-2.0",
"repository": "https://github.com/gemini-cli-extensions/cloud-sql-sqlserver",
"skills": "./skills/"
"license": "Apache-2.0",
"userConfig": {
"cloud_sql_mssql_project": {
"title": "Project Name",
"description": "Name of the Google Cloud project",
"type": "string",
"sensitive": false
},
"cloud_sql_mssql_region": {
"title": "Region",
"description": "Region of the Cloud SQL instance",
"type": "string",
"sensitive": false
},
"cloud_sql_mssql_instance": {
"title": "Instance ID",
"description": "ID of the Cloud SQL instance",
"type": "string",
"sensitive": false
},
"cloud_sql_mssql_database": {
"title": "Database",
"description": "Name of the database",
"type": "string",
"sensitive": false
},
"cloud_sql_mssql_user": {
"title": "User",
"description": "Username of the database user",
"type": "string",
"sensitive": false
},
"cloud_sql_mssql_password": {
"title": "Password",
"description": "Password of the database user",
"type": "string",
"sensitive": false
},
"cloud_sql_mssql_ip_type": {
"title": "Instance IP assignment",
"description": "(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)",
"type": "string",
"sensitive": false
}
},
"mcpServers": {
"cloud-sql-mssql": {
"command": "npx",
"args": [
"-y",
"@toolbox-sdk/server@1.9.0",
"--prebuilt",
"cloud-sql-mssql",
"--stdio"
],
"env": {
"CLOUD_SQL_MSSQL_PROJECT": "${user_config.cloud_sql_mssql_project}",
"CLOUD_SQL_MSSQL_REGION": "${user_config.cloud_sql_mssql_region}",
"CLOUD_SQL_MSSQL_INSTANCE": "${user_config.cloud_sql_mssql_instance}",
"CLOUD_SQL_MSSQL_DATABASE": "${user_config.cloud_sql_mssql_database}",
"CLOUD_SQL_MSSQL_USER": "${user_config.cloud_sql_mssql_user}",
"CLOUD_SQL_MSSQL_PASSWORD": "${user_config.cloud_sql_mssql_password}",
"CLOUD_SQL_MSSQL_IP_TYPE": "${user_config.cloud_sql_mssql_ip_type}"
}
}
}
}
23 changes: 23 additions & 0 deletions .codex-plugin/.mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"mcpServers": {
"cloud-sql-mssql": {
"command": "npx",
"args": [
"-y",
"@toolbox-sdk/server@1.9.0",
"--prebuilt",
"cloud-sql-mssql",
"--stdio"
],
"env_vars": [
"CLOUD_SQL_MSSQL_PROJECT",
"CLOUD_SQL_MSSQL_REGION",
"CLOUD_SQL_MSSQL_INSTANCE",
"CLOUD_SQL_MSSQL_DATABASE",
"CLOUD_SQL_MSSQL_USER",
"CLOUD_SQL_MSSQL_PASSWORD",
"CLOUD_SQL_MSSQL_IP_TYPE"
]
}
}
}
6 changes: 3 additions & 3 deletions .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"sql-server",
"database"
],
"skills": "./skills/",
"interface": {
"displayName": "Cloud SQL for SQL Server",
"shortDescription": "Interact with CloudSQL for SQL Server instances.",
Expand All @@ -27,5 +26,6 @@
"defaultPrompt": [
"You are a highly skilled database engineer and database administrator. Your purpose is to help the developer build and interact with databases and utilize data context throughout the entire software delivery cycle."
]
}
}
},
"mcpServers": "./.codex-plugin/.mcp.json"
}
22 changes: 16 additions & 6 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,28 @@
pinDigests: true,
},
{
matchPackageNames: ['googleapis/mcp-toolbox'],
matchPackageNames: ['@toolbox-sdk/server'],
// Group the toolbox update under a stable branch name (renovate/toolbox).
groupName: 'toolbox',
'semanticCommitType': 'feat'
}
],
customManagers: [
{
// Track the npm toolbox server pinned in the MCP command. The version is
// listed in the source (mcp.json) and repeated in every generated
// manifest, so all of them are bumped in one PR.
customType: "regex",
managerFilePatterns: ["/toolbox_version\\.txt$/"],
matchStrings: ["(?<currentValue>[\\d\\.]+)"],
datasourceTemplate: "github-releases",
packageNameTemplate: "googleapis/mcp-toolbox",
extractVersionTemplate: "^v(?<version>.*)$",
managerFilePatterns: [
"/mcp\.json$/",
"/mcp_config\.json$/",
"/gemini-extension\.json$/",
"/\.claude-plugin/plugin\.json$/",
"/\.codex-plugin/\.mcp\.json$/",
],
matchStrings: ["@toolbox-sdk/server@(?<currentValue>[\d\.]+)"],
datasourceTemplate: "npm",
depNameTemplate: "@toolbox-sdk/server",
}
]
}
9 changes: 3 additions & 6 deletions .github/workflows/presubmit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,19 @@
pull_request:
branches: [ main ]

permissions:
contents: read

jobs:
run-presubmit-tests:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

Check warning on line 28 in .github/workflows/presubmit-tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

presubmit-tests.yml:28: action's hash pin has mismatched or missing version comment: points to commit d23441a48e51

- name: Install Gemini CLI
run: npm install @google/gemini-cli

- name: Install toolbox binary
run: |
VERSION=$(cat toolbox_version.txt)
curl -L -o toolbox "https://storage.googleapis.com/mcp-toolbox-for-databases/v${VERSION}/linux/amd64/toolbox"
chmod +x toolbox

- name: Install Extension
run: npx gemini extensions validate .
env:
Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/skills-validate-fallback.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/skills-validate.yml

This file was deleted.

Loading
Loading