Skip to main content

battlemap-mcp

An AI collaborator for your Dungeondraft maps: a local bridge that lets your AI assistant (Claude, Codex, OpenCode or any other MCP client) build, inspect and refine the map you have open, using assets you already own.

This package is the server your AI app runs. Dungeondraft also needs the mod it talks to. The package carries the mod, and its install command or your assistant copies it into Dungeondraft's mods folder.

You need Dungeondraft 1.2.0.1 and an AI app that can run local MCP servers, on the same computer.

Install

Pick one way. The first two use uv.

uv tool install battlemap-mcp
uv tool update-shell

Open a new terminal, then install the mod and connect your AI app. With Dungeondraft closed:

battlemap-mcp install
battlemap-mcp setup --client claude-code

setup also takes codex and opencode. It installs the map-making skills and registers the server. Upgrade with uv tool upgrade battlemap-mcp.

uvx, with nothing installed

Give your AI app the command uvx with the argument battlemap-mcp:

claude mcp add --scope user battlemap -- uvx battlemap-mcp
codex mcp add battlemap -- uvx battlemap-mcp

For an app set up through a JSON file:

{"mcpServers": {"battlemap": {"command": "uvx", "args": ["battlemap-mcp"]}}}

uvx goes on running the version it first downloaded. Write battlemap-mcp@latest instead to take each new release as your app starts the server, which then needs the network. If your app cannot find uvx, give it the full path.

Install the mod with uvx battlemap-mcp install, or ask your assistant to install the bridge. setup does not work through uvx, because it would register a temporary file that uv may delete. The map-making skills still work: the server hands them to your assistant.

pip or pipx

pipx install battlemap-mcp

or python -m pip install battlemap-mcp into a virtual environment you keep. Then run battlemap-mcp install and battlemap-mcp setup --client ... as above. Upgrade with pipx upgrade battlemap-mcp or python -m pip install --upgrade battlemap-mcp.

Finish and check

In Dungeondraft, under Mods, choose the mods folder the installer used, tick Battlemap MCP Bridge, accept, quit and reopen Dungeondraft, then open a map. Then:

battlemap-mcp doctor --live --brief

(With uvx, put uvx in front.) Quit and reopen your AI app after connecting it.

After every upgrade, update the mod too: run battlemap-mcp install --force, or ask your assistant to install the bridge, then restart Dungeondraft. If you used setup, run it again with --force to update the skills. Upgrade with your AI app closed; on Windows a running server cannot be replaced.

Install it only one way. A second connection to the same AI app shows every tool twice.

No Python

The GitHub releases have a self-contained download that needs no Python or uv.

More

MIT licensed. This is an independent, unofficial project, not sponsored, operated or endorsed by Megasploot or Tailwind Games, LLC. It includes no Dungeondraft software, maps or art.

Metadata

Release files for battlemap-mcp 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for battlemap-mcp 1.5.0
File Size Uploaded Provenance Actions
battlemap_mcp-1.5.0.tar.gz 392.7 kB With provenance Details for battlemap_mcp-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for battlemap-mcp 1.5.0
File Interpreter ABI Platform Actions
battlemap_mcp-1.5.0-py3-none-any.whl Python 3 none any Details for battlemap_mcp-1.5.0-py3-none-any.whl

Total release size: 816.0 kB

Release files / battlemap_mcp-1.5.0.tar.gz

Download URL battlemap_mcp-1.5.0.tar.gz
Size 392.7 kB
Tags Source
SHA-256 checksum
How to use checksums
78f7d7db1a733e1f7325186f3cb8b61ec23e530aedc484ce709353fb48e9b01f
BLAKE2b-256 checksum
How to use checksums
c9a019032a002f1341c563d83f9da3613b401399d55a9c72c9efa0ce51509618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / battlemap_mcp-1.5.0-py3-none-any.whl

Download URL battlemap_mcp-1.5.0-py3-none-any.whl
Size 423.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6a0174aab78bd1ff657642e0913c9e18bb8abc7c0476a0041cf5d5f246b3c79
BLAKE2b-256 checksum
How to use checksums
0ab3e035adcc3c006b5cfc0772aa25cd82e8712201aee986aeb2d187d2a50a06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for battlemap-mcp 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for battlemap_mcp-1.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page