feat(utils): Add MCP tool forwarding compatibility tester - #16
Merged
morgnza merged 1 commit intoJul 17, 2026
Merged
Conversation
Adds utils/mcpforwardingtester, a Python CLI that validates MCP servers configured for tool forwarding on WorkSpaces Applications before an image build, reporting per-server PASS/WARN/FAIL. Also references it from the root README.
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.
Summary
Adds
utils/mcpforwardingtester, a small Python CLI that checks whether the MCP servers you configure for tool forwarding on WorkSpaces Applications will work, before you build a fleet image. It reproduces how the service launches and queries your servers and reports, per server, what passes and what to fix. This catches failures that otherwise only surface after a long image build: a server that lists no tools, a config saved with a BOM, ignoredenv/cwd, or atools/listthat exceeds the 5 second budget.What's added
utils/mcpforwardingtester/: the package, run aspy -m mcp_forwarding_tester(or themcp-forwarding-testcommand). Two modes:config(validate the deployed config, default path resolved automatically) andserver(test a single server ad hoc), with--jsonoutput for a build gate and a per-server PASS/WARN/FAIL report.mcpSDK).README.md: added the package to the project structure and a pointer from the tool forwarding section.Testing
OKverdict.pyflakesclean;scripts/ci_local.shpasses.Follow-up
A separate PR will align the existing "MCP redirection" naming across the repo to "MCP tool forwarding."