MCFunction Debug Toolkit MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCFunction Debug Toolkit MCP Servervalidate the command /give @a diamond"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCFunction Debug Toolkit
English | 简体中文
A Fabric debugging mod for Minecraft Java commands, functions, and datapacks.
Add #! lines to .mcfunction files to inspect the real execution context,
scoreboards, and NBT. The optional MCP bridge also lets AI agents run commands,
read output, operate the game, and inspect screenshots.
Development preview for Minecraft Java
26.2.
Replace a verbose state dump with:
#! player: \{
#! name: {@s},
#! health: {entity @s Health: .1f},
#! position: [{position:.2f}],
#! inventory: [{storage demo:showcase inventory[]: {}, ...}],
#! stats: \{kills: {@s kills}, deaths: {@s deaths}\}
#! \}It immediately becomes this in chat:

Example
# Current execution context
#! [{fname}] {@s} is at {position:.2f}, facing {rotation:.1f}
#! selected targets={@e[tag=target]}
#! dimension={dimension} anchor={anchor} stack={fstack}
# Single scoreboard values
#! own score={@s points}
#! global fake player={#total stats}
# Dynamically list every selected score
#! all scores={@e[tag=test] points: {"{display_name} [{holder}]={score:04d}"}, ...}
# Read a unit vector from Storage
#! direction={storage demo:debug direction[]: {value:.4f}, ...}
# Read entity UUID and health
#! own UUID={entity @s UUID}
#! own health={entity @s Health}
#! nearest target={entity @e[tag=target,sort=nearest,limit=1] UUID}
#! nearest target health={entity @e[tag=target,sort=nearest,limit=1] Health}
# Block-entity NBT
#! chest items={block ~ ~ ~ Items[]: {}, ...}
# Group values in pairs; /no_strip keeps unused template text
#! groups={storage demo:debug values[]: {}, {}, ... /no_strip}
# Consecutive #! lines join while braces remain open
# The inner ... repeats per coordinate and the outer ... per entity
#! player positions={
#! entity @a Pos[]: {{entity}: {}, ...}\n ...
#! }
# Literal braces and newline
#! raw=\{{storage demo:debug values[]: {}, ...}\}\nanchor={anchor}When the function runs, the result is sent to every player as a native
Minecraft text component. Invalid #! lines produce reload warnings and are
skipped without breaking other commands. Runtime failures show a short message
and retain the complete diagnostic.
Without MCP, this is a human-facing debugging mod. With MCP, an AI can also validate and execute commands, incrementally read chat and debug events, control movement and GUIs, and capture JPEG screenshots.
Run demo:setup and read the new #! output. If it has no errors, walk forward
for half a second, right-click, then take a screenshot and explain what changed.Related MCP server: mc-mcp-server
Documentation
Safety
Use disposable worlds for automation and keep backups.
Keep bridge ports on
127.0.0.1.Treat the bearer token like privileged command access.
allow_dangerousis a mistake-prevention guard, not a security sandbox.Never automatically retry
timeout_unknown_outcome; the command may have run.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Generate AI images and videos from any compatible MCP client.
Generate game-ready 3D models, textures, and audio from natural language, over MCP.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Related MCP Servers
- AlicenseCqualityDmaintenanceAllows AI assistants to connect to and control Minecraft players on remote servers, enabling navigation, building, mining, inventory management, entity interaction, and chat communication through natural language commands.272413MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI-driven interactions with Minecraft through a WebSocket-based server and MCP protocol, allowing external MCP clients and in-game chat to trigger AI tools.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to remotely control a Minecraft player, including navigation, mining, building, and interaction with the world and other players.MIT
- FlicenseNot gradedqualityBmaintenanceEnables natural language control of a Minecraft bot, allowing it to execute tasks like mining, exploring, and item management via AI-powered commands.2-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ethanout/mcfunction-debug-toolkit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server