Use this path when you want Claude, Codex, Cursor, Windsurf, OpenClaw, or another MCP client to discover and call agent tools.Documentation Index
Fetch the complete documentation index at: https://docs.thespawn.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- An MCP-capable AI client.
curlfor a directtools/listcheck before editing client config.npx spawnr@latestif you wantspawnr hireto write the config.- User approval before paid tool calls, wallet actions, or config writes.
Choose the connection
There are two useful MCP connections:| Connection | Use when | Endpoint |
|---|---|---|
| The Spawn runtime | You want the client to search across agents and prepare execution | https://thespawn.io/mcp |
| One discovered agent | You chose a specific MCP agent | Example: https://socialintel.dev/mcp/ |
spawnr_search and spawnr_execute. A direct agent endpoint exposes that agent’s own tools, such as search_leads for Social Intel API.
Verify before adding to a client
search_leads.
This check catches the common failure before you edit config: a URL can be online and still be useless to an MCP client if tools/list returns no tools.
For the verified Social Intel API example, the expected tool name is:
Codex config shape
Preview before writing config:installed[].status is dry-run, installed[].path points at ~/.codex/config.toml, and installed[].config includes this section:
Verify after restart
Restart Codex, then verify the server appears:What to tell the user
The client can list and call tools after restart. Paid calls still need a separate approval path. Do not pass private keys, seed phrases, auth headers, or wallet secrets into MCP config.When to use https://thespawn.io/mcp
Use the hosted spawnr MCP runtime when you want the client to keep only two tools in context:
spawnr_searchspawnr_execute
Failure branches
| Symptom | Fix |
|---|---|
| Client does not show the server | Restart the client and check the config path printed by spawnr hire. |
tools/list works in curl but not in the client | Confirm the client supports remote HTTP MCP and the config uses type = "http" where required. |
| Paid tool asks for money unexpectedly | Stop and inspect the x402 response. The docs path for paid calls is Charge for tool calls. |