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
16 changes: 9 additions & 7 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,20 @@
pinDigests: true,
},
{
matchPackageNames: ['googleapis/mcp-toolbox'],
'semanticCommitType': 'feat'
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 extension's MCP command.
customType: "regex",
managerFilePatterns: ["/toolbox_version\\.txt$/"],
matchStrings: ["(?<currentValue>[\\d\\.]+)"],
datasourceTemplate: "github-releases",
packageNameTemplate: "googleapis/mcp-toolbox",
extractVersionTemplate: "^v(?<version>.*)$",
managerFilePatterns: ["/gemini-extension\\.json$/"],
matchStrings: ["@toolbox-sdk/server@(?<currentValue>[\\d\\.]+)"],
datasourceTemplate: "npm",
depNameTemplate: "@toolbox-sdk/server",
}
]
}
7 changes: 5 additions & 2 deletions .github/workflows/mirror-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@
name: Mirror Toolbox Changelog

on:
pull_request_target:
pull_request:
types: [opened, edited]

jobs:
add-release-notes:
if: github.actor == 'renovate-bot' && startsWith(github.head_ref, 'renovate/googleapis-mcp-toolbox')
# Renovate groups the npm toolbox update under groupName 'toolbox' (see
# renovate.json5), so its branch is renovate/toolbox. Release notes still come
# from googleapis/mcp-toolbox (same source repo), so the markers below are unchanged.
if: github.actor == 'renovate-bot' && startsWith(github.head_ref, 'renovate/toolbox')
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down
140 changes: 0 additions & 140 deletions .github/workflows/package-and-upload-assets.yml
Comment thread
helloeve marked this conversation as resolved.

This file was deleted.

10 changes: 3 additions & 7 deletions .github/workflows/presubmit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,15 @@ on:
jobs:
run-presubmit-tests:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- 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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,5 @@ Use `gemini --debug` to enable debugging.
Common issues:

* "✖ 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/postgres/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://mcp-toolbox.dev/documentation/introduction/#install-toolbox) for more information.
* "✖ MCP ERROR: Error: spawn npx ENOENT": Node.js/`npx` is not installed or not on your `PATH`. Install Node.js (which provides `npx`).
* "npm error"/network failures on first run: `npx` fetches `@toolbox-sdk/server` on first launch, so it needs network access. Retry once connectivity is available.
4 changes: 3 additions & 1 deletion gemini-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"description": "Connect and interact with a PostgreSQL database and data",
"mcpServers": {
"postgresql": {
"command": "${extensionPath}${/}toolbox",
"command": "npx",
"args": [
"-y",
"@toolbox-sdk/server@1.8.0",
"--prebuilt",
"postgres",
"--stdio"
Expand Down
1 change: 0 additions & 1 deletion toolbox_version.txt

This file was deleted.

Loading