unofficial · open source · MIT

Describe a War Thunder mission.
Your agent builds it.

An MCP server and skill that lets Claude Code (or any MCP agent) write real CDK mission files, checked against the Mission Editor's own definitions before you ever launch the game.

claude — ~/UserMissions
>Build me a mission where
wt_build_custom_battle · wt_add_trigger · wt_validate_mission↵ to build

01Why not just let the agent edit the file?

It could. But .blk files are 10,000-line, quirk-heavy, and the game gives you no error until you load them. The MCP is the guard rail; the skill is the memory.

✓Validated, not guessed

Every event, condition, action and parameter is checked against the editor's real scheme files. Typos are rejected before you open the game.

{}Correct file format

Quoted names, flat option groups, spawn flags, nested score limits: the quirks that cost hours in-game are handled once, in tested code.

⚡Big files, small context

Read one block, add one trigger, find a unit by name, without pasting an 11,000-line mission into the agent's head.

★Battle-tested recipes

One call builds a 24/7 PvP mission: team spawns, a no-weapons chill zone with enter/leave hints, infinite ammo outside it, always-on objectives.

🧠A skill that remembers

Lessons from live custom battles (what works, what silently doesn't) ship with the skill, so your agent doesn't repeat them.

🔒Local and private

Runs on your machine, reads your installed CDK, writes to your UserMissions folder. No game files in the repo.

02Install: let your agent do it

Paste this into Claude Code (or any coding agent). It clones, installs, registers the server and the skill, then tells you to restart.

paste into your agent
Install the War Thunder CDK MCP server and skill from https://github.com/kmanb44/wt-cdk-mcp: clone the repo, then run `python -m pip install -e .` in it with the Python you will register (note its absolute path, e.g. `python -c "import sys; print(sys.executable)"`). Register the MCP server `war-thunder-cdk` in my MCP client config (Claude Code: `claude mcp add war-thunder-cdk --scope user -e WT_DIR="<my War Thunder install folder>" -- <that absolute python path> -m wt_cdk_mcp.server`; Claude Desktop: the `mcpServers` section of `claude_desktop_config.json`), and copy `.claude/skills/war-thunder-cdk` into my skills folder (Claude Code: `~/.claude/skills/`). Ask me for the War Thunder install folder if you can't find it (it contains `UserMissions` and `WarThunderCDK`). Ignore harmless git/pip progress text that shows as errors in PowerShell. Finally tell me to restart the client and check that the `wt_*` tools appear.
NeedsWar Thunder with the WarThunderCDK in the game folder, Python 3.10+
Other installsSet WT_DIR for non-Steam, other drives, Linux/Proton
ThenRestart your client, ask for a mission, open it in the Mission Editor

03What's inside

19 tools your agent can call.

ToolWhat it does
wt_build_custom_battleOne call: a full 24/7 PvP mission with a no-weapons chill zone, infinite ammo and objectives
wt_new_mission · wt_add_unit · wt_add_areaStart a mission and place units, waypoints and zones
wt_add_trigger · wt_add_objectiveBuild the logic: events, conditions, actions, all scheme-checked
wt_add_squad · wt_add_player_wings · wt_configure_multiplayerSpawn groups, player slots, custom-battle settings
wt_list_catalog · wt_get_schemeLook up every valid element and its parameters
wt_summarize_mission · wt_read_blockRead existing missions without loading the whole file
wt_validate_missionCheck settings, player, types, enums and target names
Honest caveat: it can't launch the game or read terrain, so spawn positions are educated guesses. The recipe was tuned by hand in live battles on the container port map; other maps need their own coordinates. Open results in the Mission Editor to confirm.