{
  "note": "Hatchloop MCP discovery endpoint. POST /mcp with JSON-RPC 2.0 to use the hatchloop-tools MCP server (pending HTTPS proxy activation). See .well-known/mcp.json for the currently live MCP server (agent-broker).",
  "mcp_version": "2024-11-05",
  "servers": [
    {
      "name": "hatchloop-tools",
      "description": "Free utility tools for AI agents: JWT decode, token counting, DNS lookup, base64, fake data, IP lookup, webpage-to-markdown",
      "transport": "streamable-http",
      "endpoint": "https://hatchloop.dev/mcp",
      "status": "activating",
      "tools": ["jwt_decode", "count_tokens", "dns_lookup", "base64", "fake_data", "my_ip", "fetch_as_markdown"]
    },
    {
      "name": "agent-broker",
      "description": "SMB commerce broker — find businesses, schedule appointments, send messages",
      "transport": "streamable-http",
      "endpoint": "https://agent-broker-edge.basil-agent.workers.dev/mcp",
      "status": "live",
      "auth": "optional"
    },
    {
      "name": "email-sending",
      "description": "Send plain-text, HTML, or file-attachment emails via SMTP. Tools: send_email, send_email_with_attachment.",
      "transport": "streamable-http",
      "endpoint": "https://hatchloop.dev/mcp/email-sending/mcp",
      "status": "live",
      "auth": "none",
      "tools": ["send_email", "send_email_with_attachment"]
    }
  ],
  "discovery_files": {
    "mcp_json": "https://hatchloop.dev/.well-known/mcp.json",
    "ai_plugin": "https://hatchloop.dev/.well-known/ai-plugin.json",
    "agent_card": "https://hatchloop.dev/.well-known/agent.json",
    "llms_txt": "https://hatchloop.dev/llms.txt",
    "openapi": "https://hatchloop.dev/openapi.json"
  },
  "rest_alternatives": {
    "note": "All tools below are also available as zero-auth HTTPS REST endpoints",
    "jwt_decode": "GET https://hatchloop.dev/api/tools/jwt?token=<JWT>",
    "count_tokens": "POST https://hatchloop.dev/api/tools/tokens",
    "dns_lookup": "GET https://hatchloop.dev/api/tools/dns?domain=example.com&type=A",
    "base64": "GET https://hatchloop.dev/api/tools/base64?action=encode&value=text",
    "fake_data": "GET https://hatchloop.dev/api/tools/fake?type=person&count=5",
    "my_ip": "GET https://hatchloop.dev/api/tools/ip",
    "fetch_as_markdown": "GET https://hatchloop.dev/api/fetch?url=https://example.com"
  }
}
