feat: add capture_screenshot tool#78
Open
vrecluse wants to merge 2 commits into
Open
Conversation
Author
|
@Coding-Solo I just resolved the merge conflicts and pushed the updated branch. This feature is genuinely important for the Godot MCP workflow because screenshot capture closes a major gap in the agent feedback loop: without it, tools can only rely on logs, while with it they can inspect the actual running viewport for visual debugging and iteration. Local verification is still good after the update ( |
swcreative2026
pushed a commit
to swcreative2026/godot-mcp
that referenced
this pull request
Apr 9, 2026
Ports PR Coding-Solo#78 from Coding-Solo/godot-mcp, adding a capture_screenshot MCP tool that grabs the active Godot viewport via an in-project wrapper scene, without relying on OS-level screen capture APIs. Includes a regression test that verifies the tool is exposed. https://claude.ai/code/session_013YAEzr26mGVNjKPxv8De7p
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
capture_screenshotMCP tool ported onto currentmainContext
This replaces the stale implementation in #51 with a conflict-resolved branch based on current
main.Test Plan
npm run buildnpm testcapture_screenshotreturns a PNG payload