Warcraft 3 MCP Server
This MCP server connects Claude to Warcraft III .w3x/.w3m map files, enabling direct editing via natural language. Capabilities include:
Read & Inspect Maps
Get a full map overview (name, players, units, doodads, triggers, etc.)
Read map metadata: name, author, description, players, size, script language
Browse and read any internal file in the map archive
Inspect object data (units, items, abilities, buffs, destructables, doodads, upgrades)
View placed units and doodads, terrain, regions, cameras, sounds, triggers, and imports
Read the JASS/Lua map script and string table (names, tooltips, quest text)
Edit Units & Doodads
Place, move, modify, or delete preplaced units and items
Add, modify, or remove doodads/destructables (trees, rocks, etc.)
Manage Map Elements
Add, modify, or delete regions and cameras
Set string table entries (names, tooltips, quest text)
Replace any internal file (e.g., swap models or textures)
Edit Object Data & Scripts
Modify stats for units, items, abilities, buffs, destructables, doodads, and upgrades
Create new custom objects derived from existing base types
Replace the entire map script or splice in custom JASS/Lua code via triggers that survive editor re-saves
Launch & Test
Open the modified map in the Warcraft III World Editor
Launch it directly in Warcraft III for playtesting
Safety: Edits are saved to a separate .edited.w3x copy by default, preserving the original unless you explicitly request an overwrite.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Warcraft 3 MCP ServerAdd a footman for Player 1 in the center of the map."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 buildThat'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.
Related MCP server: blender-mcp
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 |
| A quick summary of the whole map (great starting point) |
| Map name, author, players, size |
| List or read any file inside the map |
| Read units / items / abilities / etc. and their stats |
| What's placed on the map |
| The map's script (JASS / Lua) |
| Text strings (names, tooltips, quest text) |
| Regions, cameras, sounds |
| Terrain summary (size, tiles, height) |
| The trigger list and imported files |
Change a map
Tool | What it does |
| Add, move, or remove units |
| Add, move, or remove doodads/trees/etc. |
| Manage regions |
| Manage cameras |
| Change unit/item/ability stats |
| Change text strings |
| Replace the script or any internal file |
Create new things
Tool | What it does |
| Make a custom unit/item/ability based on an existing one |
| 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 |
| Open the map in the Warcraft III World Editor |
| 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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/YElwiddi/warcraft-3-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server