diff --git a/.github/renovate.json5 b/.github/renovate.json5 index f69f79b..0533093 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -21,7 +21,7 @@ pinDigests: true, }, { - matchPackageNames: ['googleapis/genai-toolbox'], + matchPackageNames: ['googleapis/mcp-toolbox'], 'semanticCommitType': 'feat' } ], @@ -31,7 +31,7 @@ managerFilePatterns: ["/toolbox_version\\.txt$/"], matchStrings: ["(?[\\d\\.]+)"], datasourceTemplate: "github-releases", - packageNameTemplate: "googleapis/genai-toolbox", + packageNameTemplate: "googleapis/mcp-toolbox", extractVersionTemplate: "^v(?.*)$", } ] diff --git a/.github/workflows/mirror-changelog.yml b/.github/workflows/mirror-changelog.yml index 525207d..f1867b6 100644 --- a/.github/workflows/mirror-changelog.yml +++ b/.github/workflows/mirror-changelog.yml @@ -20,7 +20,7 @@ on: jobs: add-release-notes: - if: github.actor == 'renovate-bot' && startsWith(github.head_ref, 'renovate/googleapis-genai-toolbox') + if: github.actor == 'renovate-bot' && startsWith(github.head_ref, 'renovate/googleapis-mcp-toolbox') runs-on: ubuntu-latest permissions: pull-requests: write @@ -38,7 +38,7 @@ jobs: const prBody = context.payload.pull_request.body || ''; // Extract the relevant changelog section - const startMarker = 'googleapis/genai-toolbox'; + const startMarker = 'googleapis/mcp-toolbox'; const endMarker = ''; const startIndex = prBody.indexOf(startMarker); const endIndex = prBody.indexOf(endMarker, startIndex); @@ -98,8 +98,8 @@ jobs: // To prevent this, we insert an invisible Unicode zero-width space (`\u200B`) // between the '#' and the number in the link text. This breaks the parser's // pattern matching without changing the visual appearance of the link. - // E.g., "[#1770](...)" becomes "[genai-toolbox#​1770](...)" - originalContent = originalContent.replace(/\[#(\d+)\](\([^)]+\))/g, '[genai-toolbox#\u200B$1]$2'); + // E.g., "[#1770](...)" becomes "[mcp-toolbox#​1770](...)" + originalContent = originalContent.replace(/\[#(\d+)\](\([^)]+\))/g, '[mcp-toolbox#\u200B$1]$2'); const lineAsLowerCase = originalContent.toLowerCase(); diff --git a/.github/workflows/package-and-upload-assets.yml b/.github/workflows/package-and-upload-assets.yml index 3fe811c..06ac8b2 100644 --- a/.github/workflows/package-and-upload-assets.yml +++ b/.github/workflows/package-and-upload-assets.yml @@ -18,7 +18,7 @@ name: Package and Upload Release Assets env: PACKAGE_NAME: "cloud-sql-mysql" FILES_TO_PACKAGE: "gemini-extension.json CLOUD-SQL-MYSQL.md LICENSE" - GCS_BUCKET_URL: "https://storage.googleapis.com/genai-toolbox/geminicli" + GCS_BUCKET_URL: "https://storage.googleapis.com/mcp-toolbox-for-databases/geminicli" on: release: diff --git a/.github/workflows/presubmit-tests.yml b/.github/workflows/presubmit-tests.yml index d3743d8..f492e49 100644 --- a/.github/workflows/presubmit-tests.yml +++ b/.github/workflows/presubmit-tests.yml @@ -30,7 +30,7 @@ jobs: - name: Install toolbox binary run: | VERSION=$(cat toolbox_version.txt) - curl -L -o toolbox "https://storage.googleapis.com/genai-toolbox/v${VERSION}/linux/amd64/toolbox" + curl -L -o toolbox "https://storage.googleapis.com/mcp-toolbox-for-databases/v${VERSION}/linux/amd64/toolbox" chmod +x toolbox - name: Install Extension diff --git a/CHANGELOG.md b/CHANGELOG.md index bade0e9..ddf3c4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,43 +13,43 @@ ### Features * add Configuration settings ([#83](https://github.com/gemini-cli-extensions/cloud-sql-mysql/issues/83)) ([36d4433](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/36d443385c94d188f16d33e36a156cb7a0215b23)) -* **deps:** update dependency googleapis/genai-toolbox to v0.26.0 ([#84](https://github.com/gemini-cli-extensions/cloud-sql-mysql/issues/84)) ([306aaa9](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/306aaa9c39c0834528efd3728ee6f3056ef6ea5d)) +* **deps:** update dependency googleapis/mcp-toolbox to v0.26.0 ([#84](https://github.com/gemini-cli-extensions/cloud-sql-mysql/issues/84)) ([306aaa9](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/306aaa9c39c0834528efd3728ee6f3056ef6ea5d)) ## [0.1.7](https://github.com/gemini-cli-extensions/cloud-sql-mysql/compare/0.1.6...0.1.7) (2026-01-09) ### Features -* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use IAM ([genai-toolbox#​2202](https://redirect.github.com/googleapis/genai-toolbox/issues/2202)) ([731a32e](https://redirect.github.com/googleapis/genai-toolbox/commit/731a32e5360b4d6862d81fcb27d7127c655679a8)) ([186293e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/186293e1fcbe9bc576aeb360227e638c1df6d57a)) -* **source/cloudsqlmysql:** Add support for IAM authentication in Cloud SQL MySQL source ([genai-toolbox#​2050](https://redirect.github.com/googleapis/genai-toolbox/issues/2050)) ([af3d3c5](https://redirect.github.com/googleapis/genai-toolbox/commit/af3d3c52044bea17781b89ce4ab71ff0f874ac20)) ([186293e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/186293e1fcbe9bc576aeb360227e638c1df6d57a)) -* **tools/mysql-get-query-plan:** Add new `mysql-get-query-plan` tool for MySQL source ([genai-toolbox#​2123](https://redirect.github.com/googleapis/genai-toolbox/issues/2123)) ([0641da0](https://redirect.github.com/googleapis/genai-toolbox/commit/0641da0353857317113b2169e547ca69603ddfde)) ([186293e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/186293e1fcbe9bc576aeb360227e638c1df6d57a)) +* **prebuilt/cloud-sql-mysql:** Update CSQL MySQL prebuilt tools to use IAM ([mcp-toolbox#​2202](https://redirect.github.com/googleapis/mcp-toolbox/issues/2202)) ([731a32e](https://redirect.github.com/googleapis/mcp-toolbox/commit/731a32e5360b4d6862d81fcb27d7127c655679a8)) ([186293e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/186293e1fcbe9bc576aeb360227e638c1df6d57a)) +* **source/cloudsqlmysql:** Add support for IAM authentication in Cloud SQL MySQL source ([mcp-toolbox#​2050](https://redirect.github.com/googleapis/mcp-toolbox/issues/2050)) ([af3d3c5](https://redirect.github.com/googleapis/mcp-toolbox/commit/af3d3c52044bea17781b89ce4ab71ff0f874ac20)) ([186293e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/186293e1fcbe9bc576aeb360227e638c1df6d57a)) +* **tools/mysql-get-query-plan:** Add new `mysql-get-query-plan` tool for MySQL source ([mcp-toolbox#​2123](https://redirect.github.com/googleapis/mcp-toolbox/issues/2123)) ([0641da0](https://redirect.github.com/googleapis/mcp-toolbox/commit/0641da0353857317113b2169e547ca69603ddfde)) ([186293e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/186293e1fcbe9bc576aeb360227e638c1df6d57a)) ### Bug Fixes -* List tables tools null fix ([genai-toolbox#​2107](https://redirect.github.com/googleapis/genai-toolbox/issues/2107)) ([2b45266](https://redirect.github.com/googleapis/genai-toolbox/commit/2b452665983154041d4cd0ed7d82532e4af682eb)) ([186293e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/186293e1fcbe9bc576aeb360227e638c1df6d57a)) +* List tables tools null fix ([mcp-toolbox#​2107](https://redirect.github.com/googleapis/mcp-toolbox/issues/2107)) ([2b45266](https://redirect.github.com/googleapis/mcp-toolbox/commit/2b452665983154041d4cd0ed7d82532e4af682eb)) ([186293e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/186293e1fcbe9bc576aeb360227e638c1df6d57a)) ## [0.1.6](https://github.com/gemini-cli-extensions/cloud-sql-mysql/compare/0.1.5...0.1.6) (2025-12-08) ### Features -* **prebuilt/cloud-sql:** Add clone instance tool for cloud sql ([genai-toolbox#​1845](https://redirect.github.com/googleapis/genai-toolbox/issues/1845)) ([5e43630](https://redirect.github.com/googleapis/genai-toolbox/commit/5e43630907aa2d7bc6818142483a33272eab060b)) ([438f03e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/438f03e135d5e76e7d58e2a0a560d4fbd1cacdac)) +* **prebuilt/cloud-sql:** Add clone instance tool for cloud sql ([mcp-toolbox#​1845](https://redirect.github.com/googleapis/mcp-toolbox/issues/1845)) ([5e43630](https://redirect.github.com/googleapis/mcp-toolbox/commit/5e43630907aa2d7bc6818142483a33272eab060b)) ([438f03e](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/438f03e135d5e76e7d58e2a0a560d4fbd1cacdac)) ## [0.1.5](https://github.com/gemini-cli-extensions/cloud-sql-mysql/compare/0.1.4...0.1.5) (2025-11-18) ### Features -* **source/alloydb, source/cloud-sql-postgres,source/cloud-sql-mysql,source/cloud-sql-mssql:** Use project from env for alloydb and cloud sql control plane tools ([genai-toolbox#​1588](https://redirect.github.com/googleapis/genai-toolbox/issues/1588)) ([12bdd95](https://redirect.github.com/googleapis/genai-toolbox/commit/12bdd954597e49d3ec6b247cc104584c5a4d1943)) ([7f085eb](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/7f085eb47d12a8049318dd0ed28990ba293967a0)) -* Added prompt support for toolbox ([genai-toolbox#​1798](https://redirect.github.com/googleapis/genai-toolbox/issues/1798)) ([cd56ea4](https://redirect.github.com/googleapis/genai-toolbox/commit/cd56ea44fbdd149fcb92324e70ee36ac747635db)) ([7f085eb](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/7f085eb47d12a8049318dd0ed28990ba293967a0)) +* **source/alloydb, source/cloud-sql-postgres,source/cloud-sql-mysql,source/cloud-sql-mssql:** Use project from env for alloydb and cloud sql control plane tools ([mcp-toolbox#​1588](https://redirect.github.com/googleapis/mcp-toolbox/issues/1588)) ([12bdd95](https://redirect.github.com/googleapis/mcp-toolbox/commit/12bdd954597e49d3ec6b247cc104584c5a4d1943)) ([7f085eb](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/7f085eb47d12a8049318dd0ed28990ba293967a0)) +* Added prompt support for toolbox ([mcp-toolbox#​1798](https://redirect.github.com/googleapis/mcp-toolbox/issues/1798)) ([cd56ea4](https://redirect.github.com/googleapis/mcp-toolbox/commit/cd56ea44fbdd149fcb92324e70ee36ac747635db)) ([7f085eb](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/7f085eb47d12a8049318dd0ed28990ba293967a0)) ## [0.1.4](https://github.com/gemini-cli-extensions/cloud-sql-mysql/compare/0.1.3...0.1.4) (2025-10-27) ### Bug Fixes -* **sources/mysql:** Escape mysql user agent ([#1707](https://redirect.github.com/googleapis/genai-toolbox/issues/1707)) ([eeb694c](https://redirect.github.com/googleapis/genai-toolbox/commit/eeb694c20facc40a38bfa67073c4cb1f3dd657ff)) ([05248f0](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/05248f0c43238ed98d7fa66031320624e86df9aa)) -* **sources/mysql:** Escape program\_name for MySQL ([#1717](https://redirect.github.com/googleapis/genai-toolbox/issues/1717)) ([02f7f8a](https://redirect.github.com/googleapis/genai-toolbox/commit/02f7f8af979057efe99fd138cb1b958130355b68)) ([05248f0](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/05248f0c43238ed98d7fa66031320624e86df9aa)) +* **sources/mysql:** Escape mysql user agent ([#1707](https://redirect.github.com/googleapis/mcp-toolbox/issues/1707)) ([eeb694c](https://redirect.github.com/googleapis/mcp-toolbox/commit/eeb694c20facc40a38bfa67073c4cb1f3dd657ff)) ([05248f0](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/05248f0c43238ed98d7fa66031320624e86df9aa)) +* **sources/mysql:** Escape program\_name for MySQL ([#1717](https://redirect.github.com/googleapis/mcp-toolbox/issues/1717)) ([02f7f8a](https://redirect.github.com/googleapis/mcp-toolbox/commit/02f7f8af979057efe99fd138cb1b958130355b68)) ([05248f0](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/05248f0c43238ed98d7fa66031320624e86df9aa)) ## [0.1.3](https://github.com/gemini-cli-extensions/cloud-sql-mysql/compare/0.1.2...0.1.3) (2025-10-17) @@ -64,7 +64,7 @@ ### Features * add full table name to context file ([#34](https://github.com/gemini-cli-extensions/cloud-sql-mysql/issues/34)) ([2e5337a](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/2e5337ab1aa1991104772fa6ecce94c3fc3931cb)) -* **deps:** update dependency googleapis/genai-toolbox to v0.17.0 ([#43](https://github.com/gemini-cli-extensions/cloud-sql-mysql/issues/43)) ([382f390](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/382f390d75b0f97905e4dd03eb01561491d7bea9)) +* **deps:** update dependency googleapis/mcp-toolbox to v0.17.0 ([#43](https://github.com/gemini-cli-extensions/cloud-sql-mysql/issues/43)) ([382f390](https://github.com/gemini-cli-extensions/cloud-sql-mysql/commit/382f390d75b0f97905e4dd03eb01561491d7bea9)) ## [0.1.1](https://github.com/gemini-cli-extensions/cloud-sql-mysql/compare/0.1.0...0.1.1) (2025-09-30) diff --git a/DEVELOPER.md b/DEVELOPER.md index 26ec247..801dc20 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -33,7 +33,7 @@ The core logic for this extension is handled by a pre-built `toolbox` binary. Th VERSION=$(cat toolbox_version.txt) # Example for macOS/amd64 - curl -L -o toolbox https://storage.googleapis.com/genai-toolbox/geminicli/v$VERSION/darwin/amd64/toolbox + curl -L -o toolbox https://storage.googleapis.com/mcp-toolbox-for-databases/geminicli/v$VERSION/darwin/amd64/toolbox chmod +x toolbox ``` Adjust the URL for your operating system (`linux/amd64`, `darwin/arm64`, `windows/amd64`). diff --git a/README.md b/README.md index 06930bc..bc0b021 100644 --- a/README.md +++ b/README.md @@ -154,4 +154,4 @@ Common issues: * "failed to find default credentials: google: could not find default credentials.": Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment. See [Set up Application Default Credentials](https://cloud.google.com/docs/authentication/external/set-up-adc) for more information. * "✖ 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. * "✖ MCP ERROR: Error: spawn /Users/USER/.gemini/extensions/cloud-sql-mysql/toolbox ENOENT": The Toolbox binary did not download correctly. Ensure you are using Gemini CLI v0.6.0+. -* "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. +* "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://mcp-toolbox.dev/documentation/introduction/#install-toolbox) for more information.