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.
Two tools can create billable resources
Most tools only read or manage what already exists. Two can spend money:
spawn_task_runlaunches a real, billable EC2 instance from a TaskSpec. The spec must include a TTL (lifecycle.ttl) or the call is rejected, anddry_run=truesizes and previews the plan without launching anything.lagotto_watchwithaction=holdplaces an On-Demand Capacity Reservation, which bills for as long as it's held.
spawn_app_launch only validates and plans; the real app launch is left to the spawn app launch CLI. Review what your assistant is about to run, and prefer dry_run first.
Install โ
brew tap spore-host/tap && brew trust spore-host/tap
brew install spore-host/tap/spore-host-mcpConfigure โ
Claude Code โ from your project directory:
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-mcpClaude Desktop, Cursor, Windsurf, and other clients โ add to the client's MCP config (for Claude Desktop, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows). Use the path which spore-host-mcp prints:
{
"mcpServers": {
"spore-host": {
"command": "/opt/homebrew/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 โ
| Tool | Description |
|---|---|
truffle_find | Natural language instance type search โ "nvidia h100 8 gpus", "cheap arm64 with 32gb" |
truffle_spot_prices | Current Spot prices for a specific type across regions and AZs |
truffle_quota_check | Whether your account has sufficient quota to launch a type |
Spawn tools โ
| Tool | Description |
|---|---|
spawn_list | List instances, filter by state and region |
spawn_status | Detailed status by instance name or ID, incl. absolute reap deadline |
spawn_stop | Stop or hibernate a running instance |
spawn_terminate | Permanently terminate an instance โ two-phase: previews first, requires confirm=true; refuses an ambiguous name |
spawn_extend | Update an instance's TTL |
spawn_task_run | Launches a billable instance from a TaskSpec; TTL required; dry_run=true previews without launching |
spawn_app_launch | Validates and plans an app launch (GUI, desktop or web app); doesn't launch |
Lagotto tools โ
| Tool | Description |
|---|---|
lagotto_list | List your capacity watches (only those created by your AWS identity) |
lagotto_status | Full details of one watch you own |
lagotto_watch | Create a watch. action=notify sends a notification only; action=hold places an On-Demand Capacity Reservation, which reserves billable capacity while it's held. action=spawn isn't available here; use the lagotto CLI |
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