UPGRADING.md
Welcome to the v1.0.0 release of the MCP Toolbox for Databases!
This release stabilizes our core APIs and standardizes our protocol alignments. As part of this milestone, we have introduced several breaking changes and deprecations that require updates to your configuration and code.
📖 New Versioning Policy We have officially published our Versioning Policy. Moving forward, we follow standard versioning conventions to classify updates:
This guide outlines what has changed and the steps you need to take to upgrade.
The GitHub repository has been officially renamed to googleapis/mcp-toolbox. To update your local environment, run the following commands:
Rename your local directory: cd .. && mv genai-toolbox mcp-toolbox && cd mcp-toolbox
Update the remote URL: git remote set-url origin [email protected]:googleapis/mcp-toolbox.git
Verify the update: git remote -v
/api disabled by defaultThe legacy /api endpoint for the native Toolbox protocol is now disabled by default. All official SDKs have been updated to use the /mcp endpoint, which aligns with the standard Model Context Protocol (MCP) specification.
If you still require the legacy /api endpoint, you must explicitly activate it using a new command-line flag.
./toolbox --enable-api/mcp
endpoint exclusively, as the /api endpoint is now deprecated. If your workflowTool names are now strictly validated against ModelContextProtocol SEP986 guidelines prior to MCP initialization.
-), underscores (_), and periods (.). Any other special characters will cause initialization to fail.The legacy snake_case flag --tools_file has been completely removed.
--config instead.kind Values in Configuration(This step applies only if you are currently using the new flat format.)
All primitive kind fields in configuration files have been updated to use singular nouns instead of plural. For example, kind: sources is now kind: source, and kind: tools is now kind: tool.
kind
values. (Note: If you transitioned to the flat format using the ./toolbox migrate command, this step was handled automatically.)authSources renamedThe authSources field is no longer supported in configuration files.
authSources to authService in your
configuration files.ipAddress removedThe ipAddress field for the CloudSQL for SQL Server source was redundant and has been removed.
ipAddress field from your CloudSQL for SQL Server configurations.We have introduced a new, streamlined "flat" format for configuration files. While the older nested format is still supported for now, all new features will only be added to the flat format.
Schema Restructuring (kind vs. type):
Along with the flat format, the configuration schema has been reorganized. The
old kind field (which specified the specific primitive types, like
alloydb-postgres) has been renamed to type. The kind field is now strictly
used to declare the core primitive of the block (e.g., source or tool).
Example of the new flat format:
kind: source
name: my-source
type: alloydb-postgres
project: my-project
region: my-region
instance: my-instance
---
kind: tool
name: my-simple-tool
type: postgres-execute-sql
source: my-source
description: this is a tool that executes the sql provided.
Migration:
You can automatically migrate your existing nested configurations to the new flat format using the CLI. Run the following command:
./toolbox migrate --config <path-to-your-config>
Note: You can also use the --configs or --config-folder flags with this command.
The following CLI flags are deprecated and will be removed in a future release. Please update your scripts:
--tools-file ➡️ Use --config--tools-files ➡️ Use --configs--tools-folder ➡️ Use --config-folderEnhanced Error Handling: Errors are now strictly categorized between Agent Errors (allowing the LLM to self-correct) and Client/Server Errors (which signal a hard stop).
Telemetry Updates: The /mcp endpoint telemetry has been revised to fully comply with the OpenTelemetry semantic conventions for MCP.
MCP Authorization Support: The Model Context Protocol's authorization specification is now fully supported.
Database Name Validation: Removed the "required field" validation for the database name in CloudSQL for MySQL and generic MySQL sources.
Prebuilt Tools: Toolsets have been resized for better performance.
Our official documentation has a new home! Please update your bookmarks to mcp-toolbox.dev.