Labsco
MCP SERVER

SpaceTraders

by grantmd

Play SpaceTraders through conversation — fleet status, contracts, navigation, mining and trading all become tools.

Games, Entertainment & Fandom
Summary
Turns fleet micromanagement into a conversation.

The tools that matter most are not the individual actions but the ones that summarise state: one call gives you agent, ships and contracts together, and cooldown tracking means the assistant can tell you what is possible this minute rather than listing everything a ship could theoretically do. Contract delivery is modelled properly too, as multiple trips rather than a single all-or-nothing call. Documentation lives in the repo's docs folder, tool by tool, if you want the full parameter list before you start.

What it is

A Go MCP server that connects an MCP client to the SpaceTraders API, so you can inspect and change your game state by asking, and get strategy suggestions grounded in what your fleet can actually do right now.

What you get
  • Situation reads: `get_status_summary` for agent, ships and contracts in one call, `current_location`, `analyze_fleet_capabilities` and `get_contract_info`
  • Movement: `orbit_ship`, `dock_ship`, `navigate_ship`, `patch_ship_nav`, `warp_ship` and `jump_ship`
  • Exploration: `find_waypoints` filtered by type or trait, `system_overview`, and the `scan_systems`, `scan_waypoints` and `scan_ships` trio
  • Economy: `buy_cargo`, `sell_cargo`, `jettison_cargo`, `refuel_ship`, `repair_ship` and `purchase_ship`
  • Contract workflow end to end: `accept_contract`, incremental deliveries, then `fulfill_contract`
  • Real-time cooldown tracking per ship, so the assistant plans around when a ship is next able to act
Requirements

Go 1.21 or higher, plus Java 8+ and OpenAPI Generator for `make build` on a fresh clone, since the build generates the SpaceTraders API client. Export your SpaceTraders API token as `SPACETRADERS_TOKEN` and point the client at the built binary.