Skip to main content
Glama

Titan Rotation MCP

Даёт твоему ИИ (Claude Code, Codex, Cursor, Claude Desktop) знания Titan SDK, проверенные spell ID и валидатор Lua — чтобы ротация для любого класса и спека делалась одним промтом.

Сделай ротацию для монка-хила

ИИ сам вызывает инструменты, собирает Lua и проверяет код. Ты платишь только за свою подписку — никаких сторонних ключей и серверов.

English below


Установка

Нужны Node.js 18+ и компилятор Lua (для проверки синтаксиса).

# Debian/Ubuntu
sudo apt install lua5.4
# macOS
brew install lua
# Windows
scoop install lua

Добавь сервер в конфиг своего клиента.

Claude Code (~/.claude/mcp.json или .mcp.json в проекте):

{
  "mcpServers": {
    "titan": {
      "command": "npx",
      "args": ["-y", "titan-rotation-mcp"]
    }
  }
}

Claude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json) — тот же блок.

Или поставить глобально:

npm install -g titan-rotation-mcp
{
  "mcpServers": {
    "titan": { "command": "titan-rotation-mcp" }
  }
}

Проверить, что запускается:

npx -y titan-rotation-mcp
# Titan Rotation MCP v1.0.0 запущен (stdio). Lua-компилятор: luac5.4

Related MCP server: wow-vanilla-mcp

Как пользоваться

Просто попроси ротацию:

Сделай ротацию для Mistweaver Monk

Ротацию для гардиан друида, с настройками дефансивов

Ротация для рестор шамана, Lay on Hands-подобные кнопки — выбор цели через настройку

ИИ вызовет titan_start_rotation, получит всё нужное одним ответом (identity, роль, приоритеты, spell ID, шаблон), напишет Lua и проверит через titan_validate_rotation. Готовый код вставляешь в Titan.

Понимает синонимы: mw, resto, prot, bear, boomkin, dk, dh.


Что внутри

Поддержаны все 40 спеков 13 классов, включая Devourer (третий спек Demon Hunter в Midnight). Spec ID и роли сверены с игровыми данными DB2.

Инструмент

Зачем

titan_start_rotation

Всё для старта одним вызовом: identity, роль, приоритеты, ID, шаблон

titan_get_role_blueprint

Порядок принятия решений для healer / tank / dps

titan_get_spec_data

SimC APL + числовые spell ID

titan_resolve_spell_ids

ID по именам способностей (для спеков без APL)

titan_get_settings_format

Формат настроек в Lua (bool/int/enum, группы)

titan_get_healing_primitives

Рабочий Lua: выбор цели, heal absorb, политики таргетинга

titan_validate_rotation

Синтаксис + существование API + полнота по роли

titan_list_api_methods

455 методов с сигнатурами

titan_get_signature

Сигнатура одного метода

titan_list_docs / titan_get_doc / titan_search_docs

Документация SDK (24 темы)

titan_get_template

Канонический шаблон модуля

titan_get_example

Эталонная ротация Holy Paladin (1205 строк)

titan_list_specs

Все классы и спеки с id и ролями


Почему это работает лучше, чем «просто спросить ИИ»

Выдуманные методы отклоняются. Валидатор сверяет каждый вызов api.* с реестром из 455 реальных методов. Написал api.get_lowest_health() вместо api.get_lowest_unit() — получит ошибку и исправит сам.

Spell ID берутся из игровых данных, а не из памяти модели. Резолвер тянет DB2-дампы с wago.tools и ограничивает поиск пулом заклинаний класса (спеллбук + дерево талантов). Поэтому thrash у друида не превращается в чужой одноимённый спелл — из 74 кандидатов по имени остаются только те, что реально есть у класса.

Приоритеты — из SimulationCraft, с актуальной ветки и версии клиента, а не «как было в прошлом аддоне».

Для хилов честно сказано, что источника истины нет. В SimC 34 файла APL, и лечения там нет: симулятор считает урон по неподвижной цели, а лечение реактивно. Единственный «хилерский» APL — druid_restoration, где вся лечебная часть это strict_sequence:regrowth:regrowth:regrowth:regrowth, остальное DPS в кошке. Вместо того чтобы дать ИИ выдумывать, MCP отдаёт blueprint роли: порядок принятия решений, какими методами, что должно быть настройкой игрока, какие ошибки типичны.

Ролевая проверка ловит пустышки. Ротация хила без выборки цели лечения компилируется прекрасно и не лечит. Такое отклоняется как ошибка, а не пропускается:

VALID: false
✓ Синтаксис Lua OK (luac5.4)
✗ РОЛЬ: Нет выбора цели лечения (get_lowest_unit / get_group /
  get_friendly_units_with_range). Хил, который лечит только текущую цель,
  в рейде бесполезен.

Для танка так же: нет active mitigation или контроля агро — ошибка. SimC APL этот слой не описывает вообще, потому что не моделирует входящий бурст.

Формат настроек — реальный. Официальная дока описывает только C++ (SettingsSchema, make_enum); в Lua он не работает. MCP отдаёт формат, который действительно применяется, включая enum для политик игрока:

{ id = "loh_mode", type = "enum", label = "Lay on Hands", default = 1,
  group = "lay_on_hands",
  enum_options = {
      { value = 0, label = "Не использовать" },
      { value = 1, label = "Только на себя" },
      { value = 2, label = "Только на танка" },
      { value = 3, label = "Себя и танка" },
      { value = 4, label = "На всех" },
  } },

Работает автономно

Все данные считаются на твоей машине: SimC-приоритеты идут напрямую с GitHub, spell ID — с wago.tools. Никаких промежуточных серверов, никакой телеметрии, никаких ключей.

Первый резолв ID качает ~14 МБ DB2-таблиц в ~/.titan-mcp/cache и живёт неделю. Дальше мгновенно. Кэш переносится через TITAN_CACHE_DIR.


Разработка

git clone https://github.com/brooke19931993-glitch/titan-rotation-mcp.git
cd titan-rotation-mcp
npm install

npm test              # юнит-тесты (без сети)
node test/e2e.mjs     # живой прогон через stdio (нужна сеть)

Оговорки

  • Инструмент помогает писать код; за использование сторонних аддонов в игре ответственность на тебе.

  • Spell ID меняются с патчами. Кэш сам обновляется через неделю, принудительно — удали ~/.titan-mcp/cache.

  • Неоднозначные ID (несколько кандидатов внутри класса) отдаются списком: выбор за ИИ или за тобой, проверяй на Wowhead.

  • Blueprint роли — это каркас и порядок решений, а не готовый тюнинг под конкретный рейд. Пороги настраиваются в игре.


English

MCP server that gives your AI (Claude Code, Codex, Cursor) the Titan addon SDK knowledge, verified spell IDs and a Lua validator — so a combat rotation for any class and spec can be made from a single prompt.

Write a rotation for Mistweaver Monk

Install

Requires Node.js 18+ and a Lua compiler (sudo apt install lua5.4 / brew install lua / scoop install lua).

{
  "mcpServers": {
    "titan": {
      "command": "npx",
      "args": ["-y", "titan-rotation-mcp"]
    }
  }
}

Why it beats asking an AI directly

  • Invented API methods are rejected — every api.* call is checked against a registry of 455 real methods.

  • Spell IDs come from game data (wago.tools DB2), scoped to the class spell pool, not from model memory.

  • Priorities come from SimulationCraft, current branch and client version.

  • For healers it admits there is no source of truth. SimC has 34 APL files and none of them model healing (the only "healer" APL, druid_restoration, reduces healing to strict_sequence:regrowth:regrowth:regrowth:regrowth). Instead of letting the AI invent priorities, the server provides a role blueprint: decision order, which API methods to use, what must be a player setting, and common mistakes.

  • Role validation catches empty shells. A healer rotation with no ally targeting compiles fine and heals nobody — that is reported as an error, not a warning. Same for tanks missing active mitigation.

  • The settings format is the real one. Official docs only describe the C++ API, which does not work in Lua.

All data is computed locally: SimC from GitHub, spell IDs from wago.tools. No intermediate servers, no telemetry, no API keys. First ID resolve caches ~14 MB of DB2 tables in ~/.titan-mcp/cache for a week.

All 40 specs across 13 classes are supported, including Devourer (the third Demon Hunter spec in Midnight). Spec IDs and roles are verified against DB2 game data.

License

MIT

Available Tools

15 tools
titan_get_docB

Полная документация по теме (aura, spell, player, group…).

Inputs: topic (required).

titan_get_exampleB

Полная рабочая ротация Holy Paladin (1205 строк) — эталон паттернов: настройки, enum-политики, очередь спендеров, диспел. Большой файл: запрашивай section, чтобы получить часть.

Inputs: section.

titan_get_healing_primitivesA

Готовый рабочий Lua-код примитивов лечения: перебор союзников, эффективное HP с учётом heal absorb, выбор цели, поиск танка, резолвер enum-политики таргетинга (не использовать / себя / танка / себя и танка / на всех), диспел. Вставляй как есть и надстраивай спек-специфику — не переписывай заново.

Inputs: no named parameters.

titan_get_role_blueprintA

Порядок принятия решений для роли (healer / tank / dps): что проверять и в каком порядке, какими методами API, что должно быть настройкой игрока, и типичные ошибки. Для хилов это ЗАМЕНА отсутствующего SimC APL — источника истины «что кастовать когда» для лечения не существует.

Inputs: role (required).

titan_get_settings_formatA

Формат настроек ротации в Lua (bool/int/float/enum, группы, apply). ОБЯЗАТЕЛЬНО прочитай перед добавлением настроек: официальная документация описывает только C++ API (SettingsSchema, make_enum), в Lua он не работает. Здесь реальный рабочий формат, включая enum для выбора политики игроком.

Inputs: no named parameters.

titan_get_signatureC

Точная сигнатура одного метода API.

Inputs: method (required).

titan_get_spec_dataA

SimC APL (приоритет с условиями) + числовые spell ID для класса/спека. ВАЖНО: для хилов APL в SimulationCraft не существует (кроме druid_restoration, где лечение сведено к одной строке) — в этом случае apl_available=false, и надо использовать titan_get_role_blueprint. Titan работает только по числовым ID.

Inputs: spec (required), class (required), resolve_ids.

titan_get_templateB

Канонический шаблон модуля ротации: структура, обязательные callback'и.

Inputs: no named parameters.

titan_list_api_methodsA

Все методы Titan API с сигнатурами. Фильтр по подстроке. Проверяй здесь имена перед использованием — выдуманные методы валидатор отклонит.

Inputs: filter.

titan_list_docsB

Список тем документации Titan SDK.

Inputs: no named parameters.

titan_list_specsA

Все поддерживаемые классы и спеки с ролями и id. Полезно, если название спека не распознано.

Inputs: no named parameters.

titan_resolve_spell_idsA

Числовые spell ID по списку имён способностей (snake_case, как в SimC: renewing_mist, thunder_focus_tea). Для спеков без APL — основной способ получить ID. Резолв идёт по данным игры в порядке: спеллбук спека, дерево талантов, класс — и разворачивает замены (у Holy Paladin judgment = 275773, а не базовый 20271). ВСЕГДА передавай spec: без него у мультиспековых классов часть кнопок разрешится в ID чужого спека.

Inputs: class (required), spells (required), spec.

titan_search_docsA

Полнотекстовый поиск по всей документации SDK.

Inputs: query (required).

titan_start_rotationA

ВЫЗЫВАЙ ЭТО ПЕРВЫМ для любого запроса «сделай ротацию для <класс> <спек>». Возвращает всё нужное одним вызовом: identity (class_id/spec_id), роль, порядок принятия решений для этой роли, числовые spell ID, SimC APL если он существует для спека, шаблон модуля и формат настроек. Дальше пиши Lua и обязательно проверь через titan_validate_rotation.

Inputs: spec (required), class (required).

titan_validate_rotationA

ВСЕГДА вызывай перед выдачей финального кода. Проверяет: синтаксис Lua, существование всех api./action. вызовов, и полноту по роли (хил без выборки цели лечения или танк без mitigation — ошибка, а не предупреждение). Передавай role, иначе ролевые проверки не выполнятся.

Inputs: lua (required), role.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 15 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, but overlap exists between titan_start_rotation and the individual getters (spec_data, role_blueprint, template, settings_format) since start_rotation returns all of those. Descriptions mitigate this by positioning start_rotation as the entry point, so confusion is limited.

    Naming Consistency5/5

    All tool names follow a consistent pattern of titan_<verb>_<object>, using snake_case throughout. Verbs like list, get, resolve, search, and validate are applied uniformly, making the naming predictable and easy to navigate.

    Tool Count5/5

    With 15 tools, the server sits at the upper edge of the well-scoped range. Each tool serves a distinct role in the rotation-development workflow, from data retrieval to validation, without feeling bloated.

    Completeness5/5

    The tool surface covers the entire workflow for creating a WoW rotation: discovering specs, retrieving role-specific blueprints, resolving spell IDs, accessing API docs and templates, and validating the final code. No critical steps are missing for the stated purpose.

    Related MCP Connectors

    • Teamfight Tactics data & AI coaching for Claude and ChatGPT — 19 tools, built-in Riot key.

    • Everything about World of Warcraft: Forever, in the chat app you already use. Anything you'd look up is already in your chat. Close your other tabs. Why thott.bot? - Everything, connected. Quests, items, recipes, NPCs and maps are linked: what a quest needs, where that item drops, where you turn it in, what it crafts. Your AI gets the whole picture in one place, not scraps from dozens of random sites. - Current to the minute. Every new build, patch and hotfix reaches thott.bot within minutes of landing, even the silent ones. - Straight from Blizzard. Game facts come from Blizzard's own files and posts, not old guides or forum guesses. Community guides are labeled as such. What it knows: - Your characters: link Battle.net and your AI knows the characters you actually play, their gear, talents, quests and more, updated every time you log out. - Patch notes and changes: every build and hotfix, and exactly what each changed. - Quests and leveling: every quest, its chain, route and rewards, and leveling guides. - Talents and builds: the builds players run right now, counted daily from millions of real characters at every level, every spec's talent pick rates, and every talent change. - Spells and abilities: every spell and ability, and every change to each. - Classes and races: every class, race and racial, and what Forever changed for each. - Items and gear: every item and item set, where it drops and who sells it. - Crafting and professions: every profession, recipe and reagent, what each reagent makes, and profession leveling guides. - Auction house: live prices on every WoW Forever auction house, hourly. - The world: zones, maps, flight paths, dungeons, raids and bosses, battlegrounds. - Collections: mounts, pets, toys, achievements, reputations and holidays. - Interface and addons: every setting, key binding and chat command, the addon API and banned addons. - Blizzard news: news and developer posts (blue posts) from the official forums. In ChatGPT and Claude, ask to see it: your characters' sheets with the gear and stats they logged out with, the game's own tooltips, clickable talent trees, quest chains, maps and before-and-after cards. For every WoW Forever player, from first-timers to theorycrafters and addon developers.

      https://mcp.thott.bot/mcp
    • Connect any AI to your Foundry VTT world: actors, combat, dice, journals, tokens, compendiums.

      https://foundry-mcp.com/mcp
    • Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.

      https://api.airpipe.io/mcp

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides comprehensive World of Warcraft guild analytics, player character analysis, and auction house market data through the Blizzard Battle.net API. Supports both Retail and Classic WoW with real-time market insights, guild roster management, and demographic analytics.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to search and retrieve documentation for Vanilla World of Warcraft Lua APIs, including function signatures, categories, protected flags, and addon scaffolding.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to write and debug World of Warcraft: Infinite addons end-to-end: statically checking Lua, .toc and XML against the client's own API manual, hot-loading changes into the running game, then executing Lua or slash commands and reading back errors with stacks, print output, events, frame info and screenshots. Also records events, inspects frames and keeps versioned history with one-click rollback.
      25
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search and read Wowhead content across every World of Warcraft version, including items, drops, quests, NPCs, spells, guides, news, and patch notes, through read-only tools that require no account or API key.
      3
      MIT