Repository navigation
Conversation
Adds an optional Model Context Protocol server (loopback only, bearer token) that lets MCP clients read logs, stats, stack and variables, evaluate expressions, run commands, control execution and manage breakpoints. Tool calls are shown live in a new MCP Activity section of the home panel.
…cation set_breakpoint now resolves relative paths against the debug session's localRoot, rejects missing files instead of leaving phantom breakpoints, and returns the adapter's verified flag and message. wait_for_event accepts sinceSeq to catch events emitted before the call.
…uffer resets Pause sends a DAP pause to the first thread instead of the workbench command, which is a no-op without a thread context. Stack traces default to the thread that stopped. Event cursors from before a window reload read from the start.
set_diagnostics_active toggles collectors through the existing set-diagnostics-active event, so get_stats no longer depends on the Live Diagnostics panel being open.
Replaces set_diagnostics_active with get_diagnostics_tabs and set_diagnostics_tab, which drive the panel's tab switches so the change is visible in VS Code.
debugger_request sends the requests behind the Live Diagnostics buttons, get_entities lists entities through the scripting API while the game runs, and evaluate no longer requires a pause. get_stats includes each stat's group and table rows, and get_logs moves its cursor to the head when the read is not truncated.
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.
Adds an optional local Model Context Protocol server, so MCP clients can inspect and control a Minecraft debug session.
minecraft-debugger.mcp.enabled). Listens only on127.0.0.1(minecraft-debugger.mcp.port, default19180) and requires a bearer token kept in VS Code secret storage.Minecraft Debugger: Copy MCP Server ConfigandMinecraft Debugger: Regenerate MCP Token.onStartupFinishedactivation event so the server is available before a debug session starts.@modelcontextprotocol/sdkandzodare bundled as devDependencies.skipLibCheckis enabled because the SDK's type declarations reference DOM types.