# wc3files

> wc3files is an open-source MCP server for games and play. Read and edit Warcraft III maps, object data, triggers and replays from an AI assistant. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/bekhouche/wc3files
- **MCP Registry name:** io.github.Bekhouche/wc3files
- **Categories:** [games and play](https://ai-powered.com/categories/games-and-play)
- **Listing updated:** 2026-11-27

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add wc3files -- uvx wc3files
```

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

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

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

### Cursor (~/.cursor/mcp.json)

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

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

### VS Code (~/.copilot/mcp-config.json)

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

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add wc3files -- uvx wc3files
```

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

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

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

### Zed (Zed settings.json)

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

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

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

### Kiro (~/.kiro/settings/mcp.json)

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

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

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "wc3files": {
      "command": "uvx",
      "args": [
        "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.

## Alternatives

- [Warcraft III Map Tools](https://ai-powered.com/mcp/warcraft-iii-map-tools): Warcraft III Map Tools is an MCP server for games and play.
- [Warapp MCP](https://ai-powered.com/mcp/warapp-mcp): Warapp MCP is an open-source MCP server for games and play.
- [Hated WoW MCP](https://ai-powered.com/mcp/hated-wow-mcp): Hated WoW MCP is an open-source MCP server for games and play.
- [Witcher 3 String Editor](https://ai-powered.com/mcp/witcher-3-string-editor): Witcher 3 String Editor is an open-source MCP server for games and play.
- [Guild Wars 1 Build Compiler](https://ai-powered.com/mcp/guild-wars-1-build-compiler): Guild Wars 1 Build Compiler is an open-source MCP server for games and play.
- [loenn-mcp](https://ai-powered.com/mcp/loenn-mcp): loenn-mcp is an MCP server for games and play.
- [7-0 MCP](https://ai-powered.com/mcp/7-0-mcp): 7-0 MCP is an open-source MCP server for games and play.
- [ModWrench](https://ai-powered.com/mcp/modwrench): ModWrench is an open-source MCP server for games and play.

---
Source: https://ai-powered.com/mcp/wc3files
