spawn_bootstrap
Exchange a one-time bootstrap key for a durable agent token, saving SPAWN_AGENT_KEY to your project's .env. The full token is never returned; keys expire in ~5 minutes.
Instructions
Trade a one-time setup bootstrap key (sbk_…) for a durable agent token. Writes SPAWN_AGENT_KEY to the project .env. The full token is NEVER returned — only a masked prefix. Bootstrap keys expire in ~5 minutes and work once.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bootstrapKey": "<bootstrapKey>"
},
"name": "spawn_bootstrap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable label for this agent connection (use a distinct name per concurrent agent, e.g. terrain-agent) | Cursor Spawn MCP |
| projectDir | No | Absolute path to the Spawn game project (game.json / .env). Defaults to SPAWN_PROJECT_DIR or the MCP process cwd. | |
| bootstrapKey | Yes | One-time setup key from Spawn settings (sbk_…) |