wow-api-mcp

v0.2.25
@nighthawk42/wow-api-mcp Checked 5 days ago Published 22 hours ago

MCP server exposing the World of Warcraft addon API (Blizzard generated documentation, FrameXML source, and Warcraft Wiki) across every wow-ui-source track —…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_flavors List WoW flavors

List every client flavor (wow-ui-source track) this server carries, with its game build, TOC interface version, upstream commit, and API counts. Use it to pick a `flavor` argument.

ParameterTypeDescription
linestringRestrict to one game line

list_systems List API systems

List API systems (namespaces) for a flavor. Optionally filter by a case-insensitive substring of the system or namespace name.

ParameterTypeDescription
filterstringSubstring filter on system/namespace name
flavorstringWhich client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic…

search_api Search WoW API

Fuzzy full-text search over API functions, events, and tables (enums/structures/constants) for a flavor. Searches names, systems, and documentation. Example queries: "C_Timer After", "unit health", "spell cooldown".

ParameterTypeDescription
query *stringSearch terms (names tokenize on _ . and camelCase)
flavorstringWhich client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic…
kindstringRestrict result kind
limitinteger

get_api Get API details

Full documentation for a function, event, or table by name — signature, typed arguments/returns/payload/fields, and cross-flavor availability. Accepts qualified names ("C_Timer.After"), bare names ("After"), or event literals ("PLAYER_ENTERING_WORLD"). Case-insensitive.

ParameterTypeDescription
name *stringAPI name, qualified or bare
flavorstringWhich client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic…

diff_api Compare one API across flavors

Compare an API's existence and signature across flavors. Useful to check whether an API exists in a given client and whether its signature drifted between retail, classic, and the test realms.

ParameterTypeDescription
name *stringAPI name, qualified or bare
flavorsarrayFlavors to compare (default: every flavor that has the API, plus the release flavors)

diff_flavors Diff two flavors' API surface

List APIs added or removed between two flavors — e.g. what the retail PTR gained over live, or what retail has that Classic Era lacks. Answers 'is this API safe to use on <client>' in bulk.

ParameterTypeDescription
directionstringadded = in `to` only; removed = in `from` only
filterstringCase-insensitive substring filter on the API name
fromstringBaseline flavor. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic PTR), classic…
kindstring
limitinteger
tostringFlavor to compare against the baseline. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr…

detect_wow_install Detect installed WoW clients

Find World of Warcraft installations on this machine and report, for each installed client (_retail_, _ptr_, _classic_, _classic_era_, ...), its Blizzard product code, exact game build, TOC interface number, and which API flavor to use for it. Call this first when working in an addon project so later API lookups target the right client. Build numbers come from `.build.info`, falling back to the client executable's version resource.

ParameterTypeDescription
pathstringAny path inside a WoW installation (install root, a `_retail_` folder, or an addon directory). Omit to probe the usual install locations and $WOW_INSTALL_PATH.

resolve_flavor Resolve a build to an API flavor

Work out which API flavor matches a game build, a TOC interface number, a Blizzard product code, or a path inside a WoW install / addon folder. Use this when you know what the addon targets ("## Interface: 110107", a `.toc` file, a build string) but not which flavor ID to query.

ParameterTypeDescription
interfaceVersionTOC interface number, e.g. 120100 or "110107"
pathstringPath to a `.toc` file, an addon directory, or anywhere inside a WoW install
productstringBlizzard product code, e.g. "wow", "wow_classic_era", "wowt"
versionstringGame build, e.g. "12.1.0.69814" or "1.15.9"

check_addon_compatibility Check an addon's API usage against a flavor

Read an addon's `.toc` files, resolve the flavor(s) it targets, and report the game build and API data the server will use for each. Point it at an addon directory or a `.toc` file.

ParameterTypeDescription
path *stringAddon directory or `.toc` file path

search_wiki Search Warcraft Wiki

Search warcraft.wiki.gg — community documentation for the WoW addon API, UI widgets, events, TOC format, CVars, and guides. Returns page titles to use with get_wiki_page.

ParameterTypeDescription
query *stringSearch terms, e.g. "TOC format" or "SecureActionButtonTemplate"
limitinteger

get_wiki_page Get Warcraft Wiki page

Fetch a warcraft.wiki.gg page as markdown (cached ~24h). Useful pages: "TOC format", "World of Warcraft API", "Events", "Widget API", "API <FunctionName>" for per-function pages, "UIHANDLER <OnEvent>" for script handlers.

ParameterTypeDescription
title *stringPage title, e.g. "TOC format" or "API C_Timer.After"
maxCharsintegerTruncate output beyond this length

search_source Search Blizzard UI source

Regex search (POSIX ERE, via git grep) over Blizzard's FrameXML/AddOn UI source code for a flavor — the best way to learn how Blizzard implements UI patterns (templates, mixins, secure code). The first search per flavor downloads a ~200 MB source checkout and may take a minute.

ParameterTypeDescription
pattern *stringRegex, e.g. "SecureActionButtonTemplate" or "function UIParent_[A-Za-z]+"
fixedStringbooleanTreat the pattern as a literal string rather than a regex
flavorstringWhich client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic…
ignoreCaseboolean
maxResultsinteger
pathGlobstringLimit to paths matching a glob, e.g. "Interface/AddOns/Blizzard_ActionBar/**/*.lua"

list_source_files List Blizzard UI source files

List source files matching a path glob, e.g. `**/Blizzard_ActionBar*/**` or `**/*Mixin*.lua`. Useful for locating the right addon folder before reading files.

ParameterTypeDescription
glob *stringPath glob, e.g. "Interface/AddOns/Blizzard_UnitFrame/**"
flavorstringWhich client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic…
limitinteger

get_source_file Read Blizzard UI source file

Read a file (or list a directory) from Blizzard's UI source for a flavor, with line numbers. Paths are repo-relative, e.g. "Interface/AddOns/Blizzard_UIParent/Blizzard_UIParent.lua".

ParameterTypeDescription
path *stringRepo-relative file or directory path
endLineinteger
flavorstringWhich client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic…
startLineinteger