Skip to content

MCP Server Automation Stable โ€‹

What it is. The spore.host MCP server exposes truffle and spawn as tools for AI assistants that support the Model Context Protocol โ€” Claude Code, Claude Desktop, Cursor, Windsurf, and any other MCP-compatible client.

When to use it. When you'd rather describe what you need in plain language โ€” "find the cheapest A100 in us-east-1, then give me the spawn command to launch it with a 4-hour limit" โ€” and let the assistant do the search and manage running instances, instead of typing every command yourself. It runs locally with your AWS credentials, the same trust model as the CLIs.

The MCP server cannot launch instances โ€” by design

The exposed tools are read + manage-existing only: search / spot prices / quotas (truffle) and list / status / stop / terminate / extend (spawn). There is no launch tool, deliberately: creating billable infrastructure from an AI assistant is a boundary we don't cross automatically. The assistant helps you find the right instance and construct the spawn launch command; you run it. See the full tool list below.

Install โ€‹

sh
brew install spore-host/tap/spore-host-mcp

Configure โ€‹

Claude Code โ€” from your project directory:

sh
claude mcp add spore-host -- spore-host-mcp
# or, with a named AWS profile:
claude mcp add spore-host -e AWS_PROFILE=my-profile -- spore-host-mcp

Claude Desktop, Cursor, Windsurf, and other clients โ€” add to the client's MCP config (~/.claude/claude_desktop_config.json for Claude Desktop):

json
{
  "mcpServers": {
    "spore-host": {
      "command": "/usr/local/bin/spore-host-mcp"
    }
  }
}

Restart the client. See the setup guide for per-client config paths (Claude Code, Claude Desktop, Cursor, Windsurf, Kiro, Codex, Zed, โ€ฆ).

Available tools โ€‹

Truffle tools โ€‹

ToolDescription
truffle_findNatural language instance type search โ€” "nvidia h100 8gpu", "cheap arm64 with 32gb"
truffle_spot_pricesCurrent Spot prices for a specific type across regions and AZs
truffle_quota_checkWhether your account has sufficient quota to launch a type

Spawn tools โ€‹

ToolDescription
spawn_listList instances, filter by state and region
spawn_statusDetailed status by instance name or ID, incl. absolute reap deadline
spawn_stopStop or hibernate a running instance
spawn_terminatePermanently terminate an instance โ€” two-phase: previews first, requires confirm=true; refuses an ambiguous name
spawn_extendUpdate an instance's TTL

Example interactions โ€‹

"What instances do I have running and how long until they terminate?"

"Find me the cheapest GPU instance for inference in us-east-1."

"Stop the rstudio instance โ€” I forgot it was running."

"What's the current Spot price for p4d.24xlarge across us-east-1 and us-west-2?"

"Extend the bert-training TTL by 6 hours."

Credentials โ€‹

The MCP server uses whichever AWS credentials are active in your environment โ€” the same ones the CLI uses (AWS_PROFILE/AWS_REGION, ~/.aws/โ€ฆ, or instance metadata). It also honors the shared spore.host config base: SPORE_PROFILE/SPORE_REGION and the [spore] table of ~/.config/spore/config.toml. No additional setup is needed if the CLI already works.

For a full setup walkthrough, see AI Assistant (MCP).

Source โ€‹

The MCP server is open source and ships as a single static binary. โ†’ spore-host-mcp on GitHub