Warcraft 3 MCP Server
Edit your Warcraft III maps by just talking to Claude.
README
Warcraft 3 MCP Server
Edit your Warcraft III maps by just talking to Claude.
This is an MCP server that connects Claude to your Warcraft III
.w3x / .w3m map files. Once it's set up, you can say things like:
"Add a footman for Player 1 in the middle of the map." "Double the hit points of every grunt." "Add a trigger that spawns 5 wolves every 30 seconds, then open the map in the editor."
…and Claude makes the change directly in your map file.
How it works in one line: Warcraft's World Editor has no plugin/automation system, so this edits the map file directly. Your change is really in the map — open it in the World Editor or play it and it's there.
Install (5 minutes)
Step 1 — Install Node.js
Download and install Node.js 18 or newer from nodejs.org.
(To check if you already have it, open a terminal and run node --version.)
Step 2 — Download this project and build it
Open a terminal (Command Prompt, PowerShell, or Terminal) and run:
git clone https://github.com/YElwiddi/warcraft-3-mcp-server.git
cd warcraft-3-mcp-server
npm install
npm run build
That's it — the server is now built into the dist folder.
Step 3 — Connect it to Claude
Pick whichever you use:
Claude Code (the CLI) — run this one command (use the full path to the folder you just built):
claude mcp add wc3 --scope user -- node "/full/path/to/warcraft-3-mcp-server/dist/index.js"
Claude Desktop (the app) — open Settings → Developer → Edit Config, and add a wc3
entry under mcpServers (keep any servers you already have):
{
"mcpServers": {
"wc3": {
"command": "node",
"args": ["C:/full/path/to/warcraft-3-mcp-server/dist/index.js"]
}
}
}
Step 4 — Restart Claude
Close and reopen Claude Code / Claude Desktop so it loads the new tools. You're done!
💡 Tip: Use forward slashes
/in the path even on Windows, e.g.C:/Users/You/warcraft-3-mcp-server/dist/index.js.
Try it
Just ask Claude in plain English and give it the full path to your map. For example:
"Use wc3 to give me an overview of
C:\Users\Me\Desktop\MyMap.w3x."
By default, edits are saved to a copy next to your map (MyMap.edited.w3x) so your original is
safe. Tell Claude "overwrite the original" if you want it to edit the file in place.
What Claude can do (the tools)
Look at a map
| Tool | What it does |
|---|---|
wc3_overview |
A quick summary of the whole map (great starting point) |
wc3_map_info |
Map name, author, players, size |
wc3_list_files / wc3_read_file |
List or read any file inside the map |
wc3_read_objects |
Read units / items / abilities / etc. and their stats |
wc3_read_placements / wc3_list_units / wc3_list_doodads |
What's placed on the map |
wc3_read_script |
The map's script (JASS / Lua) |
wc3_read_strings |
Text strings (names, tooltips, quest text) |
wc3_read_regions / wc3_read_cameras / wc3_read_sounds |
Regions, cameras, sounds |
wc3_read_terrain |
Terrain summary (size, tiles, height) |
wc3_read_triggers / wc3_read_imports |
The trigger list and imported files |
Change a map
| Tool | What it does |
|---|---|
wc3_place_unit / wc3_modify_unit / wc3_delete_unit |
Add, move, or remove units |
wc3_place_doodad / wc3_modify_doodad / wc3_delete_doodad |
Add, move, or remove doodads/trees/etc. |
wc3_add_region / wc3_modify_region / wc3_delete_region |
Manage regions |
wc3_add_camera / wc3_delete_camera |
Manage cameras |
wc3_write_objects |
Change unit/item/ability stats |
wc3_set_string |
Change text strings |
wc3_write_script / wc3_replace_file |
Replace the script or any internal file |
Create new things
| Tool | What it does |
|---|---|
wc3_create_object |
Make a custom unit/item/ability based on an existing one |
wc3_set_durable_script |
Add game logic that runs immediately, survives editor re-saves, and shows up editable in the Trigger Editor |
See your change
| Tool | What it does |
|---|---|
wc3_open_in_editor |
Open the map in the Warcraft III World Editor |
wc3_test_map |
Launch the map in Warcraft III to play it |
Good to know
- Your originals are safe — edits save to a
.editedcopy unless you ask to overwrite. - Triggers / new logic:
wc3_set_durable_scriptstores your JASS/Lua inwar3map.wct(the editor's own trigger storage) and mirrors it into the map script — so it runs immediately and survives editor re-saves, appearing in the Trigger Editor where you can edit it later. For an auto-running trigger, create one custom-text trigger in the editor first (e.g. name itMCPDurable) and save once; the header slot (slot:"header") needs no setup. - Very large or protected maps may have a few parts that can't be read; Claude will tell you which part and keep working on the rest.
- This is not affiliated with Blizzard Entertainment. Warcraft III is a trademark of Blizzard. This tool only reads/writes your own map files.
License
MIT — free and open source. Do whatever you like with it.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。