Praetorium

io.github.richardsolomou/praetorium · v1.3.0 · cloud-and-infra

Praetorium is healthy: it completed an MCP handshake in 355 ms and exposes 120 tools.

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

Endpoint: https://praetorium.gg/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count120
Latency355 ms
Last checked (UTC)2026-12-01T13:00:16.032Z

Health history

Checked (UTC)StatusLatencyError
2026-12-01T13:00:16.032ZHealthy355
2026-11-29T02:45:27.514ZHealthy1411
2026-11-26T18:25:27.517ZHealthy1926
2026-11-24T11:50:27.819ZHealthy2225
2026-11-22T07:15:24.841ZHealthy730
2026-11-20T04:05:35.473ZHealthy802
2026-11-18T02:00:30.109ZHealthy824
2026-11-16T01:15:15.727ZHealthy1194
2026-11-14T02:06:01.899ZHealthy4966
2026-11-12T03:50:26.776ZHealthy511
2026-11-10T06:45:36.733ZHealthy2148
2026-11-08T11:00:19.524ZHealthy837
2026-11-06T16:20:47.890ZHealthy457
2026-11-04T22:30:43.607ZHealthy629
2026-11-03T05:35:28.735ZHealthy3090
2026-11-01T13:50:36.969ZHealthy2607
2026-10-30T23:05:25.275ZHealthy1195
2026-10-29T09:05:32.347ZHealthy899
2026-10-27T19:25:19.912ZHealthy1998
2026-10-26T07:15:09.277ZHealthy589

Tools (100)

list_my_rostersLists the rosters saved to the signed-in Praetorium account. Requires mcp:read.
get_my_rosterReturns one roster owned by the signed-in player, by an id from list_my_rosters. summary names each unit with its points, models, wargear, enhancements, Warlord and attachments, and gives the total, any problems that stop the list being fielded, and unchecked restrictions Praetorium could not evalua
list_my_battlesLists the signed-in player's battles, newest first, up to 25 a page, narrowed and ordered as the battles page is. Each battle has its url, status, your result, ending, size, mission and one entry per seat (you, side, army, faction, detachments, score with its primary and secondary halves, rating cha
get_my_statsReturns the signed-in player's record as their profile shows it, over their latest 200 finished battles except practice games, optionally narrowed. record: battles, won, lost, drawn, rate (win rate 0 to 1, a draw counting half), going first and second, average points, streaks, command points, strata
save_rosterSaves a complete roster. Pass its id to edit an owned roster; omit id to create one. Send an empty name to have Praetorium title the list from its army and keep that title current as the list changes; send a name only when the player chooses one, since any name stops the automatic title. limit is th
set_roster_visibilityChanges the visibility of an owned roster. Requires mcp:write.
list_my_opponentsLists the friends the signed-in player can seat in create_battle, by id. Everyone at the table needs an account: someone without one signs up and becomes a friend first. To play a game alone, create_battle takes bothSides instead. Requires mcp:read.
create_battleCreates a battle in setup and returns its token. With nobody named it starts a draft with only you at the table, reusing your untouched draft with the same mission pack, and returns joinUrl: anyone with an account who opens it joins the open place, and the draft becomes a battle once every place is
get_my_battleReturns the signed-in player's seated view of a battle (battle) and what it expects next (next). next says what the battle expects: in setup, each step in table order with done and the command that answers it, the battlefields and secondary cards on offer, and begin.refusal until begin-battle would
submit_battle_actionAppends one command to a battle's log, only when expectedSeq equals the battle's current seq from get_my_battle. The answer's result.outcome is appended, stale (someone recorded first: read the battle again) or refused with the reason. Any seated player may record for any seat with playerId, as at a
get_my_battle_reportReturns a battle's log as its report reads it, oldest first and 200 entries a page: each entry's seq, round, phase, the player id that recorded it (by) and a sentence saying what happened. Pass nextAfter as after for the next page. Totals and the result are in get_my_battle. Requires mcp:read.
delete_battlePermanently deletes a battle the signed-in player created, for every player in it, with its result. Only the creator can. Confirm with the player first. Requires mcp:write.
list_public_battlesLists the battles anyone may watch on Praetorium, newest first, up to 25 a page, narrowed and ordered as the battles page's public tab is. Each battle has its url, token, status, ending, size, mission and one entry per seat (side, result once finished, army, faction, detachments, score with its prim
get_public_battleReturns any battle by a token from list_public_battles or its link, as a spectator sees it on the site: battle holds its settings, round, phase, result and each player's army, score, command points and secondary cards; missions the mission each side plays; report its log as the report reads it, olde
list_public_rostersLists the rosters players have made public on Praetorium, as the rosters page's public tab shows them, most recently saved first unless sort says otherwise. Each roster has its id, url, name, owner, faction, detachments, battle size, points under today's army data and problem, the first thing stoppi
get_public_rosterReturns a roster anyone may open, by an id from list_public_rosters or from a roster link someone shared: public and unlisted rosters, never private ones. summary names each unit with its points, models, wargear, enhancements, Warlord and attachments, and gives the total and any problems under today
search_referenceSearches Praetorium’s missions, force dispositions, deployments, terrain, rules, detachments, and datasheets by name, number, keyword, and value, then datasheets and detachments whose abilities, stratagems or enhancements say the words searched for, such as objective control remains for an ability t
get_referenceReads the complete bounded document returned by search_reference, with its revisions and attribution. Each section that is a rule, ability, stratagem, enhancement, detachment rule, mission card or core rule carries its ruleSummary: Praetorium’s own wording of the rule, never the official text, with
get_reference_recordReturns the structured record behind a search result, including mission cards, force dispositions (missions by opposing disposition, detachments that offer them), deployments, terrain geometry, detachments, and datasheets. Each rule in it, such as an ability, stratagem, enhancement, detachment rule,
list_factionsLists the factions that can be used to narrow reference searches.
list_referenceDiscovers available factions, mission packs, rule documents, reference kinds, and active source revisions.
list_unitsReturns every pickable unit in one bounded response with unit-size costs, composition, attachment relationships, roster limits, roles, keywords, and links. Without a detachment it also lists every detachment the faction can take, with its detachment points, Force dispositions, rule names and enhance
get_mission_matchupResolves two force dispositions, in the current mission pack or a named one, to the primary mission each side plays (its card: scoring awards, caps, actions, timing), the terrain layouts and deployments for the pairing, and canonical URLs and reference ids for each. Pass each value by id, slug, or n
simulate_combatRuns Praetorium's exact combat simulator for one attacking unit, with any attached leaders, against one defending unit: 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 wargear
optimize_loadoutSearches the attacking unit's legal wargear, with any attached leaders, for the loadout most likely to destroy the defender, then the most models destroyed, then the most wounds, then the most optional wargear that costs no points and replaces nothing, then the fewest choices changed from the start,
compare_enhancementsSimulates the attacking unit once with each enhancement its characters, including attached leaders, can take in the attacker's detachment, and once with none, against the defender, as simulate_combat does. Takes the same sides as simulate_combat; name the attacker's detachment, since enhancements co
list_data_updatesLists the points and datasheet updates the installed army data recorded, newest first, as the /data-updates pages show them. Each update has its UTC time, url, total change count and omitted (changes past its stored bound). Without faction, each update lists only the factions it reached with their c
check_rosterPrices a roster and lists every problem that stops it being fielded, without saving it or needing an account: the same summary get_my_roster gives a saved list. summary names each unit with its points, models, wargear, enhancements, Warlord and attachments, and gives the total; problems is empty whe
grade_rosterGrades which jobs a roster can do on the table, as the roster builder's grades do: score 0 to 100 and grade A to D overall and per category (board control, mobility, damage against reference targets, durability), placed among tournament lists of the same battle size and centred on comparedWith's arm
get_unit_optionsLists what each named unit lets a roster pick set, with names first and the ids a pick takes beside them: its sizes, its toggles (key of the Warlord toggle: set toggles {key: 1} on exactly one CHARACTER), and every choice group (wargear, enhancement, detachment upgrade, unit composition) with its op
compare_rostersRuns every unit of one roster, with its attached units, against every unit of another in Praetorium's exact combat simulator, as the simulator's whole-roster table does: one call instead of a simulate_combat call per pairing. attackers and defenders list the units in roster order, entries giving the
import_rosterReads a pasted army list into a roster draft without saving it or needing an account, as the site's import does. Takes the whole text export from the official Warhammer 40,000 app, New Recruit, BattleBase, ListForge, Warscribe, WTC layouts, Mini Headquarters or Praetorium, or a Praetorium exchange c
export_rosterWrites a roster as the site's text export, the official app's layout that tournament organizers and other list builders read, without saving it or needing an account. Takes the shape save_roster takes, such as import_roster's draft or get_my_roster's roster. text is the export; code is a Praetorium
list_winning_listsLists a faction's top-four tournament placings from Listhammer, 40k Stats, and Mini Headquarters whose lists import cleanly and are legal under today's army data, newest first; pass includeNoLongerLegal for lists a points or rules change has made illegal too, such as to read the meta from before a p
get_winning_listReads a tournament roster by ID as it imports under today's army data: its newest cached placing, even if an earlier top-four finish appears in list_winning_lists, whether it is legal today, record and event, the army text the player submitted, draft (the list in the shape check_roster, grade_roster
delete_rosterPermanently deletes one of the signed-in player's saved rosters, by an id from list_my_rosters, and ends any loan of it to a friend. Battles it was fielded in keep their own record. It cannot be undone, so confirm the roster's name with the player first; set_roster_archived hides a list without losi
copy_rosterSaves a copy of a roster to the signed-in player's account: one of their own from list_my_rosters, or a public or unlisted one they can open. variant true keeps the copy grouped with the original as an alternative version, which only works on their own rosters; false makes a standalone copy. The cop
set_roster_archivedArchives one of the signed-in player's saved rosters, which moves it out of their main roster list without deleting it, or restores it with archived false. Requires mcp:write.
get_my_collectionReturns the models the signed-in player owns, as their collection page keeps them, grouped by faction. Each entry's id and slug are the datasheet's, the same as list_units gives, with the models owned, how many are built and painted, and countsAs: other datasheets the player says those models can al
list_my_eventsLists the signed-in player's groups, tournaments and hidden-list games (a group's game where everyone seals a list in secret before the reveal), each with its token, url, dates and your place in it: membership, entry status, whether you sealed a list, and the size you seal at. Pass includeOpen to al
get_my_groupReturns a group as its page shows it to the signed-in player: members (ids for create_battle's opponentIds), the leaderboard, recent finished games and your unfinished ones, its current hidden-list games, and its league with the table, your fixtures, and once every game is played its winners. An ope
get_my_eventReturns a tournament or hidden-list game as the signed-in player may see it: rules (format, size, points, what lists may break), dates, entrants with whether each sealed, your entry, Swiss rounds with your table and opponent (and at a team tournament each team meeting's revealed picks), standings on
join_groupJoins a group by its token, as its invite link does. A group whose organizers approve each member answers pending until they let you in. Requires mcp:write.
join_leagueJoins the draft league of a group you are a member of. Nobody can join once an organizer publishes its fixtures. Requires mcp:write.
join_eventEnters the signed-in player in a tournament by its token, as its invite link does, or in a hidden-list game of a group they belong to. A tournament whose organizer approves each player answers pending until they let you in. Closed once lists are revealed or the roster deadline passes. Requires mcp:w
submit_event_rosterSeals one of the signed-in player's saved or borrowed rosters for a tournament or hidden-list game, or replaces the list sealed before, with the site's checks: battle size, points, the event's house rules, a Warlord, and the roster deadline. Sealing stores a copy; later edits to the saved roster don
check_in_eventMarks the signed-in player as arrived at a Swiss tournament, or not, before round 1 is paired; an organizer may drop players who haven't checked in. Requires mcp:write.
start_event_battleStarts the battle for a revealed tournament or hidden-list game with both sealed lists attached, as Start battle on its page does, and returns its token for get_my_battle and submit_battle_action. In Swiss rounds omit opponentId to play your current table; Swiss refuses anyone else. Otherwise name t
report_table_resultRecords the final score of the signed-in player's Swiss table, for a game not tracked on Praetorium, and finishes its battle; it counts for the tournament's standings but not the leaderboard. Report only a score both players agree. Defaults to your table this round. A result locks once the next roun
list_my_battle_draftsFinds unfinished setups the signed-in player has created or joined. Use a draft token with get_my_battle and submit_battle_action to resume it. Requires mcp:read.
invite_friend_to_battleSends an in-app notification and returns the join link. Use the draft token from list_my_battle_drafts and the friend id from list_my_opponents. Confirm the recipient first. Requires mcp:manage.
check_in_tournament_entrantAn organizer marks an entrant from get_my_event as present or undoes their check-in before the first round is paired. Requires mcp:manage.
drop_tournament_no_showsDrops sealed entrants who have not checked in at a revealed solo Swiss tournament before the first round. If get_my_event returns a nonempty noShowIds list, confirm those players with the organizer before calling. Requires mcp:manage.
swap_tournament_table_seatsAn organizer swaps two entrants in the current Swiss round. Use the round, table numbers and ordered player ids from get_my_event. Confirm the affected tables before calling. Requires mcp:manage.
list_tournament_table_battlefieldsLists the allowed deployments and terrain layouts after the table’s rosters are revealed. Use the event token, round and table from get_my_event. Requires mcp:read.
set_tournament_table_battlefieldAn organizer chooses a layout from list_tournament_table_battlefields. Use roll to draw an allowed layout or null to let the players choose. Requires mcp:manage.
reopen_tournament_tableAn organizer reopens a finished Swiss battle for score corrections, even if a later round has locked it. Use get_my_event with tableRound to find the battle token, then confirm the table. Requires mcp:manage.
get_my_collection_wishlistReturns the models the player wants, with the datasheet id, name and wanted count. Includes models the player does not yet own. Requires mcp:read.
import_collectionSaves collection counts in one operation. Match every row to a datasheet id with list_units. Use replace false to keep existing counts. Use true only after explicit confirmation to overwrite counts on matching entries. Entries omitted from the import stay in the collection, so imports can be split i
change_rosters_in_bulkArchives, restores, locks, unlocks, changes visibility or deletes a named set of owned rosters in one operation. Confirm each roster and the exact action, especially deletion or publishing. Requires mcp:manage.
list_roster_foldersReturns folder ids, names and parents, and the saved roster groups filed in each folder. Requires mcp:read.
change_roster_foldersAdds, renames, moves or removes a folder, or files rosters in one. Use ids from list_roster_folders and list_my_rosters. For add, supply a new UUID and reuse it if retrying. Use parentId null for the top level or folderId null to unfile rosters. Requires mcp:manage.
list_saved_unit_loadoutsLists the signed-in player’s saved unit loadouts with their ids, models and choices, including joined units. Requires mcp:read.
save_unit_loadoutSaves a named unit configuration using datasheet and choice ids from get_unit_options. Use a new UUID for a new configuration. Reusing an id keeps the first saved configuration. Use rename_unit_loadout to change its name. Requires mcp:manage.
rename_unit_loadoutRenames a loadout by id from list_saved_unit_loadouts. Requires mcp:manage.
delete_unit_loadoutDeletes a loadout by id from list_saved_unit_loadouts. Confirm its name before deleting. Requires mcp:manage.
get_linked_battlebase_accountReturns the BattleBase username previously verified by this player, or null. Requires mcp:read.
get_battlebase_link_codeReturns the code the player must put in their BattleBase profile tagline before importing games for this username. The player updates the tagline on BattleBase. Requires mcp:read.
import_battlebase_historyImports up to 20 public games at a time from a verified BattleBase account, skipping unfinished or already imported games. Use a username when linking a new account after the player adds their verification code to their tagline. Confirm the import first, then repeat with nextCursor as before until n
send_feedbackStarts a new Support conversation as the signed-in player, the same as sending the Support page form, and returns its link. The team replies there, and the player sees the conversation and its replies on the Support page. Use it for a problem, an idea or a gap the player wants reported, such as a ru
list_my_feedbackLists the signed-in player's Support conversations, newest activity first, 10 a page: each one's subject (the first line the player wrote), opening message, status (sent, open, replied, on hold or resolved), latest message once someone has replied, message count and unread replies, with its link. Re
get_battle_inviteShows who is at the table, the open places on each side and whether the battle has begun. Side indexes start at 0. Use before join_battle. Requires mcp:read.
join_battleTakes an open place on side 0 or 1 from get_battle_invite. Confirm the host and side with the player before joining. Requires mcp:manage.
share_battle_inviteCreates or returns the join link for a battle the player can share. Anyone who has the link can use it to take an open place. Requires mcp:manage.
stop_sharing_battle_inviteDisables a battle’s existing join link. People already seated keep their places. Requires mcp:manage.
play_both_battle_sidesFills the open places in a draft with practice seats the signed-in player can control. Use create_battle with bothSides when starting a fresh draft. Requires mcp:manage.
remove_battle_playerThe creator removes a named player from a draft that has not started. This retires the current join link. Confirm the player and battle. Requires mcp:manage.
set_collection_modelsSets the total number of models owned for a datasheet. Use its id from list_units or get_my_collection. Confirm the unit and count with the player. Requires mcp:manage.
set_collection_progressSets a datasheet’s built and painted totals. Read get_my_collection first and use the datasheet id it returns. Requires mcp:manage.
set_collection_counts_asReplaces the alternative datasheets a unit’s models can be fielded as. Use datasheet ids from list_units. An empty list clears the alternatives. Requires mcp:manage.
set_collection_wantedSets how many more models the player wants for a datasheet. Use its id from list_units; zero clears it. Requires mcp:manage.
get_roster_loansLists who holds a loan of the signed-in player’s own roster, by roster id from list_my_rosters. Requires mcp:read.
list_borrowed_rostersLists rosters the signed-in player has borrowed from friends. Use a borrowed roster’s id to field or seal it where the site allows. Requires mcp:read.
lend_rosterLets a friend use an owned roster. Get the roster id from list_my_rosters and the borrower id from list_my_opponents. Confirm the roster and recipient. Requires mcp:manage.
end_roster_loanRevokes a loan if the player owns the roster, or returns it if the player is the borrower. Confirm who loses access before calling. Requires mcp:manage.
set_roster_lockedChanges the saved roster’s edit lock. This does not change its army or visibility. Requires mcp:manage.
split_roster_variantMakes a saved variant a standalone roster without changing its army. Requires mcp:manage.
create_groupCreates a group with the specified name, listing visibility and admission policy. Confirm those choices before creating it. Requires mcp:manage.
update_groupAn organizer replaces the group name, description, visibility and admission policy. Read get_my_group first and keep any fields the player did not ask to change. Requires mcp:manage.
leave_groupRemoves the signed-in player’s own group membership. Confirm the group before calling. Requires mcp:manage.
moderate_group_memberA group organizer accepts or declines a membership request. Use the pending member’s id from get_my_group. Requires mcp:manage.
remove_group_memberAn organizer removes a named member from a group. This also removes their entry from hidden-list games still sealing. Requires mcp:manage.
get_league_fixturesLists the pairings, fixture keys and results in one round of a group’s league. The first open round is the default. Only organizers can read a draft draw. Requires mcp:read.
draw_leagueA group organizer starts a round-robin league draft. Read the draft fixtures with get_my_group before publishing. Requires mcp:manage.
start_sealed_leagueA group organizer starts a league in which players seal rosters before the draw is published. Requires mcp:manage.
publish_leagueA group organizer publishes the reviewed draw. Use the seed and ordered playerIds from get_my_group. Confirm the fixtures before publishing. Requires mcp:manage.
set_league_deadlineA group organizer sets the deadline for one league round. Give milliseconds since the Unix epoch, or null to clear it. Requires mcp:manage.
set_league_clockA group organizer sets the chess-clock minutes for league games that have not started, or null to clear the limit. Requires mcp:manage.
leave_leagueWithdraws the signed-in player from the group’s current league. Confirm before withdrawing. Requires mcp:manage.
report_league_resultA group organizer records a score for a game played outside Praetorium. Use the fixture key and scores in the exact seat order shown by get_league_fixtures. Confirm both player names and final scores. Requires mcp:manage.