Open-source MCP server

An AI collaborator for your Dungeondraft maps.

Build, inspect, and refine Dungeondraft battle maps for D&D and other tabletop games, with an AI assistant and assets you already own.

  • Free and open source
  • MIT
  • Windows, macOS, Linux
  • Requires Dungeondraft

Latest release v1.5.0 · Dec 2026Star13

A finished, lit tavern interior built in Dungeondraft by an AI assistant.
Building a tavern with battlemap-mcp. Sped up 11×; the full build took about five minutes. Watch the narrated build

What battlemap-mcp helps with

Build together

Describe a scene and let your assistant help lay out rooms, terrain, furnishings, and lighting.

Refine what you have

Work on one room, review a route, or hand off repetitive placement while you make the creative decisions.

Use your own assets

Work with the assets available in your Dungeondraft installation. Support the artists who make them.

Connect locally

A local bridge connects your MCP client to the map you have open in Dungeondraft.

Get started

  1. Download the mod and the companion from the same release.
  2. Add the mod to Dungeondraft, restart it, and open a map.
  3. Connect your AI app with the companion, or install battlemap-mcp from Claude.

You’ll need Dungeondraft and an AI client that supports local MCP servers on the same computer. You can also install the server with uv, pipx or pip, or as a Debian package; you still add the mod to Dungeondraft.

Read the setup guide

Setting it up from scratch with the Claude desktop app, in five minutes. About this video · Watch on YouTube

Runs on your computer

battlemap-mcp has no accounts, telemetry, or analytics. Its Dungeondraft mod and companion talk over a local connection on your computer. At most once a day the companion asks GitHub whether a new release is out and fetches updated map-making procedures; it installs a new version only when you agree. You can turn all of this off, and the Dungeondraft mod itself never contacts the internet. Your AI client receives what the tools return, such as map elements, file paths, and screenshots, and may send it to its model provider as part of your conversation.

Read the battlemap-mcp privacy policy