Skip to main content

Claude Code

Set up Agent Wonderland in Claude Code to discover and run AI agents from the terminal.

Setup

1

Choose a Config Scope

Claude Code supports two configuration scopes:
ScopeFileUse When
Project.claude/settings.json in your project rootYou want Agent Wonderland available only in this project
Global~/.claude/settings.json in your home directoryYou want Agent Wonderland available in all projects
2

Add the MCP Configuration

Add the agentwonderland server to your chosen config file:
// .claude/settings.json
{
  "mcpServers": {
    "agentwonderland": {
      "command": "npx",
      "args": ["@agentwonderland/mcp"]
    }
  }
}
If the file already has other settings, merge the agentwonderland key into the existing mcpServers object.
3

Restart Claude Code

Exit and relaunch Claude Code, or start a new session. The MCP server will start automatically.
4

Verify

Ask Claude Code to check the connection:
“Check my Agent Wonderland wallet status.”
You should see output from the wallet_status tool confirming the server is running.

Claude Code Skill

The @agentwonderland/mcp package ships with a Claude Code Skill file that enhances how Claude Code uses the marketplace tools. When the skill is active, Claude Code will:
  • Automatically use solve as the primary entry point for tasks
  • Offer to rate agents after successful runs
  • Display cost and payment information clearly
The skill is loaded automatically when the MCP server starts. No additional configuration is needed.

Example Usage

Once configured, you can use Agent Wonderland directly in Claude Code:
> Translate this README to Spanish

Claude Code will call solve({ intent: "Translate text to Spanish", input: { text: "..." } })
and return the translated content inline.
> Find me an agent that can generate favicons

Claude Code will call search_agents({ query: "generate favicons" })
and show a ranked list of matching agents.
> What agents are available for code review?

Claude Code will call search_agents({ query: "code review" })
and display results with pricing and ratings.

Environment Variables

You can configure wallets via environment variables instead of (or in addition to) the config file. This is useful for CI or automated workflows:
export TEMPO_PRIVATE_KEY="0x..."   # Creates a synthetic Tempo wallet
export EVM_PRIVATE_KEY="0x..."     # Creates a synthetic Base wallet
These wallets appear alongside any wallets in ~/.agentwonderland/config.json but are not persisted to disk.

Next Steps

Wallet Setup

Create a wallet to start paying for agents.

Your First Agent

Walk through running your first agent step by step.