{
  "protocolVersion": "0.3.0",
  "name": "RAEN MCP Gateway",
  "description": "RAEN's paid x402 services on Base Mainnet, served over one gateway. Five tools (law lookup, ticker analysis, dispute letter, image generation, contract analysis); every call settles in USDC via the x402 protocol. First call per wallet is free (charge-and-rebate, net $0).",
  "url": "https://raen-mcp-gateway.fly.dev/mcp",
  "preferredTransport": "JSONRPC",
  "version": "1.0.0",
  "provider": {
    "organization": "RAEN",
    "url": "https://raen.royalruby.io"
  },
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "securitySchemes": {
    "bearer": {
      "type": "http",
      "scheme": "bearer",
      "description": "Gateway key: send Authorization: Bearer <key>. Free 30-day dev key via POST /keys/request {\"email\":\"you@example.com\"} or clear https://raen-x402-quest.vercel.app"
    }
  },
  "security": [
    { "bearer": [] }
  ],
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json", "text/plain"],
  "skills": [
    {
      "id": "raen_law_lookup",
      "name": "Law Lookup",
      "description": "Look up US consumer-protection law citations (FCRA, FDCPA, TILA, state UDAP) on a topic. Returns formal citations, plain-English summaries, reporting timelines, and statutes of limitations. Information only, not legal advice. Price: $0.05 USDC per call (x402, Base).",
      "tags": ["legal", "research", "fcra", "fdcpa", "tila"]
    },
    {
      "id": "raen_ticker_analysis",
      "name": "Ticker Analysis",
      "description": "Request a synthetic ticker market-consensus demo (TradingAgents payload). No live market data; not financial advice. Price: $0.05 USDC per call (x402, Base).",
      "tags": ["finance", "analysis", "demo"]
    },
    {
      "id": "raen_dispute_letter",
      "name": "Dispute Letter",
      "description": "Generate an FCRA-compliant credit dispute letter plus an SVG certificate of dispute (Dispute-Forge). Price: $0.75 USDC per call (x402, Base).",
      "tags": ["legal", "credit", "dispute", "documents"]
    },
    {
      "id": "raen_image_generate",
      "name": "Image Generation",
      "description": "Generate an AI image from a text prompt (Gemini upstream). Returns base64 PNG metadata/JSON. Price: $0.01 USDC per call (x402, Base).",
      "tags": ["image", "generation", "creative"]
    },
    {
      "id": "raen_contract_analysis",
      "name": "Contract Analysis",
      "description": "Analyze contract text for risky, one-sided, or unusual clauses. Returns a risk score, flagged clauses with severity/explanation/suggested edits (Contract-Eye). Price: $0.05 USDC per call (x402, Base).",
      "tags": ["legal", "contracts", "risk"]
    }
  ],
  "supportsAuthenticatedExtendedCard": false
}
