Skip to main content
Glama
Warcraft 3 MCP Server

Warcraft 3 MCP Server

by YElwiddi

Warcraft 3 MCP 서버

Claude와 대화만으로 Warcraft III 맵을 편집하세요.

이것은 Claude를 Warcraft III .w3x / .w3m 맵 파일에 연결하는 MCP 서버입니다. 설정이 완료되면 다음과 같이 말할 수 있습니다:

"플레이어 1을 위해 맵 중앙에 풋맨을 추가해." "모든 그런트의 체력을 두 배로 늘려." "30초마다 늑대 5마리를 생성하는 트리거를 추가하고, 편집기에서 맵을 열어." "풋맨이 첫 공격에 그런트를 죽이는 GUI 트리거를 만들어."

...그러면 Claude가 맵 파일을 직접 변경합니다.

한 줄 요약: Warcraft의 World Editor에는 플러그인/자동화 시스템이 없으므로, 이 도구는 맵 파일을 직접 편집합니다. 변경 사항은 실제로 맵에 반영됩니다 — World Editor에서 열거나 플레이하면 확인할 수 있습니다.


설치 (5분)

1단계 — Node.js 설치

nodejs.org에서 Node.js 18 이상을 다운로드하여 설치하세요. (이미 설치되어 있는지 확인하려면 터미널을 열고 node --version을 실행하세요.)

2단계 — 이 프로젝트를 다운로드하고 빌드하기

터미널(명령 프롬프트, PowerShell 또는 Terminal)을 열고 다음을 실행하세요:

git clone https://github.com/YElwiddi/warcraft-3-mcp-server.git
cd warcraft-3-mcp-server
npm install
npm run build

끝입니다 — 이제 서버가 dist 폴더에 빌드되었습니다.

3단계 — Claude에 연결하기

사용하는 버전에 따라 선택하세요:

Claude Code (CLI) — 다음 명령어 하나를 실행하세요 (방금 빌드한 폴더의 전체 경로를 사용):

claude mcp add wc3 --scope user -- node "/full/path/to/warcraft-3-mcp-server/dist/index.js"

Claude Desktop (앱) — 설정 → 개발자 → 구성 편집을 열고 mcpServers 아래에 wc3 항목을 추가하세요 (이미 있는 서버는 유지):

{
  "mcpServers": {
    "wc3": {
      "command": "node",
      "args": ["C:/full/path/to/warcraft-3-mcp-server/dist/index.js"]
    }
  }
}

4단계 — Claude 다시 시작하기

Claude Code / Claude Desktop을 닫았다가 다시 열어 새 도구를 로드하세요. 완료입니다!

💡 팁: Windows에서도 경로에 슬래시 /를 사용하세요. 예: C:/Users/You/warcraft-3-mcp-server/dist/index.js.


Related MCP server: UEMCP

사용해 보기

Claude에게 평범한 영어로 요청하고 맵의 전체 경로를 알려주세요. 예:

"wc3를 사용해서 C:\Users\Me\Desktop\MyMap.w3x의 개요를 알려줘."

기본적으로 편집 내용은 맵 옆에 복사본(MyMap.edited.w3x)으로 저장되므로 원본은 안전합니다. 파일을 직접 편집하려면 Claude에게 *"원본을 덮어써"*라고 말하세요.


Claude가 할 수 있는 작업 (도구)

맵 살펴보기

도구

기능

wc3_overview

전체 맵에 대한 간략한 요약 (시작점으로 좋음)

wc3_map_info

맵 이름, 작성자, 플레이어, 크기

wc3_list_files / wc3_read_file

맵 내부의 파일 나열 또는 읽기

wc3_read_objects

유닛 / 아이템 / 능력 / 기타 및 그 능력치 읽기

wc3_read_placements / wc3_list_units / wc3_list_doodads

맵에 배치된 것 읽기

wc3_read_script

맵의 스크립트 (JASS / Lua)

wc3_read_strings

텍스트 문자열 (이름, 툴팁, 퀘스트 텍스트)

wc3_read_regions / wc3_read_cameras / wc3_read_sounds

지역, 카메라, 사운드

wc3_read_terrain

지형 요약 (크기, 타일, 높이)

wc3_read_triggers / wc3_read_imports

전체 GUI 트리거 (이벤트, 조건, 행동) 및 가져온 파일

맵 변경하기

도구

기능

wc3_place_unit / wc3_modify_unit / wc3_delete_unit

유닛 추가, 이동 또는 제거

wc3_place_doodad / wc3_modify_doodad / wc3_delete_doodad

장식/나무 등 추가, 이동 또는 제거

wc3_add_region / wc3_modify_region / wc3_delete_region

지역 관리

wc3_add_camera / wc3_delete_camera

카메라 관리

wc3_write_objects

유닛/아이템/능력 능력치 변경

wc3_set_string

텍스트 문자열 변경

wc3_write_script / wc3_replace_file

스크립트 또는 내부 파일 교체

wc3_add_gui_trigger / wc3_modify_gui_trigger

실제 GUI 트리거 생성 또는 편집 (트리거 편집기에 표시되며 저장 시 유지됨)

새 항목 만들기

도구

기능

wc3_create_object

기존 항목을 기반으로 사용자 정의 유닛/아이템/능력 만들기

wc3_set_durable_script

즉시 실행되고 편집기 재저장에도 유지되며 트리거 편집기에서 편집 가능하게 표시되는 게임 로직 추가

변경 사항 확인하기

도구

기능

wc3_open_in_editor

Warcraft III World Editor에서 맵 열기

wc3_test_map

Warcraft III에서 맵을 실행하여 플레이


GUI 트리거 (1.1의 새로운 기능)

Claude는 실제 GUI 트리거 트리를 읽고 편집할 수 있습니다 — 트리거 편집기(F4)에서 볼 수 있는 것과 동일한 트리거입니다.

"그 트리거의 능력을 War Drums에서 Bash로 변경해." "풋맨이 첫 공격에 그런트를 죽이는 GUI 트리거를 만들어."

트리거를 요청하면…

Claude에게 GUI 트리거 추가 요청

…트리거 편집기에 실제 트리거로 나타납니다:

World Editor의 트리거 편집기에 표시된 생성된 트리거

알아야 할 사항:

  • 변경 사항은 편집기 자체의 트리거 데이터(war3map.wtg)에 기록되므로 트리거 편집기에 표시되고 저장 후에도 유지됩니다.

  • 설계상 안전: 쓰기 전에 서버는 맵의 트리거를 바이트 단위로 재구성할 수 있음을 증명합니다. 그렇지 않으면 트리거를 건드리지 않습니다.

  • GUI 변경 후 맵을 열고 한 번 저장하세요 — 그때 편집기가 트리거를 실행 가능한 스크립트로 컴파일합니다. 그런 다음 플레이 테스트하세요.

  • 모든 편집과 마찬가지로: 먼저 편집기에서 맵을 닫고, 다시 연 후 사용하세요.


참고 사항

  • 원본은 안전합니다 — 덮어쓰기를 요청하지 않는 한 편집 내용은 .edited 복사본으로 저장됩니다.

  • 트리거 / 새 로직: wc3_set_durable_script는 JASS/Lua를 war3map.wct(편집기 자체 트리거 저장소)에 저장하고 맵 스크립트에도 미러링합니다 — 따라서 즉시 실행되고 편집기 재저장에도 유지되며, 나중에 편집할 수 있도록 트리거 편집기에 나타납니다. 자동 실행 트리거의 경우 편집기에서 먼저 사용자 정의 텍스트 트리거를 하나 생성하고(예: MCPDurable) 한 번 저장하세요. 헤더 슬롯(slot:"header")은 설정이 필요 없습니다.

  • 매우 크거나 보호된 맵은 읽을 수 없는 일부 부분이 있을 수 있습니다. Claude가 해당 부분을 알려주고 나머지 작업은 계속 진행합니다.

  • 이 도구는 Blizzard Entertainment와 관련이 없습니다. Warcraft III는 Blizzard의 상표입니다. 이 도구는 사용자 자신의 맵 파일만 읽고 씁니다.


라이선스

MIT — 무료이며 오픈 소스입니다. 원하는 대로 사용하세요.

Available Tools

35 tools
wc3_add_cameraAdd a cameraA

Add a predefined camera at target (x,y). Unspecified fields use World Editor defaults (distance 1650, aoa 304, fov 70, rotation 90). Usable from JASS as gg_cam_. Saves the map.

Inputs: mapPath (required), x (required), y (required), name, +7 more.

wc3_add_regionAdd a regionB

Add a rectangular region defined by world-coordinate bounds (left/right/bottom/top). Returns the region with its assigned id (usable from JASS as gg_rct_). Saves the map.

Inputs: mapPath (required), left (required), right (required), bottom (required), +6 more.

wc3_add_triggerAdd a script triggerA

Splice custom JASS/Lua into the map script and optionally wire it to run at map init. code is one or more complete function definitions; set entryFunction to the name of a zero-arg function in code to have it called during initialization. This is the reliable way to make the map DO something new in-game. Note: if the map has a GUI trigger tree and is re-saved in the World Editor, regenerated script may overwrite this; for pure custom-script maps it is fully durable. Saves the map.

Inputs: mapPath (required), code (required), entryFunction, outPath.

wc3_create_objectCreate a custom objectA

Create a custom object (unit/item/ability/buff/destructable/doodad/upgrade) derived from a base type, setting any fields. newId is a fresh 4-char code (e.g. "x000"); baseId is the 4-char code to copy (e.g. "hfoo"). fields are { id (4-char field code), type, value, level?, column? }. Saves the map.

Inputs: mapPath (required), kind (required), baseId (required), newId (required), +2 more.

wc3_delete_cameraDelete camera(s)B

Remove the camera(s) matched by name or index. Saves the map.

Inputs: mapPath (required), select (required), outPath.

wc3_delete_doodadDelete doodad(s)B

Remove the doodad(s) matched by editorId, index, or type. Saves the map.

Inputs: mapPath (required), select (required), outPath.

wc3_delete_regionDelete region(s)A

Remove the region(s) matched by id, name, or index. Saves the map.

Inputs: mapPath (required), select (required), outPath.

wc3_delete_unitDelete placed unit(s)A

Remove the unit(s) matched by select from war3mapUnits.doo. Saves to outPath, or ".edited." beside the source (pass the source path to overwrite in place).

Inputs: mapPath (required), select (required), outPath.

wc3_list_doodadsList placed doodadsA

List preplaced doodads/destructables in war3map.doo with index, editorId, type code, position, angle, scale, variation, life. Optionally filter by type. Use index/editorId with wc3_modify_doodad / wc3_delete_doodad.

Inputs: mapPath (required), type.

wc3_list_filesList files in a WC3 mapA

List the internal files inside a Warcraft III .w3x/.w3m map archive.

Inputs: mapPath (required).

wc3_list_unitsList placed units/itemsA

List the preplaced units and items in war3mapUnits.doo with their index, creationNumber, type code, owner, position and facing. Use the index/creationNumber with wc3_modify_unit or wc3_delete_unit.

Inputs: mapPath (required).

wc3_map_infoRead WC3 map infoA

Parse war3map.w3i: map name, author, description, players, playable area, script language, flags, etc.

Inputs: mapPath (required).

wc3_modify_doodadModify doodad(s)A

Change fields on the doodad(s) matched by editorId, index, or type. Saves the map.

Inputs: mapPath (required), select (required), set (required), outPath.

wc3_modify_regionModify region(s)A

Change bounds/name/weather/sound/color on the region(s) matched by id, name, or index. Saves the map.

Inputs: mapPath (required), select (required), set (required), outPath.

wc3_modify_unitModify placed unit(s)A

Change fields on the unit(s) matched by select — move them, re-own them, rescale, re-face, swap type, or set HP/mana. Saves to outPath, or ".edited." beside the source (pass the source path to overwrite in place).

Inputs: mapPath (required), select (required), set (required), outPath.

wc3_open_in_editorOpen the map in the World EditorA

Launch the Warcraft III World Editor on the given map so the user can see/verify the edits. (The World Editor has no automation API; this just opens the edited file.) Pass exePath to override auto-detection.

Inputs: mapPath (required), exePath.

wc3_overviewWhole-map overviewA

One-call snapshot of the map: info (name/author/players), file count, script language, terrain summary, placed unit/doodad counts, custom-object counts, and the names of regions/cameras/sounds plus a trigger summary. Use this first to orient on an unfamiliar map.

Inputs: mapPath (required).

wc3_place_doodadPlace a doodadB

Add a doodad/destructable at (x,y). Type is a 4-char code, e.g. "LTlt" (a tree) or "ATtr" (a rock). Saves the map.

Inputs: mapPath (required), type (required), x (required), y (required), +6 more.

wc3_place_unitPlace a unit/itemA

Add a preplaced unit or item to the map at world coordinates (x, y). The type is a 4-char raw code, e.g. "ugho" (Ghoul), "hfoo" (Footman), or an item code. Saves to outPath, or ".edited." beside the source (pass the source path to overwrite in place).

Inputs: mapPath (required), type (required), x (required), y (required), +9 more.

wc3_read_camerasRead camerasA

List predefined cameras (war3map.w3c) — name, target, rotation, angle of attack, distance, fov, etc.

Inputs: mapPath (required).

wc3_read_fileRead a raw file from a WC3 mapC

Extract one internal file as text (utf8) or base64.

Inputs: mapPath (required), internalName (required), encoding.

wc3_read_importsRead the import tableA

List custom imported files declared in war3map.imp (models, textures, sounds, …). Their bytes are reachable via wc3_read_file / wc3_replace_file.

Inputs: mapPath (required).

wc3_read_objectsRead WC3 object dataA

Read an object-data table as JSON. "kind" is one of units/items/abilities/buffs/destructables/doodads/upgrades. Returns a { original, custom } modification table.

Inputs: mapPath (required), kind (required).

wc3_read_placementsRead placed units & doodadsA

Read what is placed on the map in the World Editor: preplaced units/items (war3mapUnits.doo) and doodads/destructables (war3map.doo). Returns { units: [...], doodads: [...] } with type code, position, angle, owner, etc.

Inputs: mapPath (required).

wc3_read_regionsRead regionsB

List the rectangular regions (war3map.w3r) — name, id, rect bounds, weather, ambient sound, color.

Inputs: mapPath (required).

wc3_read_scriptRead WC3 map scriptB

Read the map script (war3map.j JASS or war3map.lua).

Inputs: mapPath (required).

wc3_read_soundsRead sound definitionsA

List sound definitions (war3map.w3s) — variable name, file path, and playback settings.

Inputs: mapPath (required).

wc3_read_stringsRead the string tableA

Read war3map.wts as a { id: text } map. Many map fields are stored as TRIGSTR_### references into this table (map/unit names, quest text, tooltips, …).

Inputs: mapPath (required).

wc3_read_terrainRead terrain summaryA

Summarize war3map.w3e: tileset, ground/cliff tileset list, tilepoint dimensions, world size, and height/water ranges.

Inputs: mapPath (required).

wc3_read_triggersRead the trigger treeA

Inspect the GUI trigger tree (war3map.wtg): categories, variables, and per-trigger metadata (name, enabled, comment, action count). GUI triggers compile to the map script — to change behavior reliably, edit the script (wc3_add_trigger).

Inputs: mapPath (required).

wc3_replace_fileReplace a file in a WC3 mapB

Replace (or add) an internal file from a file on disk, then save. Useful for swapping models/textures/imports.

Inputs: mapPath (required), internalName (required), srcPath (required), outPath.

wc3_set_stringSet a string-table entryA

Set the text of a TRIGSTR entry by numeric id (the ### in TRIGSTR_###), or omit id to append a new entry and get back its TRIGSTR_### token. Saves the map.

Inputs: mapPath (required), value (required), id, outPath.

wc3_test_mapRun the map in Warcraft IIIA

Launch Warcraft III running the given map (windowed by default) so the change can be played immediately. Pass exePath to override auto-detection, or windowed=false for fullscreen.

Inputs: mapPath (required), exePath, windowed.

wc3_write_objectsWrite WC3 object dataA

Write an object-data table back into the map and save. Pass the same { original, custom } shape returned by wc3_read_objects. Saves to outPath, or ".edited.w3x" beside the source if omitted (pass the source path to overwrite in place).

Inputs: mapPath (required), kind (required), data (required), outPath.

wc3_write_scriptWrite WC3 map scriptA

Replace the map script (war3map.j / war3map.lua) and save. Saves to outPath, or ".edited.w3x" beside the source if omitted.

Inputs: mapPath (required), content (required), outPath.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 35 tools

    Disambiguation5/5

    Each tool targets a unique resource and action (e.g., add_camera, delete_unit, read_terrain). Overlaps like list_doodads vs read_placements are clarified by descriptions focusing on different use cases (listing for modification vs comprehensive snapshot). No two tools serve the same purpose.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with the 'wc3_' prefix (e.g., add_camera, delete_doodad, read_script). No mixing of conventions (camelCase, etc.), making the pattern predictable and easy to understand.

    Tool Count2/5

    With 35 tools, this exceeds the 25+ threshold for 'too many' per the rubric. While the complex domain of Warcraft III map editing justifies many tools, the count is still high and could be streamlined. Some tools could be merged (e.g., list_* and read_* could be combined).

    Completeness4/5

    The tool set covers most major aspects: CRUD for units, doodads, regions, cameras, objects; script and trigger management; file handling; and testing/editor integration. Minor gaps exist (no terrain modification, no import management, no map info update), but these do not break core workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables Claude to design and build interactive 3D games within the Portals virtual platform through direct API integration. It facilitates automated asset placement, interaction logic configuration, and quest management using natural language commands.
      4
      -
    • A
      license
      B
      quality
      C
      maintenance
      Enables Claude to control Unreal Engine 5 editor, spawn actors, build materials, author Blueprints, and more, with zero plugin installation.
      31
      225 PyPI
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to drive a live GIANTS Editor 10.x (FS25) session with 59 tools for terrain editing, field creation, asset placement, map audits, and more through natural language.
      4
      MIT