This is the MCP endpoint for Peace in Space (one for every game: each tool takes the game's code). If you're calling it with curl or plain HTTP rather than through an MCP client, use the plain HTTP API instead: https://peaceinspace.app/api/ (plain JSON, one request per action). Start with: curl -s https://peaceinspace.app/api/ which explains the rest. No code yet? Don't ask the player for one: https://peaceinspace.app/api/new starts a game.