Labsco
grantmd logo

SpaceTraders

from grantmd

An MCP server for interacting with the SpaceTraders API, a space-based trading and exploration game.

๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

SpaceTraders MCP Server

Go Reference

A Model Context Protocol (MCP) server that provides seamless integration between any MCP client and the SpaceTraders API, enabling automation, analysis, and discussion about the current state of your SpaceTraders game state.

Most of this is being "written" via LLM tools as a personal experiment, which is probably unsurprising given the target audience, but I wanted to make that clear upfront.

โœจ Features

  • ๐Ÿค– Intelligent Game Assistant: Get contextual advice and strategic recommendations
  • ๐Ÿ“Š Real-time Data Access: Automatic access to your ships, contracts, and systems
  • ๐Ÿ› ๏ธ Automated Actions: Execute complex operations through natural language
  • ๐Ÿ—บ๏ธ Smart Exploration: Intelligent system mapping and facility discovery
  • ๐Ÿ“ˆ Strategic Analysis: Contract optimization and fleet management recommendations
  • ๐Ÿšข Advanced Ship Management: Individual ship monitoring with real-time cooldown tracking
  • ๐Ÿ“ฆ Contract Workflow: Complete contract delivery system with incremental goods delivery

๐Ÿ“– Documentation

Detailed documentation is available in the docs/ folder:

๐ŸŽฎ What You Can Do

Game Management

  • Check agent status, credits, and fleet overview
  • Monitor ship locations, cargo, and fuel levels
  • Real-time ship cooldown monitoring - Know exactly when ships are ready for actions
  • Individual ship analysis - Comprehensive ship status with operational recommendations
  • Review and manage contracts
  • Incremental contract delivery - Deliver goods to contracts in multiple trips
  • Track system exploration progress

Strategic Operations

  • Navigate ships between waypoints and systems
  • Extract resources and manage cargo
  • Smart cooldown management - Plan actions around ship availability
  • Fleet coordination - Monitor multiple ships' operational status
  • Find optimal trading routes and opportunities
  • Purchase and configure new ships
  • Complete contract workflows - Accept, deliver, and fulfill contracts efficiently

Intelligent Assistance

  • Get recommendations based on your current situation
  • Operational status analysis - Understand what each ship can do right now
  • Capability detection - Automatic identification of ship roles (mining, trading, etc.)
  • Analyze systems for facilities and resources
  • Optimize contract selection and completion strategies
  • Action planning - Get suggestions based on ship cooldowns and capabilities
  • Plan fleet composition and expansion

๐Ÿ”— Example Workflows

Contract Delivery Workflow:

1. "Check my contracts" - Review available and accepted contracts
2. "Show me ship TRADER-1 status" - Check ship location and cargo capacity
3. "Navigate TRADER-1 to the delivery location"
4. "Buy the required goods for the contract"
5. "Deliver goods to contract CONTRACT_123" - Incremental delivery
6. "Check cooldown for TRADER-1" - Monitor when ready for next action
7. "Fulfill the contract" - Complete and claim rewards

Fleet Cooldown Management:

1. "Show me all ship cooldowns" - Monitor fleet availability
2. "Which ships are ready for mining?" - Find available extraction ships
3. "Check ship MINER-1 detailed status" - Comprehensive operational analysis
4. "Plan next actions based on cooldowns" - Strategic fleet coordination

System Exploration:

"Explore system X1-DF55 and tell me what facilities are available"

Fleet Management:

"Where are all my ships and what should I do with them?"

Trading Strategy:

"Analyze my current cargo and find the best places to sell"

Contract Planning:

"Review my contracts and suggest the most profitable completion order"

๐Ÿ†˜ Getting Help

๐Ÿ“œ License

Apache License - see LICENSE for details.

๐Ÿค Contributing

Contributions are welcome! Please see our Development Guide for details on how to get started.