{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "com.apikeg/calendar-ics",
  "title": "CalendarICS Edge API",
  "description": "Generate Outlook/Google/Apple-proof RFC 5545 .ics invites, VTIMEZONE blocks, and calendar deep links in <5ms. LLM-generated .ics strings routinely fail in Outlook and Apple Calendar due to LF-only line breaks, >75-octet UTF-8 emoji corruption, and missing VTIMEZONE definitions. One $0.001 call guarantees byte-accurate RFC 5545 compliance.",
  "version": "1.0.0",
  "transports": [
    {
      "type": "streamable-http",
      "url": "https://calendar-ics.apikeg.com/mcp"
    }
  ],
  "capabilities": {
    "tools": true,
    "resources": true,
    "prompts": true
  },
  "authentication": {
    "required": false,
    "schemes": [
      "x402",
      "bearer",
      "none"
    ],
    "notes": "Zero-signup x402 is primary: initialize, tools/list, resources/*, and prompts/* are free, and paid tools settle inline via HTTP 402 (x402 v2 USDC). Alternatively, pass Authorization: Bearer ak_live_... with an active $5/$20/$50 monthly subscription from https://apikeg.com/account."
  },
  "payment": {
    "protocol": "x402",
    "version": 2,
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "manifestUrl": "https://calendar-ics.apikeg.com/.well-known/x402.json",
    "freeDiscovery": true
  },
  "documentation": {
    "landingPage": "https://calendar-ics.apikeg.com/",
    "llmsTxt": "https://calendar-ics.apikeg.com/llms.txt",
    "llmsFullTxt": "https://calendar-ics.apikeg.com/llms-full.txt",
    "openApi": "https://calendar-ics.apikeg.com/openapi.json",
    "apiCatalog": "https://calendar-ics.apikeg.com/.well-known/api-catalog"
  },
  "tools": [
    {
      "name": "generate_calendar_invite",
      "title": "Generate RFC 5545 Calendar Invite & Deep Links",
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.001",
        "unitDescription": "per generated .ics invite + deep-link bundle"
      },
      "restEndpoint": "https://calendar-ics.apikeg.com/v1/generate-calendar-invite",
      "docUrl": "https://calendar-ics.apikeg.com/tools/generate-calendar-invite"
    },
    {
      "name": "validate_ics_payload",
      "title": "Validate & Auto-Repair .ics Payload",
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.001",
        "unitDescription": "per .ics audit (with optional deterministic auto-repair)"
      },
      "restEndpoint": "https://calendar-ics.apikeg.com/v1/validate-ics-payload",
      "docUrl": "https://calendar-ics.apikeg.com/tools/validate-ics-payload"
    }
  ]
}