Peace in Space Game

io.github.adamribaudo/peace-in-space-game · v3.0.0 · browser-automation

Peace in Space Game is healthy: it completed an MCP handshake in 1657 ms and exposes 8 tools.

Free deckbuilding 4X space game you play against your AI in the browser. No sign-in, no API key.

Endpoint: https://peaceinspace.app/mcp (streamable-http)

No repository listed · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count8
Latency1657 ms
Last checked (UTC)2026-12-04T17:40:18.151Z

Health history

Checked (UTC)StatusLatencyError
2026-12-04T17:40:18.151ZHealthy1657

Tools (8)

new_gameStart a new game. Call this first whenever the player wants to play and their message names no code or link: don't ask them for one. Returns a fresh code and the link for them to open in their own browser: give them the link, then call wait_for_turn in the same reply, which holds until they open it.
wait_for_turnWait until it's your turn, then return the board (as get_state). Your first call starts the player's game and gives you your empire; if they haven't opened it yet, it waits for them to, answering {"your_turn": false, "game_open": false} when its hold runs out: call it again. Holds up to 50 seconds;
get_stateWhat your empire can see right now: turn, your_turn, your empire (phase, pools, hand with each fleet/tactic card's rules text, techs), your ships' AP, the enemy, every planet and fleet on the map, the board's size, and the log of what you saw happen since your last turn ended. Fields that would be e
legal_actionsEvery action available on your turn, each a JSON object to pass to act unchanged (types: choose_job, play, tactic, sensor_sweep, spy, overload, feed, buy, scrap, move, attack, bombard, raze, settle, undo, next_phase, end_turn; only the current phase's). A few entries need one value added: a move lis
actDo one action on your turn, given as one of the objects from legal_actions. Returns ok, error (why not, if it failed), log (what happened), turn and game_over, and hand_changed when cards left or joined your hand other than by being played. The player sees each move on their map, so it needs no expl
get_referenceReference text (Markdown): "rules" (how a turn goes, combat, winning), "production" (every ship and building, with costs and stats) or "techs" (the tech tree by tier, with costs). Prices for what you can buy right now are in legal_actions.
preview_attackHow an attack by your piece `fleet` would go, against the enemy piece `target` or the enemy system `planet` (give one): from where it stands, or from tile x, y it would move to first (as an attack with x, y from legal_actions does). Changes nothing.
set_planKeep your plan for this game on the server, where it outlasts your context: each turn's first board (wait_for_turn, get_state) starts with it as your_plan, with the turn you wrote it; later boards that turn just say it's unchanged. Send the whole plan each time: it replaces the last one. Keep to wha