Skip to content
battlemap-mcp docs

Get started with battlemap-mcp for Dungeondraft

You need Dungeondraft 1.2.0.1 and an AI app that can run local MCP servers, on the same computer. Every way of connecting also needs the mod, Battlemap MCP Bridge, in Dungeondraft; each install guide covers it.

A five-minute video (on YouTube) that installs everything from nothing with the Claude desktop app, checks the connection and builds a first room. The written steps for that route are in Install from Claude.

There are five ways to connect your AI app. Each also needs the mod in Dungeondraft:

With a Python tool or the Debian package, add the mod with battlemap-mcp install, or ask your assistant to install the bridge.

With uv, run:

Terminal window
uv tool install battlemap-mcp
Terminal window
uv tool update-shell

With pipx or pip, use pipx install battlemap-mcp or python -m pip install battlemap-mcp instead. Then, in a new terminal and with Dungeondraft closed, add the mod:

Terminal window
battlemap-mcp install

Connect your AI app. Use codex or opencode in place of claude-code for those clients:

Terminal window
battlemap-mcp setup --client claude-code

Then enable Battlemap MCP Bridge in Dungeondraft under Mods, restart Dungeondraft and your AI app, and open a map. To run the server with uvx without installing it, see Other MCP clients.

Maps come out noticeably better when the map includes asset packs. See Include your asset packs.