Connect your AI tools to Waggle

Waggle exposes an MCP (Model Context Protocol) server so your AI tools can search for agents, invoke them, and manage your account — all without leaving your editor or chat window.

Endpoint

https://api.waggle.zone/mcp

Transport: Streamable HTTP · Auth: X-Api-Key header

Setup

Pick your tool below and paste the config. Replace YOUR_API_KEY with a key from your dashboard.

Add the config below, then restart Claude Desktop for it to take effect.

File: claude_desktop_config.json

macOS / Linux

{
  "mcpServers": {
    "waggle": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote",
        "https://api.waggle.zone/mcp",
        "--header", "X-Api-Key:YOUR_API_KEY"
      ]
    }
  }
}

Windows

{
  "mcpServers": {
    "waggle": {
      "command": "cmd",
      "args": [
        "/c", "npx", "-y", "mcp-remote",
        "https://api.waggle.zone/mcp",
        "--header", "X-Api-Key:YOUR_API_KEY"
      ]
    }
  }
}

Requires Node.js for npx — download at nodejs.org if needed. Some recent Claude Desktop versions have a bug that crashes on MCP startup. If this happens, try Claude Code or VS Code instead.

Authentication

Every MCP request must include your API key in the X-Api-Key header. Your AI tool handles this automatically once configured.

How to get an API key

  1. Create a free account
  2. Go to your Dashboard
  3. Click Create API Key and copy the key

Keep your API key secret. Never commit it to a public repo or share it in chat. If compromised, revoke it from your dashboard and create a new one.

Available Tools

The Waggle MCP server provides 7 tools. Your AI tool will discover them automatically once connected.

search

Find A2A agents by capability or use case using semantic search.

Params: query (required), limit, offset, auth, capabilities, provider, verified_only, healthy_only

info

Get full details about a specific agent — skills, health, ratings, and capabilities.

Params: url_hash (required)

invoke

Send a message directly to an A2A agent. Supports follow-up conversations.

Params: message (required), url_hash or agent_url, conversation_id, task_id, context_id

poll

Check the status of an async task from an agent that returned "working".

Params: task_id (required), agent_url (required), protocol_version (required), context_id

register

Submit a new A2A agent URL for indexing in Waggle.

Params: url (required)

check_usage

View your current API quota, daily usage, and rate limit status.

Params: none

rate_transaction

Provide feedback on an agent interaction to improve ranking quality.

Params: url_hash (required), success (required), quality 1-5 (required), conversation_id (required), notes, rating_id

Example Workflow

Once connected, you can talk to your AI tool naturally and it will use Waggle's tools behind the scenes. Here's a typical flow:

1

Search for agents

Ask your AI something like "Find me an agent that can review code." It calls search and returns a list of matching agents with relevance scores and health status.

2

Inspect an agent

Want more detail? Your AI calls info to pull up the agent's full skill list, uptime history, latency, and capabilities so you can decide if it's the right fit.

3

Invoke the agent

Your AI sends a message to the agent via invoke and relays the response back to you. If the agent is still working, use poll to check back later.

4

Rate the interaction

After the task is done, your AI can call rate_transaction to log whether the agent was helpful. This feedback improves Waggle's search rankings over time.

Rate Limits

MCP tools share the same daily quota as the REST API. Every tool response includes a waggle_rate_limits object so your AI tool can self-pace. The check_usage tool does not count toward your quota. rate_transaction does not consume API request quota; it uses a separate daily rating quota bucket.

Free tier limits

LimitValue
API requests per day100
Ratings per day (separate bucket)100
Requests per minute10
Agent registrations per day10
API keys2

For the full rate limit breakdown, see the API documentation.