Spaceship Mcp

       ███████╗██████╗  █████╗  ██████╗███████╗███████╗██╗  ██╗██╗██████╗    █████╗ ██╗
       ██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝██║  ██║██║██╔══██╗  ██╔══██╗██║
       ███████╗██████╔╝███████║██║     █████╗  ███████╗███████║██║██████╔╝  ███████║██║
       ╚════██║██╔═══╝ ██╔══██║██║     ██╔══╝  ╚════██║██╔══██║██║██╔═══╝   ██╔══██║██║
       ███████║██║     ██║  ██║╚██████╗███████╗███████║██║  ██║██║██║       ██║  ██║██║
       ╚══════╝╚═╝     ╚═╝  ╚═╝ ╚═════╝╚══════╝╚══════╝╚═╝  ╚═╝╚═╝╚═╝       ╚═╝  ╚═╝╚═╝

Spaceship AI MCP Server

MCP server for Spaceship AI — build, run, and manage AI agents directly from Claude Code, Cursor, VS Code, and Windsurf.

Quick start

Don't want to manually configure your MCP server?

Run spaceshipai@latest init to set everything up automatically with one command:

npx spaceshipai@latest init

This works with Claude Code, Cursor, VS Code, and Windsurf. It will authenticate via your browser, create a Spaceship API key for you, and configure your editor automatically.

Manual installation

If you prefer to configure manually, add the following to your IDE's MCP config file.

Claude Code — run in your terminal:

claude mcp add --scope user --transport stdio spaceship --env SPACESHIP_API_KEY=sk_live_... -- uvx spaceship-mcp

Or add to ~/.claude.json:

{
  "mcpServers": {
    "spaceship": {
      "command": "uvx",
      "args": ["spaceship-mcp"],
      "env": {
        "SPACESHIP_API_KEY": "sk_live_..."
      }
    }
  }
}

Cursor — add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "spaceship": {
      "command": "uvx",
      "args": ["spaceship-mcp"],
      "env": {
        "SPACESHIP_API_KEY": "sk_live_..."
      }
    }
  }
}

VS Code — add to ~/.vscode/mcp.json:

{
  "servers": {
    "spaceship": {
      "command": "uvx",
      "args": ["spaceship-mcp"],
      "env": {
        "SPACESHIP_API_KEY": "sk_live_..."
      }
    }
  }
}

Windsurf — add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "spaceship": {
      "command": "uvx",
      "args": ["spaceship-mcp"],
      "env": {
        "SPACESHIP_API_KEY": "sk_live_..."
      }
    }
  }
}

Get your API key from spaceshipai.io under Settings → API Keys.

Tools

Projects

ToolDescription
list_projectsList all projects in your organization

Agents

ToolDescription
list_agentsList agents, optionally filtered by project
get_agentGet full details of a single agent including its system prompt and tools
create_agentCreate an agent — pass description for auto-generated system prompt
update_agentUpdate name, prompt, or tools; re-scaffold by passing a new description
delete_agentPermanently delete an agent and all its logs, memories, and threads

Running agents

ToolDescription
run_agentStart an async run; returns execution_id for polling
get_run_statusPoll status: queuedrunningcompleted / error / cancelled
get_run_logsFetch the full chronological event log for a completed run
list_executionsList recent runs for an agent with status and duration
test_agentQuick sync test — runs an agent and waits up to 15s for the result

Orchestrations

ToolDescription
list_orchestrationsList orchestrations, optionally filtered by project
get_orchestrationGet full details of an orchestration including its members and tools
run_orchestrationStart an async orchestration run; returns execution_id
test_orchestrationQuick sync test — runs an orchestration and waits up to 15s for the result

Tools

ToolDescription
list_toolsList built-in and custom tools available to attach to agents

Example prompts

Once installed, you can talk to your agents naturally in any supported IDE:

List my projects, then show me all agents in the "production" project.
Create an agent called "Support Bot" in project 12 that handles customer refund requests.
Run the "Data Processor" agent with the prompt "Summarize last week's sales data".
Check the status of execution abc-123 for agent xyz-456, then show me the logs.
Test the "Email Classifier" agent with "Is this email spam: win a free iPhone now!"
List my orchestrations in the "production" project, then run the "Data Pipeline" orchestration.
Test the "Research Team" orchestration with input {"topic": "AI safety"} and show me the result.

Configuration

VariableRequiredDefaultDescription
SPACESHIP_API_KEYYesYour API key (sk_live_...)
SPACESHIP_API_URLNohttps://spaceshipai.ioOverride for local dev or staging

Development

python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest tests/ -v

License

MIT