wc3files
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Reads Warcraft III maps (.w3x, .w3m), models (.mdx, .mdl) and replays (.w3g) with wc3files. Start with list_files to find files, then map_info and list_members for a map. read_member gives one member as data; object_data, trigger_text and check_script answer questions about units, abilities, triggers and scripts. Every tool only reads. Files outside the folders the server was started with are refused, and so are protected maps.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_filesA | Find the maps (.w3x, .w3m), campaigns (.w3n), models (.mdx, .mdl) and replays (.w3g) the server may read, with their full paths and sizes in bytes. Call it first, to get the paths the other tools take. It lists at most 1000 files and sets truncated when there are more; narrow the search with folder or pattern. Only reads: it changes no file, and the same call on the same file gives the same result. |
| map_infoA | Read a map's summary from its war3map.w3i, with the map's strings resolved: name, author, description, suggested players, width and height, script language (JASS or Lua), the game and editor versions it was saved with, players with their race and type, forces, and the number of files in the map. Use it to answer what a map is; use read_member on war3map.w3i only for every raw field. Fails on a protected map and on a map without war3map.w3i. Only reads: it changes no file, and the same call on the same file gives the same result. |
| list_membersA | List the files a map holds (war3map.j, war3map.w3u, imported models and textures, ...) with their unpacked and stored sizes, read from the archive tables without unpacking anything. Use it to see what a map contains before read_member or model_info. Fails on a protected map. Only reads: it changes no file, and the same call on the same file gives the same result. |
| read_memberA | Read one file inside a map. For a format wc3files reads (war3map.w3i, w3e, doo, w3r, wts, wtg, wct, the object files and more) it returns the parsed data, for a script or text file its text, and for any other file only its size. Prefer the focused tools when they fit: map_info for war3map.w3i, object_data for the object files, trigger_text for war3map.wtg, check_script for the script and model_info for a model. A large result such as a whole terrain is refused past max_chars. Only reads: it changes no file, and the same call on the same file gives the same result. |
| object_dataA | Read the units, items, destructables, doodads, abilities, buffs and upgrades a map adds or changes, with the game's field names (such as goldcost, spd or abilList) and the map's strings resolved. Each kind has an original table, for standard objects the map changes, and a custom table, for new objects with their template_id. Use it to answer what a unit costs or what an ability does in a map; only the fields the map changes are listed, not the game's defaults. On a large map, ask for one object_type or some ids. Only reads: it changes no file, and the same call on the same file gives the same result. |
| trigger_textA | Read a map's GUI triggers as the World Editor shows them, one line per event, condition and action. Use it to explain what a map's triggers do. A large map's triggers run to hundreds of thousands of characters: start with names_only, then pass name. Triggers written as custom text are in the script; check_script or read_member on war3map.j reads them. Only reads: it changes no file, and the same call on the same file gives the same result. |
| check_scriptA | Check a map's JASS or Lua script against the game's natives and Blizzard functions, as |
| model_infoA | Read a model's summary: name, format (MDX or MDL), version, the names of its animation sequences, the textures it uses and its number of geosets. Use it to check which animations or textures a model has, in a model file or in a model imported into a map. For a map, member is required. Only reads: it changes no file, and the same call on the same file gives the same result. |
| replay_infoA | Read a replay's summary: game name, map, host, length in milliseconds, game version and build, whether it is from Reforged, and the players with their races. When the map records W3MMD results, it adds the winners and losers. Only reads: it changes no file, and the same call on the same file gives the same result. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
The tools mostly target clearly distinct WC3 artifact types: filesystem listing, map members, map summary, triggers, object data, scripts, models, and replays. The only overlap is intentional: read_member is a generic reader but its description explicitly says to prefer the focused tools when they fit.
All names use snake_case and are readable, but they mix verb_noun patterns such as list_files, read_member, and check_script with noun_info patterns such as map_info, object_data, model_info, and replay_info. The split is somewhat predictable by tool role, but it is not a single consistent naming convention.
Nine tools is well scoped for a read-only WC3 file inspection server. Each tool covers a distinct artifact or inspection task, and there is no obvious redundant tool bloating the set.
The server covers the main workflows for maps, map internals, object data, triggers, scripts, models, and replay summaries. Minor gaps remain, such as campaign-specific inspection despite campaigns being listed, and replay tools stop at summary-level information.