{
  "name": "fonara-search-mcp",
  "title": "Fonara Search MCP",
  "description": "One query, three independent search backends (Brave, Exa, Tavily), merged with per-result cross-engine agreement and provenance. Four tools: search, extract, similar, status.",
  "version": "0.1.0",
  "schemaVersion": "1.0",
  "license": "MIT",
  "transport": {
    "type": "streamable-http",
    "url": "https://searchmcp.fonaralabs.dev/mcp",
    "methods": ["POST"],
    "stateless": true,
    "protocol": "MCP over JSON-RPC 2.0",
    "alternateUrl": "https://searchmcp.fonaralabs.dev/v1/{key}/mcp",
    "alternateUrlNote": "Key-in-path route for clients that cannot set headers; same payloads, same tiers."
  },
  "auth": {
    "modes": ["keyless", "bearer", "key-in-path"],
    "keyless": {
      "allowed": ["initialize", "tools/list", "tools/call:search", "tools/call:status"],
      "identityRequired": ["tools/call:extract", "tools/call:similar"],
      "limits": {
        "runsPerDay": 200,
        "runsPerMinute": 10,
        "snapshotUrl": null
      }
    },
    "bearer": {
      "header": "Authorization: Bearer <fonara-key>",
      "keyCreation": "https://searchmcp.fonaralabs.dev/v1/key-request",
      "keyRequest": {
        "method": "POST",
        "url": "https://searchmcp.fonaralabs.dev/v1/key-request",
        "auth": "none",
        "payload": {
          "agent_name": "string (1-128 chars, required)",
          "contact": "email or http(s) URL (required)",
          "intent": "one line, optional"
        },
        "response": {
          "request_id": "kr_…",
          "status": "review",
          "next": "https://searchmcp.fonaralabs.dev/auth.md#creating-a-hosted-key"
        },
        "statuses": {
          "review": "queued in KEYS_REQUEST; a human mints the key out of band",
          "issued": "auto-issuance mode only: the response also carries key and tier"
        },
        "rateLimitPerIp": {
          "requestsPerHour": 3,
          "requestsPerDay": 10
        }
      }
    },
    "keyInPath": "/v1/{key}/mcp",
    "unauthorized": {
      "status": 401,
      "wwwAuthenticate": "Bearer",
      "body": {
        "error": "missing or invalid API key"
      }
    }
  },
  "capabilities": {
    "tools": true,
    "prompts": false,
    "resources": false,
    "sampling": false
  },
  "tools": ["search", "extract", "similar", "status"],
  "costs": {
    "searchRunUsd": 0.02,
    "searchCacheHitUsd": 0,
    "similarRequestUsd": 0.004,
    "extractUncachedUsd": 0.001,
    "extractCacheHitUsd": 0,
    "failureUsd": 0
  },
  "limits": {
    "freeKey": {
      "runsPerMonth": 100,
      "extractsPerMonth": 20,
      "runsPerMinute": 30,
      "receiptRetentionDays": 7
    },
    "paid": {
      "receipts": "permanent",
      "extras": "divergence trend and drift alerts"
    },
    "onLimit": {
      "status": 429,
      "body": {
        "error": "rate limit exceeded",
        "retry_after": 0,
        "upgrade": "https://fonaralabs.dev/searchmcp/pricing"
      }
    }
  },
  "receipts": {
    "route": "GET /r/{run_id}",
    "privacy": "private to the calling credential; another key's receipt is 404",
    "retention": "free: 7 days, then 410 with an upgrade pointer; paid: permanent",
    "content": "measurement only \u2014 engines, latencies, counts, agreement, usage; never results, never the query"
  },
  "links": {
    "llmsTxt": "https://searchmcp.fonaralabs.dev/llms.txt",
    "llmsFullTxt": "https://searchmcp.fonaralabs.dev/docs/llms-full.txt",
    "openapi": "https://searchmcp.fonaralabs.dev/docs/openapi.json",
    "auth": "https://searchmcp.fonaralabs.dev/auth.md",
    "skill": "https://searchmcp.fonaralabs.dev/SKILL.md",
    "agentNote": "https://searchmcp.fonaralabs.dev/docs/agentNote.md",
    "intentIndex": "https://searchmcp.fonaralabs.dev/docs/intent/index.md",
    "apiCatalog": "https://searchmcp.fonaralabs.dev/.well-known/api-catalog",
    "agentSkills": "https://searchmcp.fonaralabs.dev/.well-known/agent-skills/index.json"
  }
}
