mcp-tool-contracts
Canonical, single-source-of-truth mapping of "what I want to do via UEFN's MCP server" to "the exact tool that actually works for it in this kit's setup"…
by mimmo-the-root★ 27 GitHub stars
Install mcp-tool-contracts in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
MCP tool contracts
Every agent that talks to UEFN's MCP server needs to do the same handful of things (verify which project is open, list real project content, and so on). This file is the ONE place that says which tool actually does each of those things in this kit's setup — every agent file references this file by name instead of restating the instruction in its own prose.
Why this file exists: a v1.67 incident traced back to the exact same generic instruction
("list a couple of files through the MCP tools") appearing, worded slightly differently, in three
separate agent files (coder.md, qa-regression.md, project-bootstrap.md). coder picked
AssetTools.find_assets on /Game — the intuitive-sounding choice — which silently returns
nothing useful for this kit's custom project content even with the right project open, and reads
exactly like "the wrong project is open in UEFN," sending debugging in the wrong direction. Fixing
the wording in all three files at once worked, but it relied on remembering to touch all three
every time this file's contents change. A single referenced file can't diverge from itself.
Contract: use the whole MCP (map first)
Use: py -3 Claude/hooks/mcp_map.py --find <keywords> before any MCP work. See references/use-whole-mcp.md for full details.
Contract: verifying which project UEFN has open
Use: ValkyrieToolset.VerseToolset.ListFiles via call_tool. See references/verifying-project-open.md.
Contract: detecting MCP mode (before reading or changing anything in the level)
How the tools are called: in this kit the UEFN tools are reached through the single MCP tool mcp__unreal-mcp__call_tool (the name of the MCP server can differ per machine, look for a call_tool), with arguments like {"toolset_name": "ValkyrieToolset.VerseToolset", "tool_name": "ListFiles", "arguments": {}}. A tool list that shows only ...call_tool is NOT offline: make the call through it. If the first call answers with a schema error, the tool exists: read the schema it returns and retry with the right arguments. Only when no such MCP tool exists, or the call fails with a connection error, is the mode offline (UEFN closed or the MCP not running): then say which of the two it was.
Recipes on 43.00: a recipe may carry args43 and tool43: use them instead of args and the old tool name when the tools are named one by one (UEFN 43.00 and later). Recipes without them have not been checked against 43.00 yet: try them once and replay if the tool answers about its arguments.
UEFN 43.00 and later (measured 2026-11-03): there is no call_tool. Each tool has its own name, mcp__unreal-mcp__<Toolset>_<Tool> (for example mcp__unreal-mcp__VerseToolset_VerseToolset_ListFiles, mcp__unreal-mcp__ValkyrieFortniteToolset_DeviceToolset_PlaceDevice), about 800 of them, loaded on demand: run ToolSearch select:<name> before the first call. The dotted names in this file keep meaning the same tool (ValkyrieToolset.VerseToolset / ListFiles is now VerseToolset / ListFiles); the map mcp_map.py --find WORDS gives the exact current name. Several steps in one go: execute_tool_script with async def run(): and await execute_tool("EditorToolset.LevelToolset.GetCurrentLevel", {...}) (a plain def run() is refused). Positions are shown in LUF but tools take engine XYZ.
Modes: live = the UEFN MCP answers (ValkyrieToolset.VerseToolset.ListFiles works and matches the project identity, see above). offline = no MCP tools, or the check fails.
Procedure: run the project-identity check once per session. In live mode you may read devices and wiring in the level (read-only unless the task is a change). In offline mode work from the Verse map and the code only, and name in the report exactly which devices, settings and wiring were not inspected. Never skip the level silently and never guess device settings.
Contract: reading the devices placed in the level (read-only, only when the mode is live)
Tools seen working in this kit's logs (names can change with UEFN updates; if one is missing, call describe_toolset on its toolset and use the closest read tool): editor_toolset.toolsets.scene.SceneTools.find_actors (which device actors of a class exist and where), ValkyrieToolset.DeviceToolset.ListEventBindings (wiring between devices), ValkyrieToolset.DeviceToolset.GetDeviceProperties / ListDeviceProperties (settings), editor_toolset.toolsets.object.ObjectTools.get_properties.
Procedure: first reuse what is already written: if the project has Claude/docs/DEPENDENCY-MAP*.md or Claude/docs/map/DEVICES.md, learn from it and do not call the MCP again for the same facts. Otherwise read only the device classes that the Verse map cards reference (@editable types), one class at a time, and write the result compactly to Claude/docs/map/DEVICES.md (class, count, who wires it to whom, the few settings that matter). Counts per c
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- references/areas/COVERAGE-FINAL.md
- references/areas/assets.md
- references/areas/editor-logs.md
- references/areas/level-devices.md
- references/areas/materials.md
- references/areas/physics-mesh.md
- references/areas/recipes.json
- references/areas/scripting-batch.md
- references/areas/session-regression.md
- references/areas/ui-widgets.md
- references/areas/verse-build.md
- references/areas/vfx-niagara.md
- references/exploration-mission.md
- references/mcp-skills-overview.md
- references/read-tools-proven.md
- references/ui-session-tools.md
- references/use-whole-mcp.md
- references/verifying-project-open.md
- references/wire-after-build-errors.md
FAQ
What does the mcp-tool-contracts skill do?
Canonical, single-source-of-truth mapping of "what I want to do via UEFN's MCP server" to "the exact tool that actually works for it in this kit's setup" — referenced by coder, qa-regression, and project-bootstrap instead of each describing the check in its own words.
How do I install the mcp-tool-contracts skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the mcp-tool-contracts skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…