Merged
Conversation
* refactor: move transport logic to a ToolboxTransport class * rename file * update license * basic lint * lint * log errors properly * fix error handling * add test cov * lint * add new version * add e2e tests for mcp * update license * basic lint * update license * fix tests * add tests * keep toolbox protocol to be default * add test cov * add test cov * lint * rename e2e test file * lint * fix tests * fix license * fix tests * small refactor * lint * fix e2e tests * fix unit tests * lint * lint * add more tests * lint * fix tests * fix error handling * fix e2e tests * add mcp tests to jest config * use package version * Revert "use package version" This reverts commit 9f13278. * use dynamic versions * lint * better way to use dynamic versions
* fix versioning * cc * remove version from adk
* refactor: move transport logic to a ToolboxTransport class * rename file * update license * basic lint * lint * log errors properly * fix error handling * add test cov * lint * add new version * add e2e tests for mcp * update license * basic lint * update license * fix tests * add tests * keep toolbox protocol to be default * add test cov * add test cov * lint * rename e2e test file * lint * fix tests * fix license * fix tests * small refactor * lint * fix e2e tests * fix unit tests * lint * lint * add more tests * lint * fix tests * fix error handling * fix e2e tests * add new version * cc * add mcp tests to jest config * use package version * Revert "use package version" This reverts commit 9f13278. * use dynamic versions * update version * fix merge issues
* refactor: move transport logic to a ToolboxTransport class * rename file * update license * basic lint * lint * log errors properly * fix error handling * add test cov * lint * add new version * add e2e tests for mcp * update license * basic lint * update license * fix tests * add tests * keep toolbox protocol to be default * add test cov * add test cov * lint * rename e2e test file * lint * fix tests * fix license * fix tests * small refactor * lint * fix e2e tests * fix unit tests * lint * lint * add more tests * lint * fix tests * fix error handling * fix e2e tests * add new version * cc * add mcp tests to jest config * use package version * Revert "use package version" This reverts commit 9f13278. * use dynamic versions * update version * fix merge issues * feat: add MCP v20250618 (#191) * feat: add MCP v20250618 * fix version issue * lint
* refactor: move transport logic to a ToolboxTransport class * rename file * update license * basic lint * lint * log errors properly * fix error handling * add test cov * lint * add new version * add e2e tests for mcp * update license * basic lint * update license * fix tests * add tests * keep toolbox protocol to be default * add test cov * add test cov * lint * rename e2e test file * lint * fix tests * fix license * fix tests * small refactor * lint * fix e2e tests * fix unit tests * lint * lint * add more tests * lint * fix tests * fix error handling * fix e2e tests * add new version * cc * feat: add MCP v20250618 * feat: make mcp the default protocol * allow protocol passing into toolbox-adk * run e2e test with toolbox protocol * expose protocol from adk package * add mcp tests to jest config * use package version * Revert "use package version" This reverts commit 9f13278. * use dynamic versions * update version * fix merge issues * fix version issue
* fix(mcp): correctly propagate client headers during init * fix packaging conflicts
* docs(mcp): add transport protocol info * Update README.md * update toc
anubhav756
approved these changes
Jan 14, 2026
Merged
This was referenced Jan 29, 2026
This was referenced Jan 29, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for the Model Context Protocol (MCP) as a primary communication protocol within the SDK. This is a significant update that refactors the underlying transport logic and transitions the default protocol from the legacy "Toolbox" protocol to MCP.
Summary
The core focus of this PR is to integrate MCP support while maintaining flexibility for existing implementations. It moves transport-specific logic into a dedicated
ToolboxTransportclass and adds support for multiple MCP versions (v20241105,v20250326andv20250618).Key Changes
Protocol Support: * Implemented MCP support with specific versions:
2024-11-05,2025-03-26and2025-06-18.Made MCP the default protocol for the SDK (Breaking Change).
Architecture Refactoring:
Exposed protocol selection within the
adkpackage, allowing users to explicitly pass a protocol if needed.Client Initialization:
Fixed an issue where client headers were not correctly propagated during the initialization phase in MCP mode.
Breaking Changes⚠️
Testing
mcp.e2e.test.ts).