io.github.richardsolomou/praetorium

Praetorium

Public Warhammer 40K rules, datasheets, points and missions; sign in to manage rosters and battles.

1.2.0
Version
remote
Transport
15
Tools

Security review

Review passed

Reviewed 1d ago.

  • tools: 15 tools scanned
  • metadata: scanned

No findings.

Tools (15)

  • list_my_rosters

    Lists the rosters saved to the signed-in Praetorium account. Requires mcp:read.

  • get_my_roster

    Returns the saved choices for one roster owned by the signed-in player. Requires mcp:read.

  • list_my_battles

    Lists up to 25 battles with a cursor for the next page. Requires mcp:read.

  • get_my_battle

    Returns the current seated view of a battle for the signed-in player. Requires mcp:read.

  • save_roster

    Saves a complete roster. Pass its id to edit an owned roster; omit id to create one. Requires mcp:write.

  • set_roster_visibility

    Changes the visibility of an owned roster. Requires mcp:write.

  • create_battle

    Creates a battle with named player seats, using the same rules as the site. Requires mcp:write.

  • submit_battle_action

    Appends a legal battle command only when expectedSeq matches the current log. Requires mcp:write.

  • search_reference

    Searches the verified mission, rules, detachment, and datasheet text used by Praetorium. Returns bounded excerpts with canonical URLs, source revisions, and attribution.

  • get_reference

    Reads the complete bounded document returned by search_reference, with its source location, revisions, and attribution.

  • get_reference_record

    Returns the source-faithful structured record behind a search result, including mission cards, deployments, terrain geometry, detachments, and datasheets.

  • list_factions

    Lists the factions that can be used to narrow reference searches.

  • list_reference

    Discovers available factions, mission packs, rule documents, reference kinds, and active source revisions.

  • list_units

    Returns every pickable unit in one bounded response with unit-size costs, composition, attachment relationships, roster limits, roles, keywords, and links. Include a detachment to receive its complete rules, enhancements, upgrades, and stratagems without opening every unit page.

  • simulate_combat

    Runs Praetorium's exact combat simulator for one attacking unit, with any attached leaders, against one defending unit at full strength: shooting, melee, and shooting followed by melee. Returns expected models destroyed, expected wounds lost, the chance to destroy the unit, cumulative odds, weapons used, the rule and weapon-mode choices each side can change, datasheet citations, and a simulator link. Passive datasheet rules apply by default; stratagems and conditional rules stay off until chosen. Unsupported mechanics are refused or listed under notCalculated rather than approximated. Like the standalone simulator page, it uses default loadouts and no detachment; unit sizes and attachments must be legal.