{
  "openapi": "3.1.0",
  "info": {
    "title": "GadgetHumans MCP",
    "description": "337 AI agent tools with x402 micropayments on Base. $0.001/call.",
    "version": "1.0.2",
    "x-payment-info": {
      "type": "x402",
      "network": "eip155:8453",
      "currency": "USDC",
      "price": "0.001",
      "wallet": "0x77b383206Fc9b634EeBCC1f4F2b5281D409AA271",
      "affiliate": "gh_affiliate_001",
      "commission": "19.8%"
    }
  },
  "servers": [
    {
      "url": "https://swarm.gadgethumans.com",
      "description": "Production MCP server"
    }
  ],
  "x-mcp": {
    "server": {
      "name": "gadgethumans-mcp",
      "version": "1.0.2",
      "endpoint": "/mcp",
      "protocol": "streamable-http"
    }
  },
  "paths": {
    "/mcp": {
      "get": {
        "summary": "MCP SSE endpoint",
        "description": "Connect via MCP protocol. All 337 tools available.",
        "x-payment-info": { "$ref": "#/info/x-payment-info" },
        "responses": {
          "200": { "description": "SSE stream" }
        }
      }
    },
    "/x402/": {
      "get": {
        "summary": "x402 payment landing page",
        "description": "Information about x402 micropayments",
        "x-payment-info": { "$ref": "#/info/x-payment-info" },
        "responses": {
          "200": { "description": "HTML page" }
        }
      }
    },
    "/api/x402/pay": {
      "post": {
        "summary": "Submit x402 payment",
        "description": "Send USDC and receive data response",
        "x-payment-info": { "$ref": "#/info/x-payment-info" },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "payment": { "type": "string" },
                  "idempotency_key": { "type": "string" }
                }
              }
            }
          }
        },
        "responses": {
          "200": { "description": "Payment successful, data returned" },
          "402": { "description": "Payment required, use x402 protocol" }
        }
      }
    },
    "/kronos/sse": {
      "get": {
        "summary": "Kronos SSE stream",
        "description": "Real-time market signals via Server-Sent Events",
        "x-payment-info": { "$ref": "#/info/x-payment-info" },
        "responses": {
          "200": { "description": "SSE stream" }
        }
      }
    }
  }
}
