mcdk-mcp-game-testing-workflow

mcdk-mcp-game-testing-workflow is a skill for Claude Code, Codex from GitHub-Zero123/MCDevTool. It costs 0 tokens per session (2,041 once invoked), scanned A, original, BSD-3-Clause.

A workflow for testing Minecraft Bedrock Addons, Python 2 mods, interfaces, gameplay logic, and visual resources with MCDK-MCP. MCP is a way for an AI coding agent to call external testing tools.

In plain words
What is it for?
Creating or using development-only test entry points, running them through MCDK-MCP, checking returned results, and reviewing logs when needed. It also covers regression testing, resource effects, shaders, and cleanup of test state.
Why use it?
It favors repeatable test functions and structured results over relying only on screenshots or manual game interaction. That makes failures easier to reproduce and diagnose.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating or using development-only test entry points, running them through MCDK-MCP, checking returned results, and reviewing logs when needed. It also covers regression testing, resource effects, shaders, and cleanup of test state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/github-zero123/mcdevtool/mcdk-mcp-game-testing-workflow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GitHub-Zero123/MCDevTool --skill mcdk-mcp-game-testing-workflow
Clone the repo
git clone --depth 1 https://github.com/GitHub-Zero123/MCDevTool

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcdk-mcp-game-testing-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/github-zero123/mcdevtool/mcdk-mcp-game-testing-workflow/github.svg)](https://agentmods.dev/skills/github-zero123/mcdevtool/mcdk-mcp-game-testing-workflow)
Your own site
<a href="https://agentmods.dev/skills/github-zero123/mcdevtool/mcdk-mcp-game-testing-workflow"><img src="https://agentmods.dev/badge/skills/github-zero123/mcdevtool/mcdk-mcp-game-testing-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcdk-mcp-game-testing-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/github-zero123/mcdevtool/mcdk-mcp-game-testing-workflow"><img src="https://agentmods.dev/badge/skills/github-zero123/mcdevtool/mcdk-mcp-game-testing-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02041
Opus 5.5 $0.00000 $0.00816
Sonnet 5.5 $0.00000 $0.00408
Haiku 4.5 $0.00000 $0.00204

Measured 1mo ago against content hash 4464ca273339, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcdk-mcp-game-testing-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mcdk-mcp-game-testing-workflow/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP 游戏测试工作流 Skill

适用场景

当用户希望使用 MCDK-MCP 对网易 Minecraft 基岩版 Addon、Python2 Mod、UI、玩法逻辑或资源效果进行测试、回归验证、日志分析时,使用本 Skill。

本 Skill 的核心判断是:不要默认让通用 Agent 仅依赖纯 LLM、截图和点击完成复杂游戏测试。优先要求或创建代码内测试入口,再通过 MCP Tool 调用测试入口;高版本 execute_code 已支持直接返回被执行代码的 return 结果,应优先读取返回值完成判定,仅在返回值缺失、异常、与预期不符或需要排查副作用时再拉取日志。

工作原则

  1. 优先测试入口,不优先盲目操作游戏画面。
  2. 优先 execute_code 返回值、结构化状态、错误日志,不优先截图。
  3. 优先短链路、可复现测试函数,不优先长链路自由探索。
  4. 优先多轮统计,不把单次偶然结果当结论。
  5. 代码执行字符串应尽量短,只负责调用已存在的测试函数并返回结果。
  6. 优先维护项目内测试函数,让测试能力随项目长期演进,而不是只写一次性 MCP 临时代码。

标准流程

1. 识别项目与目标

  • 确认用户要验证的具体功能点。
  • 定位客户端 / 服务端 / UI / 资源 / Shader / 纯逻辑等测试类型。
  • 查找是否已有测试函数、诊断模块、debug 命令、稳定返回结构或稳定日志前缀。
  • 如果没有测试入口,优先建议或实现一个只在开发环境启用的测试入口。
  • 如果项目需要长期维护或后续回归,优先把测试函数保留在项目中,而不是仅通过一次性 MCP 代码片段完成验证。

2. 设计可维护测试入口

测试入口应满足:

  • 可由 MCP execute_code 调用;
  • 函数名、注释、docstring / 文档必须明确标注这是测试函数,例如 mcdk_test_*、debug_test_*、run_mcdk_self_test,避免被误认为正式业务入口;
  • 放在诊断、测试、debug、自检等独立模块中,并与正式逻辑隔离;
  • 仅在开发环境、调试配置或显式调用时启用,避免发布环境默认执行;
  • 初始化固定测试场景;
  • 触发一个明确目标行为;
  • 优先 return 结构化结果,包含 case、ok、duration_ms、stage、error、metrics 等字段;
  • 能在失败时返回可诊断信息;
  • 必要时输出 [MCDK_TEST] 前缀的结构化日志作为辅助诊断,而不是作为默认唯一结果来源;
  • 尽可能清理测试状态,避免污染后续用例。

推荐返回值示例:

return {"case": "case_name", "ok": True, "duration_ms": 12, "metrics": {"count": 1}}

可选日志示例:

[MCDK_TEST] {"case":"case_name","ok":true,"duration_ms":12,"metrics":{"count":1}}

3. 通过 MCP 执行

优先使用以下 Tool 顺序:

  1. get_latest_error_logs:读取错误日志基线,便于之后判断是否产生新异常;
  2. execute_code:执行客户端或服务端测试入口,并优先读取其直接返回的 return 结果;
  3. 解析 execute_code 返回值:如果返回结构完整且符合预期,可直接进入统计与结论;
  4. get_latest_error_logs:当返回值表示失败、执行异常、结果不符合预期,或需要确认是否有隐藏异常时使用;
  5. get_latest_logs 或 get_log_range:仅在返回值缺失、日志本身是测试目标、需要分析 [MCDK_TEST] 辅助日志,或发生预期外情况时使用;
  6. capture_game_window:仅在日志 / 返回值不足以判定视觉结果时使用;
  7. mc_input:仅在测试入口无法覆盖且用户明确需要交互时使用;先 /help 了解步骤与参数,必要时 /state 确认指针是否被游戏独占;一次调用用 /run 提交整串操作,其成功只代表输入已投递,仍需截图或日志确认结果;使用 leave_held 后必须以 /release-all 收尾;
  8. reload_game:仅在热更新或资源刷新不足时使用;资源级重载传入 reload_addons=true。

Read the full file on GitHub · 118 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 4464ca273339
  2. 2mo ago First seen · 118 lines · 0 tokens per session scan A a8b099583462

Subscribe to this mod's changes

mcdk-mcp-game-testing-workflow is a skill published in the GitHub repository GitHub-Zero123/MCDevTool (72 stars, last pushed 19d ago), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 2,041 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.