Package-level declarations
Types
Link copied to clipboard
class ChatCapture
Open chat-capture windows for
run_command target=client.Link copied to clipboard
class ClientCommandRunner
Runs a command AS THE PLAYER, for the
run_command tool's target=client — i.e.Link copied to clipboard
object CommandRunner
Runs a Minecraft command on the server thread and captures its chat feedback, for the run_command MCP tool. Vanilla mechanism throughout: a custom CommandSource collects the feedback the command would normally print, attached to a server-level (OP) CommandSourceStack, executed via Commands#performPrefixedCommand.
Link copied to clipboard
Link copied to clipboard
class McpServer
The single MCP endpoint the mod exposes: Streamable HTTP, bound to loopback, Bearer-token gated. Three tools: execute_code (runs Kotlin inside the running game via ReplBridge), run_command (runs a Minecraft command) and take_screenshot (the client's framebuffer, as an image).
Link copied to clipboard
Captures the game's framebuffer for the take_screenshot tool.