feat: add E2E testing bridge with 25 new MCP tools#72
Open
sjennings wants to merge 2 commits intoCoding-Solo:mainfrom
Open
feat: add E2E testing bridge with 25 new MCP tools#72sjennings wants to merge 2 commits intoCoding-Solo:mainfrom
sjennings wants to merge 2 commits intoCoding-Solo:mainfrom
Conversation
added 2 commits
February 10, 2026 15:51
WebSocket-based bridge connecting MCP server to running Godot games via TestBridge.gd autoload. Adds input simulation, scene tree inspection, game state queries, wait/polling, visual verification, and test orchestration tools. Safety-gated unsafe operations behind --unsafe flag.
Document the 25 new E2E testing tools including architecture overview, tool reference table, safety model, and example prompts.
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
_process()loopNew files
src/bridge.ts— WebSocket client + JSON-RPC transportsrc/e2e-tools.ts— 25 tool schemas and handlerssrc/scripts/test_bridge.gd— Godot autoload WebSocket servertest/fixtures/test-project/— Test fixture projectModified files
src/index.ts— Wires BridgeClient and E2E tools into GodotServerpackage.json— Addswsdependencyscripts/build.js— Copies test_bridge.gd to build outputCLAUDE.md/README.md— Updated documentationSafety model
evaluate_expression,wait_for_condition, and dangerous methods incall_methodrequire--unsafeflag..,/)find_nodesresults capped at 1000..traversalTool categories
connect_to_game,disconnect_from_game,get_bridge_statusinstall_test_bridge,run_project_with_bridgeget_tree,find_nodes,get_node_properties,set_node_property,call_methodget_singleton,evaluate_expression,get_performance_metricssend_key,send_mouse_click,send_mouse_drag,send_textwait_for_signal,wait_for_condition,wait_for_node,wait_for_propertytake_screenshot,get_viewport_inforeset_scene,load_sceneTest plan
npm run buildcompiles without errorsnpm run inspectorlaunches and shows all 40 toolsinstall_test_bridgeregisters autoload in project.godotrun_project_with_bridgelaunches game and auto-connectstake_screenshotreturns valid base64 PNG--unsafeflag