war.app (Warzone) game advisor — games, maps, bonuses, routes, live board, picks, turns and chat
About
war.app (Warzone) game advisor — games, maps, bonuses, routes, live board, picks, turns and chat
Security Report
Valid MCP server (2 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (84/85 approved); 6 highly-trusted packages.
3 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: WARAPP_EMAIL
Environment variable: WARAPP_API_TOKEN
Environment variable: WARAPP_WS_PORT
Environment variable: WARAPP_ENV_FILE
Environment variable: WARAPP_TRANSPORT
Environment variable: WARAPP_SESSION_FILE
Environment variable: WARAPP_PLAYER_RECORD
Environment variable: WARAPP_PLAYER_PROFILE
Environment variable: WARAPP_CHAT_AUTOMATION
Environment variable: WARAPP_CHAT_BLOCKS_TURN
Environment variable: WARAPP_TIMEZONE
Environment variable: WARAPP_DECISION_LOG
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"warapp-mcp": {
"command": "npx",
"args": [
"-y",
"@chrischall/warapp-mcp@0.26.0"
],
"env": {
"WARAPP_EMAIL": "your-warapp-email-here",
"WARAPP_WS_PORT": "your-warapp-ws-port-here",
"WARAPP_ENV_FILE": "your-warapp-env-file-here",
"WARAPP_API_TOKEN": "your-warapp-api-token-here",
"WARAPP_TRANSPORT": "your-warapp-transport-here",
"WARAPP_SESSION_FILE": "your-warapp-session-file-here",
"WARAPP_PLAYER_RECORD": "your-warapp-player-record-here",
"WARAPP_PLAYER_PROFILE": "your-warapp-player-profile-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
warapp-mcp
war.app (Warzone) game advisor MCP server for Claude. It reads your games through war.app's per-player GameFeed API and helps you think about them: players and settings, the map's bonuses and chokepoints, the board, and routes between territories. Through your signed-in war.app browser tab it also lists your games (the ones waiting on you first), scouts an opponent (their record and your head-to-head), reads the live board (including the pick phase, where GameFeed has none), your territory picks and your cards, plans your turn, tells you when a game is waiting on you (war.app's push notifications), and — only after you confirm — submits picks, commits your turn's orders (card plays included) and posts game chat.
This project was developed and is maintained by AI (Claude Code). Use at your own discretion.
Setup
-
Sign in to war.app in a browser and open https://war.app/API/GetAPIToken to see your API token. Changing your war.app password rotates it.
-
Add the server to your MCP client:
{ "mcpServers": { "warapp": { "command": "npx", "args": ["-y", "@chrischall/warapp-mcp"], "env": { "WARAPP_EMAIL": "you@example.com", "WARAPP_API_TOKEN": "<your token>" } } } } -
Call
warapp_healthcheckto confirm war.app accepts the credentials. -
For the live-game tools, set up the browser bridge (below).
| Variable | Required | |
|---|---|---|
WARAPP_EMAIL | yes | The email address you sign in to war.app with. |
WARAPP_API_TOKEN | yes | Your API token from https://war.app/API/GetAPIToken. |
WARAPP_ENV_FILE | no | A dotenv file to read the two above from (default ~/.config/warapp-mcp/.env). Values already in the environment win. |
WARAPP_WS_PORT | no | The fetchproxy bridge port (default 37149, shared by the whole fetchproxy fleet and ContextMint Bridge). Override it only for local testing, or when a host injects a per-registration port. |
WARAPP_TRANSPORT | no | How the live-game tools reach war.app: auto (default — try the chrome-less direct transport when a session is linked, else the browser bridge), direct (only direct), or fetchproxy (only the browser bridge, today's behaviour). See Direct transport. |
WARAPP_SESSION_FILE | no | Where the linked direct-transport session is stored (default <data dir>/session.json). Local-only; a full-account credential, kept at file mode 0600. Its directory is made 0700, so name a file in a directory of its own. |
WARAPP_AUTH_TOKEN | no | Hosted only, set by mcp-host: the war.app session cookie its sign-in captured (a full-account credential, held in memory, never stored or shown). Ignored on a local install. See Direct transport. |
WARAPP_STATS | no | 1 turns on warapp_map_stats on a local install (off by default; always off when hosted). It then fetches finished ladder games — at most max_new_games a call, one request a second — and caches them under <data dir>/stats/. |
WARAPP_PLAYER_PROFILE | no | Opponent profiling (on by default, locally and hosted; off turns it off): what each opponent did on the turns your boards showed, as counts (gameplay only — no name, chat or time of play), kept per game under <data dir>/profiles/games/ for warapp_profile_opponents, and folded when a game finishes into name-free cross-game counts (profiles/players.json, keyed by a salted hash shared with the player record; profiles/population.json, pooled by format and for AI seats) that fade per game. It also switches off the end-of-game pass (#312): once per finished game you played, its history read once and kept name-free at <data dir>/finished/<hash>.json (its boards included, owners by the same salted hash, no clock; at most 500), then folded into the profiles, into a per-map record (<data dir>/maps-record/<mapId>.json: outcomes, your start and income curve, the winner's start and pace after turns 4 and 8) and into the lessons (<data dir>/lessons.json: how each game was lost, when your income went flat, and the tracked estimates against the true incomes, aggregates only). |
WARAPP_DECISION_LOG | no | The per-turn decision log (on by default): off writes nothing; full keeps every turn whole once a game ends (no compaction). See Decision log. |
WARAPP_CHAT_AUTOMATION | no | Automated chat replies: off (default, hosted too) or on. Off, chat is still read, labelled and advised on, and you send every reply; an agent's automated: true send is refused. On, each advice with a draft carries the exact warapp_send_chat arguments in send, and the send still waits for your confirmation. See Chat advice. |
WARAPP_CHAT_BLOCKS_TURN | no | Chat can block a turn: off (default, hosted too) or on. Unread messages that may change the turn (a truce message from a partner, a threat aimed at you from a neighbour, a surrender waiting on your acceptance, a teammate asking about this turn) are listed as warapp_plan_turn's chat.chatBlocks. Off, warapp_submit_turn's preview only warns (chatWarnings); on, it refuses until they are marked seen or it is sent with chat_reviewed: true (recorded as chatReviewed). See Chat advice. |
WARAPP_TIMEZONE | no | Your IANA time zone (e.g. America/New_York). When set, every timestamp in a tool's answer (chat and notification times, game, turn and end-of-game times) gains a sibling in that zone — time → localTime, lastTurnTime → lastTurnLocalTime, any other → <field>LocalTime, e.g. "Tue 24 Nov, 6:14 am EST" — and the UTC field is kept unchanged. Unset: no change; not a zone: ignored, with one note on stderr. Hosted, set it on the mcp-host registration (each user's child reads its own). |
WARAPP_DEBUG | no | Truthy logs the bridge's role and lifecycle to stderr. |
MCP_DATA_DIR | no | Where this server keeps its local state (default ~/.config/warapp-mcp): the downloaded war.app client bundle (bundle/), GameFeed maps (maps/), each planned game's name-free settings (games/), the board history (boards/) and the rest of its per-game records. A host with persistent state sets it. |
MCP_CONFIRM_MODE | no | What a write does on a client that cannot show a confirmation prompt: ask-user (default), auto or refuse. See Confirming writes. |
The server starts without credentials and reports what is missing on the first call that needs them.
The browser bridge (live-game tools)
GameFeed has no list of your games, no player profiles, no live board during the pick phase,
no picks and no way to post chat. Those come from war.app's own web client (its protocol and
its profile pages), which is authenticated by your browser's war.app session rather than by
the API token. So the live-game tools — warapp_my_games, warapp_scout_player,
warapp_get_live_board, warapp_get_my_picks, warapp_get_my_orders, warapp_plan_picks, warapp_submit_picks, warapp_plan_turn, warapp_check_plan,
warapp_track_opponents, warapp_locate_opponents, warapp_profile_opponents, warapp_get_team, warapp_team_brief, warapp_submit_turn, warapp_uncommit_turn, warapp_leave_game, warapp_send_chat, warapp_wait_for_turn, and warapp_analyze_board
when GameFeed sends no board — relay each request through your signed-in war.app tab with the fetchproxy bridge.
They need:
- the ContextMint Bridge browser extension, and
- a war.app tab in that browser, signed in to the same account as
WARAPP_EMAIL.
The server never sees your war.app password or session cookies; the tab makes the request
and hands back the answer. The tools decode the board with war.app's own client code: the
first live call downloads the current client bundle (ujs.js) from War.app's CDN and caches
it per version under the data directory. Nothing from war.app is shipped in this package.
Pairing (once)
- Install ContextMint Bridge and sign in to https://war.app in that browser.
- Ask Claude for something live, e.g. "show me the live board of game 12345678". The first call that needs the bridge answers with a pair code.
- Approve that code in the ContextMint Bridge popup. The trust persists across restarts in
~/.fetchproxy/identity/. After that,warapp_healthcheckreports the bridge's status too.
More than one browser? Approve the code in the browser that holds your war.app session.
Paired the wrong one? Revoke warapp-mcp in the ContextMint Bridge popup, run
fpx trust clear warapp-mcp (from @fetchproxy/cli),
restart the server and pair again.
Direct transport (no browser)
By default the live-game tools relay every request through your signed-in war.app tab. You can instead let them talk to war.app directly, with no browser involved, by linking your session once:
- Call
warapp_link_session(confirm-gated). With a signed-in war.app tab paired to the bridge, it captures your war.app session cookie once and stores it on this machine only (<data dir>/session.json, file mode0600;WARAPP_SESSION_FILEoverrides the path). - After that, with
WARAPP_TRANSPORT=auto(the default), every live call is a plain server-side HTTPS request carrying that session — no Chrome tab needed, including the turn-notification socket. If the session expires, the tools automatically fall back to the browser bridge for the rest of the session andwarapp_session_statustells you to runwarapp_link_sessionagain.
warapp_session_status reports whether a session is linked, how old it is, and which transport is
active. warapp_healthcheck reports the same.
Security. The stored session cookie is a full-account credential — anything your war.app account can do, it can do. It never leaves this machine (it is sent only to war.app), is never logged, and is never shown in a tool result. Use direct mode only on a machine you control;
rmthe session file (or let it expire) to unlink.
Hosted (mcp-host). A hosted server never stores a session file and never offers
warapp_link_session. It rides the direct transport only when mcp-host signed it in to war.app:
the host captures war.app's session cookie into the per-user secret WARAPP_AUTH_TOKEN (your
war.app password is asked once at sign-in and never stored), and the server holds it in memory,
falling back to the browser bridge if it stops working. warapp_session_status then reports
linked: true with linkedBy: "host" (no capture time or age), and a signed-out session says to use
Sign in on the connection, or to reconnect it; a paired war.app tab works meanwhile. Without that token the hosted
server uses the browser bridge, as before. (The war.app sign-in mcp-host runs is
docs/examples/warapp-auth-flow.json, one password page; its capture calls warapp_sign_in, a hosted-only tool that
signs in to war.app once and returns the session cookie to the host. mint.yaml declares it as auth.flow; a
registration that does not carry it uses the browser bridge.) The trade-off: once a registration carries the
flow, every new connection needs one successful war.app password sign-in. Any failed sign-in, not only a wrong
password (a captcha, a war.app outage, a network fault), ends the login with no connection, and may clear the fields
already entered; an account that signs in through Facebook, with no war.app password, cannot connect. The browser
bridge stays the fallback only for a connection made before the flow was added and for a session that expires later.
Locally WARAPP_AUTH_TOKEN is ignored.
Tools
| Tool | |
|---|---|
warapp_healthcheck | Check that war.app accepts your email and API token; report the active transport and whether a direct session is linked. |
warapp_my_games | Your games (through your signed-in tab), games waiting on you first: state, turn, players and who has committed, and waitingOnYou; surrenderPending per game (another player's surrender still pending, owedByMe true when it waits on your acceptance; read from the game details, unverified live; null when not read, never "none") and as a top-level count of games where one waits on you, which come first too (compact only). Finished games only with include_finished; listed (games war.app returned) and complete (false, with a warning, when the list may be partial). Each call also runs the end-of-game pass (as warapp_get_game does) on up to two of your finished games not yet processed, newest first, among your newest 250 finished games (endOfGame: processed, pending). view: compact / brief. |
warapp_list_open_games | Open games you could join, from war.app's Open Games page: pace, boot time, seats, team or not, entry fee, cards, rules (One Army Must Stand Guard on or off among them), plannerGaps (rules the planner does not model yet; a guard-off game is not one: the planner keeps a second line, raids and retakes with the guard off, a raid or retake sized for its owner's deploy there), joined: true on games you already hold a seat in, lottery (from the data, never the name: true for a map of at most four territories — its size read from GameFeed only for lobbies with base income 0 and overridden bonuses, at most five a call, or from a map already cached — null for that settings shape with the map size unread; lotteryBasis says which), and policyBreaks: the joining-policy rules a game breaks (Commerce, mods, custom scenarios, more than four seats, a boot time under 12 hours, a lottery (a likely one too); advisory). Filters: pace, max_players, free_only, exclude_teams, limit. A page GET, so it works without a browser once a session is linked. |
warapp_list_templates | Game templates: your own saved ones, or those with the given ids — id, name, description, map, category, fog; free_mod_game: true adds your free-mod-game status (Available, Reserved or Used, and the coins per player otherwise). Read from war.app's client code, unverified live. |
warapp_get_template | One template with its settings (kill rates, luck, fog, move order, distribution, base income, cards, the army cap, mods, overrides, boot times, ranked, real time) and cannotCreate: what stops warapp_create_game using it. Read from war.app's client code, unverified live. |
warapp_create_game | Writes. Create a game from a template, its settings exactly the template's (only the name can change), inviting you, the invite players, open_seats and ai_seats — or, with invite_link: true, joined by an invite code war.app makes. Confirm-gated; the preview spells out the settings and names every seat by id; refuses custom scenarios, coin fees and single-player templates. Reports created with the new gameId once GameFeed shows you seated, else unconfirmed, or unknown when war.app did not answer (never resent). Read from war.app's client code, unverified live. |
warapp_join_game | Writes. Take an open seat in a game from the open games list. Confirm-gated; refuses a lobby that breaks the joining policy (Commerce, mods, custom scenarios, costly neutrals, more than four seats, a short boot time, lotteries, Local Deployment, Commanders, No-Split, an army cap, Multi-Attack, non-default kill rates) unless override_policy: true (#423); refuses team games and coin entry fees unless allowed (allow_team, accept_entry_fee; team picks a team by number and implies allow_team — refused when that team is full or not offered, with random teams, and outside a team game; the preview's team lists the teams offered and the seats on the chosen one by in-game id, human or ai; the team is sent as the chosen open seat's team, read from the client bundle and unverified live), and custom-scenario and mod games and games you already joined always. Joins with your preferred colour, else your secondary, else a free standard colour (or color, a war.app colour index). The preview adds a screen from the lobby's GameFeed settings — does the cheapest neutral cost at most one turn of base income — and flags Light Fog and costly neutrals in plannerGaps, plus lottery and policy: whether the lobby keeps the joining policy (the rules above plus that neutral cost and no lottery; advisory, never a refusal). Reports joined only once GameFeed or your games list shows you in the game. |
warapp_accept_invite | Writes. Accept an invitation to a game warapp_my_games lists with your seat Invited (war.app's AcceptGame; read from the client bundle, UNVERIFIED live). Confirm-gated; refuses a game not in your list, a seat no longer invited, mod games, and a coin entry fee unless accept_entry_fee. The preview shows the game as warapp_list_open_games does and policy, the joining policy warapp_join_game applies: each rule the game breaks is reported, never refused, since an invitation is your choice. Accepts with your preferred colour, else your secondary, else a free one (or color; none when the host locked yours in). Reports accepted only once GameFeed or your games list shows you seated. Decline an invitation with warapp_leave_game. |
warapp_get_game_by_invite_code | The game an invite code names (war.app's GetGameByInviteCode; UNVERIFIED live): found: false for an unknown code, gameId: null while the code's game is not made yet, else the game id, url, the code's player cap and, when the open games list or your games list carries it, the game as warapp_list_open_games shows it (with policyBreaks). Joining through a code is not built. Read-only. |
warapp_leave_game | Writes. Leave a game that has not started — a lobby still WaitingForPlayers — giving up your seat (war.app's DeclineGame, the lobby's Decline button; verified live for a lobby joined through an open seat). It also declines an invitation to such a game (your seat Invited; the same call, UNVERIFIED live for an invitation), reported declined once your games list no longer shows the invitation. Confirm-gated; refuses a game that has started (surrender it instead), a lobby you hold no seat or invitation in, and mod games. The preview warns that the seat is given up (you can only come back through a seat still open) and that war.app may remove your chat in the game. Reports left only once GameFeed (or your games list) no longer shows you seated — unconfirmed otherwise, unknown when war.app did not answer (never resent). |
warapp_surrender | Writes. Surrender a game you are playing — you lose it and cannot rejoin — or, with undo: true, take back a pending surrender. Confirm-gated; refuses finished games and games you are not in; reads the outcome from GameFeed: surrendered, pending (more than two players: the others must accept), still_playing (after undo: GameFeed shows no pending surrender, so a take-back cannot be confirmed) or unchanged. Lobbies are refused too. |
warapp_accept_surrender | Writes. Accept another player's pending surrender (where the game asks the others to accept one). Confirm-gated; refuses when no surrender is pending from that player, when your acceptance is not owed, finished games and games you are not playing. player names the surrendering player (optional with one pending). The preview says what accepting does: whose seat, whether its land turns neutral or goes to an AI, which players border that land (live board), whether others still owe their acceptance, whether it leaves only your side playing (a win), and in a free-for-all one advice line naming the neighbour that gains most. Reads the outcome back from GameFeed and the game details: accepted, pending (others still owe theirs), unconfirmed or unknown (never resent). The encoding is read from the war.app client, not yet verified live. |
warapp_team_surrender | Writes. In a team game, propose that your whole team surrenders, accept (vote yes) or decline (vote no) a teammate's proposal, or withdraw your own. If every teammate still playing accepts, everyone on the team surrenders and none of you can rejoin. Confirm-gated; reads the vote from the game details and refuses what the client would not offer; the preview shows who proposed, who voted and who has not. UNVERIFIED live. |
warapp_vote_to_end | Writes. Vote to end a game, or take the vote back (withdraw: true). Once every player still playing has voted, the game ends by vote with no winner. Confirm-gated; the preview lists who has voted and whether yours is the last vote. UNVERIFIED live. |
warapp_boot_player | Writes. Boot a player who has run past the game's direct-boot time (DirectBoot): they are kicked out at once and their seat becomes an AI or neutral. Confirm-gated; refused until the boot time has passed, and for a player who has committed, an AI or yourself. warapp_get_game says when a player can be booted. UNVERIFIED live. |
warapp_begin_turn | Writes. Press Begin in a game whose first turn is a speed race (move order "No-luck cycle"): war.app hides the board until Begin, and Begin starts your turn timer, so call it only when ready to plan and submit at once. Confirm-gated; refuses games past turn 1, games without the speed first turn and games whose board is already visible; reports begun once the board reads back. The encoding is read from the war.app client, not yet verified live. |
warapp_scout_player | Scout a player (through your signed-in tab): level, games played, last seen, boots, ranked records per format, and your head-to-head record; met (when the opponent-profile record holds the player) gives the earlier finished games of yours they were in and the read from them — each habit with value, n, confidence and basis, and the labels. Never returns location or other personal details. |
warapp_close_finished_game | Writes. Close out a finished game you played so the app's My Games stops listing it — what viewing its Victory / Defeat window does: war.app's GetEndGameWindowData, which marks your seat's end-of-game window seen (the app's My Games lists a finished game only while it is unseen). Confirm-gated; reaches no other player and changes nothing in the game; refuses a game not finished, one you did not play, and one already closed out. Reports closed once your games list shows it seen, else unconfirmed, or unknown when war.app did not answer (never resent). Verified live. |
warapp_get_game | A game's state, turn, players (and who has committed orders), settings digest and map. While the game is played or picked with a card in play, cards is your hand from the live board (one more request): held (each card type with its count), total, maxCardsHold, and pieces (per card in play, the pieces toward the next one and how many make one — read by shape, unverified live; null when unread), and settings (each card in play with a duration, and the Sanctions card's percentage — a fraction; negative raises the target's income — with its effect (cut / boost) and targets (opponents, or your side when negative), so the sign is visible before planning); a failed read is cardsUnread, never an error. warapp_begin_turn's begun result carries the same cards. A game you lost says how (howLost), once finished or while the others play on once your seat is out (#283): a surrender or boot (with the last turn played here and the last logged outlook: its state, your income and armies against the strongest opponent's in view, with its tracked income, frontier read and calibrated income range when logged, and the strongest on income when another opponent, #522), or from the boards cached while you played, the turn you were eliminated on and the cause — your commander's territory that fell (what it held, the attackers that needed, who bordered it; read at the destination, flagged uncertain, when your orders walked the commander that turn) or your last territories. Kept name-free in the outlook log. With include_history it says whether the game's history read (historyRead: boards, first and last turn, layout) or why not (historyUnreadable: the reason and the reply's top-level key names, never values). A finished game you played gets its end-of-game pass once (endOfGame, #312): its history read once from GameFeed (one more request) and kept name-free under <data dir>/finished/ for later games — the outcome and its turn, your picks and the award, the final outlook line when this server planned the game (state, turn, ratio, estimated or thin; no id or words), every player's income and bonuses by turn, what stood on each target your attacks failed to take, and every player's end-of-game stats as the client's end-of-game screen shows them (endOfGame.stats, #523: armies produced, lost and killed, highest income, cards, the turn a seat left, the turn an AI took a seat over, and the All Graphs series — armies, territories, income, armies deployed and cumulative luck per turn, the board lines skipping the turns a seat was out as the client does) — then folded into the opponent profiles, the map's record and the lessons (endOfGame.processed); a failed read is recorded (read-failed / history-unreadable with its reason) and not retried, except by a call with include_history, which re-runs it from that read (and adds the stats to a record kept before them, or recomputes ones an older version kept: backfilled: 'stats', nothing else re-run); a read whose record could not be written is not repeated while the server runs (attempted). With WARAPP_PLAYER_PROFILE=off the pass makes no request at all. Not yet a trigger: war.app's game-ended in-app notification (#311). view: compact / full / raw. |
warapp_get_map | The game map's bonuses ranked easiest first, plus chokepoints. Filter by bonus name to see one bonus's territories, borders and entry points. View full also lists each distribution mode with the territories a player may start on (read once from war.app's map details through the web-client channel (direct or bridge) and kept with the map; null when unknown). income_map: true lists only the bonuses that pay at the game's values (overrides applied), with members and size, and the base income. |
warapp_map_stats | Opt-in, local only. What has worked on a map, from finished ladder games: the most-picked starting territories, the win rate by every bonus a player started in, the turn of each player's first bonus completion and the sample size (a sample under 5 games and a bonus rate under 10 players are flagged; games whose history could not be read are counted apart, not cached, and collected.unreadableGames lists up to 10 of them with why, by key name). Off unless WARAPP_STATS=1, always off when hosted. Each call reads the ladder's game-ID feed (ladder_id, default 0 = 1v1) and fetches up to max_new_games new games (default 10, max 50) at one request a second; finished games are cached forever under <dataDir>/stats/<mapId>/. myGames adds your own finished games on the map (from their histories, no request): your results by start bonus, where winners started, and the median income after turns 4 and 8. |
warapp_analyze_board | Advice for one player from the current board: income, the bonuses closest to completion with armies needed, and visible threats. Needs a board; lobbies have none. The board parser is unverified, so the advice states its assumptions. |
warapp_strategy | Strategy notes in our own words, each with its community-guide or wiki source and topic (format, settings, cards, reading the game, opening, timing, fighting, diplomacy, map). With game_id, the notes that fit the game (format, phase — from your seat on the live board when the signed-in account plays in it, else GameFeed, profile.source live or gamefeed, and profile.liveError the short reason when the live board was tried and did not read, with the frozen-tab hint on a bridge timeout — fog level, move order, distribution, kill rates, the cards in play, private messaging), its cardClock (per card, the first turn it can be played) and map notes: bonuses ranked by value per army to take at its settings with entry points, chokepoints, and income targets by turn while picks are open (from the territories the game lists as pickable; none listed, none given). With map_id alone (a map already loaded), the map notes; with neither, the topics and every note's id (topic gives one topic's notes, view full every note). Also served as the resources warapp://strategy and warapp://strategy/map/{mapId}. See docs/STRATEGY.md. view: compact / full. Read-only. |
warapp_plan_route | Shortest path between two territories, given by name or id. |
warapp_get_live_board | The live board through your war.app tab: every territory with its owner (player, neutral, or pickable during picks), armies and fog, and in a Commanders game whose commander stands there. Works in the pick phase and mid-game. view: compact / full (every special unit — commanders, bosses — with its owner). Narrow it with owner (me, neutral, pickable or a player), territories, and limit/offset paging. Fog levels use war.app's own names: You (yours), Visible, OwnerOnly (owner shown, armies hidden: armies is null) and Fogged (owner and armies hidden). |
warapp_get_my_picks | Your submitted territory picks in priority order, and how many the game allows. |
warapp_get_my_orders | Your orders for the current turn read back from war.app (what the web client shows in "Modify orders"), read-only: committed, orders in exactly the shape warapp_submit_turn takes (card GUIDs and targets, players by GameFeed id, move options, Order Delay before) and shown (one line per order, with names). Resubmit them after warapp_uncommit_turn to change a committed turn without losing hand-made orders. null is unknown, never "none"; unread lists orders it could not read back. Committed orders verified live 2026-11-22; entered-but-uncommitted ones unverified. |
warapp_plan_turn | A plan for your turn from the live board (defaults to the signed-in account): income, your cards and whether you must play one, deploys and moves by name and id, expected captures, bonuses and next income, the frontier budget (borders left, those facing an enemy, what they need to hold next turn, next income), warnings and reasoning, and an orders array (card plays included); chat.unread counts the chat messages not yet marked seen (counts only, from GameFeed, so every count is under unknown; its note says so); surrenderPending lists other players' surrenders still pending (from the game details, unverified live; null when unreadable), and when one waits on your acceptance the first warning says so. goal: balanced (default: best income per army across holds, bonuses and breaking enemy bonuses, with at least 30% on expansion) / expand / complete-bonus / defend / siege (one opponent, siege_target by GameFeed id, default the strongest one bordering you: its bonus breaks are funded cheapest per income lost first, its other territories are left alone and the spare deploys build one strike stack facing it until the assault trigger fires — its income at 0.6× its baseline — the most the tracker saw it deploy over its window, or its income when the siege began — yours at 1.8× its, or a stack of yours able to take a member of its held bonus against its whole deploy — then the stack strikes; siege reports target, opponentIncome, baseline, ratio, fallenTo, breaks, brokenThisTurn, ready, trigger and memory — the siege's first turn, its turns, the target's income trend and the bonuses broken and broken again, kept per game while the siege runs, a gap of more than 3 turns starting a new one) — omit it and the game profile (profile: the One Army Must Stand Guard case and what it means for interior defence, format, phase, standing) picks it (never the siege, which plays only when you pass goal: 'siege', #603): defend when behind on income outside a 1v1, else balanced tuned to the format (1v1 in contact: holds and breaks before expansion that completes nothing; behind on income in a 1v1: strike — break their bonuses, inferred ones too, sized to land; behind on armies: no trade below even; in a 1v1, spare deploys build one strike stack facing the opponent; FFA: no second front; ahead in a 1v1: more fog pressure); an explicit goal overrides it; focus bonuses; reserve; enemy_deploy (armies an enemy is assumed to deploy; default per opponent from its visible bonuses, or what it was observed to deploy when that is larger — its tracked income, carried across turns, once warapp_track_opponents has 2+ turns of it; growth beside the fog beyond twice what it was expected to deploy reads as a move out of the fog, not a deploy; in an even-start 1v1 or free-for-all an opponent bordering the fog is assumed to earn at least your income, a player out of a free-for-all having its share of the hidden board split among the rest; while its income was read from under half its frontier, an opponent is sized at the midpoint between its lower bound — its tracked figure, raised to its trend's next step when its tracked income rose two turns running — and its upper bound — that fog prior, else the most it could earn — moving toward what the evidence gives as more of its frontier is read; a rising track read from more of its frontier raises it to that lower bound); the outlook adds leaning: behind when it read even for 3 turns while a bonus of yours fell on each; known_income (per-player incomes you know, by GameFeed id — what a player said in chat, say: each replaces that opponent's estimate, a Reinforcement card the clock adds kept on top, said in its warning; enemy_deploy wins over it; the commander block keeps the submit's sizing); min_win_chance (0.5–1; default 1 = certain captures with no luck, 0.95 with luck on; below 1, each capture is sized for that exact win chance, and the captures a bonus still needs reach it together); first_mover (me or opponent, when you know who moves first this turn — Cycle move orders swap the first mover every turn; when you move first, Order Priority is not advised; the same argument as warapp_check_plan's). Every attack carries winChance (its exact probability of capturing at the game's kill rates, luck and rounding); idle armies top an attack up to its next efficient size when the extra kill can matter. Reports the borders it gives up (conceded: not worth or not affordable to hold, never deployed to unless every territory you hold is conceded; it may still attack out with the armies already on it; an idle interior stack beside one that would make it hold transfers in, and it is then held), cardAdvice (order-priority when you hold one and it protects your first order: a commander strike while your commander is threatened, or a move out of a conceded border carrying enough armies to be worth a card — any size when the card must go anyway; never when first_mover is me; otherwise order-delay when you hold Order Delay and the schedule puts an attack last — the orders then carry the card with before, placed above the first non-urgent order, see cards.advice.orderDelay; an Order Delay that must leave the hand is played there rather than discarded), cards.advice for the cards warapp_submit_turn plays but the plan never does — diplomacy (the opponent tying down most of your border armies, only with two or more in contact, never a truce partner the truce already covers unless the card adds protection), sanctions (the leader, passing over a truce partner or a player a Diplomacy card keeps at peace with you, with the reason; yourself when the game's Sanctions percentage is negative — the card then raises the target's income — with income: your next income before and after the boost, by the client's rule (not under Local Deployment); never a negative card on an opponent nor a positive one on you), airlift (a border of yours or a teammate's that falls without it), gift (the members that complete a teammate's bonus), spy / reconnaissance / surveillance (only where the fog hides what the plan needs: an opponent out of view, a hidden territory on your border, a fogged member of a bonus you are completing; never with fog off) — each with an order to pass as is, never added to the orders save a completing gift (its play verified live 2026-11-23, #435: its card plays go into orders and the transfers out of or into the gifted members are dropped; never a territory with a special unit such as your commander, never one an attack leaves from) and a Reconnaissance (in a team game only cards read under you are played, discarded or advised; unverified live) and trendSource (where last turn's board came from — history, cache or null — for growing enemy stacks). Obeys the game's kill rates, Local Deployment and No-Split (view: "full" echoes the settings it assumed: idleTransfers, the planner's own switch for moving idle armies, beside the game's own allowTransferOnly and allowAttackOnly, null when GameFeed does not state them). Read-only; refuses outside a turn phase. In a Commanders game a commander counts as 7 armies, your commander's territory is never conceded (it gets the deploys it needs to hold against the worst case — the opponent's whole deploy, at least your own income, plus every enemy stack within two moves — or every army when that is not enough), and an adjacent enemy commander is attacked first, sized for its owner's full deploy. Within three moves of an enemy or the fog, with a safer territory of yours reachable, your commander walks one step a turn toward safety: a move in orders with commander: true (encoding not yet verified live), said in the first warning; the territory it leaves is held only for its own worth, plus what survives the attacks that may land before the walk (every enemy stack beside it, even when you move first: warapp_submit_turn checks both move orders; when that does not fit, each player's strongest attack, with the walk as your first order), no other order leaves it before the walk but a strike that ends a player, and Order Priority is advised for the walk only when even that falls short or the fog borders it; under No-Split a commander kill the walk displaces is named in a warning. Every turn of such a game commander reports your commander (#274): its territory, the armies there after the plan, movesToEnemy (to the nearest enemy or fog), killedBy (the smallest deploy, made by each opponent at once, at which a reply kills it: player, and partner when it is two opponents striking together; null when none reaches it this turn), and safe / needs at the larger of the estimate and your income; when it is not safe the first warning says so and whether warapp_submit_turn would refuse those orders (it does not without Commanders in the settings, nor when only an enemy_deploy what-if makes the commander unsafe). When the server kept your pick list, award says what the award of picks showed: the territories of your list that are another player's start for certain (in a two-player game planned as the opponent's while still fogged), whether you were awarded first or second and who moves first this turn under a Cycle move order, and with commanders the opponent's first award when the award pins it. relations reports each truce recorded with `warapp_record_ag |
Documentation truncated — see the full README on GitHub.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.