Skip to content
battlemap-mcp docs

Update, move or remove battlemap-mcp

Your assistant tells you when a new version is out. A downloaded companion on 1.5.0 or later can update in one step; other installs get their own steps.

A three-minute video (on YouTube), made before one-step updates, shows two ways to update: by hand from the update notice, or by asking Claude Code to do it in one sentence. More videos.

This is for the downloaded companion. It works from 1.5.0 on, so if you have 1.4.x or older, update by hand once.

  1. Ask your assistant to update, or run battlemap-mcp update in a terminal in the companion folder (.\battlemap-mcp.exe update on Windows, ./battlemap-mcp update on Mac or Linux).
  2. Read the preview: the version, the download size and what will happen. To show it, the companion downloads the release’s signed list of files. It downloads the new version only after your yes.
  3. The companion downloads the new version, checks it against the signed list, and unpacks it into a versions folder inside the companion folder. The version you are running is left as it is. Anything that does not match is refused.
  4. The new version starts with your next chat. The Dungeondraft mod is installed after a second preview, and loads when you restart Dungeondraft.
  • If the new version does not finish starting three times, your previous version runs again by itself, and that build is not installed again.
  • Older versions that are no longer needed are removed at a later update.
  • On Windows, a release that changes battlemap-mcp.exe must be installed by hand.

If you turned off Check for updates, your assistant cannot update for you. battlemap-mcp update, typed by you in a terminal, still checks once and asks before it downloads anything. See privacy.

The plugin and the extension update through Claude, not in one step. Your assistant gives you these steps. Update the plugin with /plugin in Claude Code, or download the new battlemap-mcp-<version>.mcpb and open it in the Claude desktop app. Then ask your assistant to install the bridge again (it backs up the old one), and fully quit and reopen Dungeondraft.

If the installer finds other copies of the bridge in your mods folder, such as an older install under a different folder name, or a fork of the bridge that uses the same mod ID, Dungeondraft would load those too. The installer shows you each copy and where it would go; once you agree, it moves each one to a backup outside the mods folder, beside the bridge it replaced, so Dungeondraft loads only one. Nothing is deleted. With the companion download, run install --move-other-copies to do the same.

If one of those copies is in a folder only an administrator can change, such as Program Files, the installer says so before changing anything. Move or delete that copy yourself as an administrator, or install without moving the other copies.

Use these steps to get to 1.5.0 from an older version, or when a release has to be installed by hand.

  1. Save your map and quit Dungeondraft and the AI client.
  2. Download both packages from the same release.
  3. Move the old bridge outside all active mods folders and replace it with the new one.
  4. Replace the entire companion folder; do not mix a new executable with an old battlemap-mcp.pkg or old _internal files. Keeping the same permanent path means the existing registration still works.
  5. Run the Connect file again, reopen Dungeondraft and a map, and run Check connection.

On Windows the executable is a small launcher that runs battlemap-mcp.pkg from the same folder, so if it reports that it cannot load that file, the folder is incomplete: extract the whole ZIP again.

Connect preserves existing skills and lists any that differ from this version. To replace locally edited or older skills too, open a terminal in the companion folder and run:

Terminal window
.\battlemap-mcp.exe setup --force --client codex

On Mac or Linux use ./battlemap-mcp; for Claude Code or OpenCode use --client claude-code or --client opencode. Replaced skills are backed up outside the client’s active skills folder. --force applies to skills, not an existing Claude registration.

Quit your AI app, then run the command that matches how you installed:

  • uv: uv tool upgrade battlemap-mcp
  • pipx: pipx upgrade battlemap-mcp
  • pip: python -m pip install --upgrade battlemap-mcp
  • uvx: make sure the server command in your AI app is uvx battlemap-mcp@latest, which runs the newest release. Plain uvx battlemap-mcp goes on running the version it saved.

Then update the mod.

Quit your AI app. Download the new release’s .deb and, in the folder you saved it to, run:

Terminal window
sudo apt install ./battlemap-mcp_<version>_amd64.deb

Then update the mod.

With Dungeondraft closed, run battlemap-mcp install --force to replace the mod. If you connected with setup, also run it again with your client’s name and --force, which updates the skills:

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

Use codex or opencode for those clients. With uvx, reopen your AI app and ask your assistant to install the bridge instead. Then restart Dungeondraft and your AI app.

After moving the whole companion folder, run Connect from the new location. For Claude Code, Connect stops while an entry for the old path is registered; remove it first with claude mcp remove --scope user battlemap (see Other AI clients). Keep the old copy until the new connection works.

Nothing updates in the background. To go back by hand, replace the whole companion folder (its versions folder included) and the mod with an older release’s, reconnect, and restart Dungeondraft.

  1. Quit the editor and disconnect the server: remove the battlemap entry in your AI client’s MCP settings.
  2. Remove the mod and companion folders you installed. For the plugin, run /plugin and uninstall battlemap-mcp; for the desktop extension, remove it under Settings → Extensions.
  3. If you installed a package, remove it the same way: uv tool uninstall battlemap-mcp, pipx uninstall battlemap-mcp, pip uninstall battlemap-mcp, or sudo apt remove battlemap-mcp. Removing the Debian package leaves your settings, the mod and the skills.
  4. Bundled battlemap-* skills and battlemap-mcp’s runtime state can be removed separately; retain wanted captures.