Skip to content
MCP server

wc3files

Read and edit Warcraft III maps, object data, triggers and replays from an AI assistant

Runs locally

wc3files is an open-source MCP server for games and play. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted
Runs
Locally
Version
0.6.4
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add wc3files -- uvx wc3files

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "wc3files": {
      "command": "uvx",
      "args": [
        "wc3files"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "wc3files": {
      "command": "uvx",
      "args": [
        "wc3files"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "wc3files": {
      "command": "uvx",
      "args": [
        "wc3files"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "wc3files": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "wc3files"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add wc3files -- uvx wc3files

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.wc3files]
command = "uvx"
args = ["wc3files"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "wc3files": {
      "command": "uvx",
      "args": [
        "wc3files"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "wc3files": {
          "command": "uvx",
          "args": [
            "wc3files"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user wc3files uvx -- wc3files

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "wc3files": {
          "command": "uvx",
          "args": [
            "wc3files"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "wc3files": {
          "command": "uvx",
          "args": [
            "wc3files"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "wc3files": {
          "command": "uvx",
          "args": [
            "wc3files"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "wc3files": {
          "command": "uvx",
          "args": [
            "wc3files"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "wc3files": {
          "command": "uvx",
          "args": [
            "wc3files"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "wc3files": {
          "command": "uvx",
          "args": [
            "wc3files"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "wc3files": {
          "command": "uvx",
          "args": [
            "wc3files"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About wc3files

Warcraft III map modders can point an AI assistant at their files and have it inspect maps, object data, regions, triggers, scripts, models and replays. The server is a thin layer over a pure Python library for the game's file formats, so it needs no compiler, StormLib or game installation.

By default the tools are read-only and only open files inside folders you name when starting the server. Protected maps are refused. Editing is opt-in: with the write flag enabled, changes are saved as a new map file rather than overwriting the original.

The project suits map makers, tool builders and anyone who wants an assistant to audit or modify Warcraft III content programmatically. It is open source under the MIT licence and installs from PyPI.

What it does

Read map contents
Inspect map info, members, object data, trigger text and script checks inside .w3x files.
Replay inspection
Extract game information, player data and actions from .w3g replay files.
Opt-in editing
Write object data, units, regions, strings and scripts to a new map file when writing is enabled.
Folder-scoped access
Only opens files under the folders you specify and refuses protected maps.
Pure Python install
Installs from PyPI with loguru as its only dependency, with no compiler or game required.

Good for

  • Auditing object data and unit definitions across a map
  • Asking an assistant to explain or review a map's trigger and script code
  • Checking a Reforged war3map.lua for undefined globals or wrong argument counts
  • Extracting statistics or actions from a replay file
  • Making batch edits to a copy of a map through an assistant

Pricing

Open source

Free and open source under the MIT License.

wc3files FAQ

Does the server modify my maps by default?

No. The tools are read-only unless the server is started with the write flag, and edits are saved as a new map.

How do I install wc3files?

Install with pip using the mcp extra, then run the wc3files-mcp command pointing at your map folder.

Does wc3files need Warcraft III installed?

No. It is pure Python and bundles the game data files it needs to read maps without a game install.

Is wc3files free?

Yes. wc3files is open source, so you can use and self-host it for free.

How do I add wc3files to Claude Code?

Run this command in your terminal: claude mcp add wc3files -- uvx wc3files

What are the best alternatives to wc3files?

The closest alternatives to wc3files are Warcraft III Map Tools, Warapp MCP, Hated WoW MCP, Witcher 3 String Editor and Guild Wars 1 Build Compiler.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers