SpaceTraders
An MCP server for interacting with the SpaceTraders API, a space-based trading and exploration game.
SpaceTraders MCP Server
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
🚀 Quick Start
Prerequisites
- Go 1.21 or higher
- Java 8+ and OpenAPI Generator (for
make buildon fresh clone;brew install openapi-generatoron macOS) - Any MCP Client
- SpaceTraders API token (Get one here)
Installation
-
Clone the repository:
git clone https://github.com/grantmd/spacetraders-mcp.git cd spacetraders-mcp -
Build the server (auto-generates the SpaceTraders API client if needed):
make build -
Set up your SpaceTraders credentials:
export SPACETRADERS_TOKEN=your_token_here -
Configure Claude Desktop (or other client):
Edit
~/Library/Application Support/Claude/claude_desktop_config.json(Claude macOS):{ "mcpServers": { "spacetraders": { "command": "/path/to/spacetraders-mcp/spacetraders-mcp", "args": [] } } } -
Restart your client and start exploring!
First Steps
Once configured, try these commands:
- "Show me my current SpaceTraders status" - Get a complete overview
- "What systems should I explore next?" - Get strategic recommendations
- "Help me optimize my fleet" - Analyze and improve your ships
- "Find the best trading opportunities" - Discover profitable routes
📖 Documentation
Detailed documentation is available in the docs/ folder:
- Resources - Available data resources and how to use them
- Ship Resources - Individual ship monitoring and cooldown tracking
- Tools - Actions you can perform through Claude
- Prompts - Intelligent assistance for common tasks
- Integration - Claude Desktop setup and configuration
- MCP Resources Guide - Understanding how MCP resources work
- Development - Contributing and extending the server
- Testing - Running tests and quality assurance
- Troubleshooting - Common issues and solutions
- API Reference - Complete API documentation
- CI/CD - Automated workflows and deployment
🎮 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
- First time setup? Check the Integration Guide
- Having issues? See the Troubleshooting Guide
- Want to contribute? Read the Development Guide
- Found a bug? Open an issue
📜 License
Apache License - see LICENSE for details.
🤝 Contributing
Contributions are welcome! Please see our Development Guide for details on how to get started.
İlgili Sunucular
Doktor.mx
MCP Server para buscar médicos verificados en México. Busca doctores por especialidad, ciudad, estado. 5 tools de búsqueda.
Bible Study
Study the Bible in its original languages, trace themes across both testaments, and compare five translations — all in one conversation. Ask any question about what Scripture says and get grounded, cited answers: What does the Bible say about suffering? Topical search surfaces Job as the Bible's principal witness on suffering (with explanations of why it matters and suggested starting passages), Psalms on lament, Romans on justification — whole books and narratives alongside individual verses. What is the Hebrew word behind lovingkindness in Psalm 23? Compare how KJV and WEB translate John 3:16. Trace the word grace through Paul's letters. Covers 155,510 verses across KJV, WEB, ASV, YLT, and Darby with 606,140 cross-references, 17,543 Strong's entries, BDB and Thayer lexicon definitions, and Nave's 5,319 topical categories.
AI Dev Jobs
MCP server for the AI Dev Jobs board - 8,400+ open AI/ML engineering roles at 489 companies. Search by role, location, salary, experience level. Live MCP endpoint aidevboard.com/mcp with 4 tools.
Microsoft Ads MCP
Bring your Microsoft Ads data into Claude or ChatGPT with Two Minute Reports MCP to analyze keyword performance, search queries, CTR, CPC, and conversion trends.
Bitnovo Pay
MCP server for Bitnovo Pay integration with AI agents. Provides cryptocurrency payment capabilities through Bitnovo Pay API. Features include payment creation, status checking, QR code generation, and webhook management with support for multiple tunnel providers (ngrok, zrok, manual).
Aare.guru
Get water temperature and swimming conditions for the Aare river in Switzerland.
MCP Simple Timeserver
Provides current local time, UTC time, and timezone information.
Weather MCP Service
Provides real-time weather information and forecasts.
Strider DoorDash
MCP server for DoorDash food delivery - AI agents can search restaurants, browse menus, and place delivery orders.
Wazuh MCP Server
AI-powered security operations with Wazuh SIEM + Claude Desktop. Natural language threat detection, automated incident response & compliance.