{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "com.apikeg/spec-slice",
  "title": "Spec Slice — OpenAPI & GraphQL Subgraph Extractor",
  "description": "Shrink 200k-token OpenAPI 3.1 and GraphQL schemas by 90-99% into valid, cycle-safe mini-specs in <20ms. Eliminates context-window overflow on massive Stripe/GitHub/Shopify specs, avoids broken $ref pointers or infinite recursive schema loops, and saves $0.10-$0.50 in LLM input tokens for $0.001.",
  "version": "1.0.0",
  "transports": [
    {
      "type": "streamable-http",
      "url": "https://spec-slice.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://spec-slice.apikeg.com/.well-known/x402.json",
    "freeDiscovery": true
  },
  "documentation": {
    "landingPage": "https://spec-slice.apikeg.com/",
    "llmsTxt": "https://spec-slice.apikeg.com/llms.txt",
    "llmsFullTxt": "https://spec-slice.apikeg.com/llms-full.txt",
    "openApi": "https://spec-slice.apikeg.com/openapi.json",
    "apiCatalog": "https://spec-slice.apikeg.com/.well-known/api-catalog"
  },
  "tools": [
    {
      "name": "slice_openapi_spec",
      "title": "Slice OpenAPI 3.0/3.1 or Swagger 2.0 Specification",
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.001",
        "unitDescription": "per OpenAPI/Swagger subgraph slice"
      },
      "restEndpoint": "https://spec-slice.apikeg.com/v1/slice-openapi-spec",
      "docUrl": "https://spec-slice.apikeg.com/tools/slice-openapi-spec"
    },
    {
      "name": "slice_graphql_schema",
      "title": "Slice GraphQL SDL Schema to Minimal Subgraph",
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.001",
        "unitDescription": "per GraphQL SDL subgraph slice"
      },
      "restEndpoint": "https://spec-slice.apikeg.com/v1/slice-graphql-schema",
      "docUrl": "https://spec-slice.apikeg.com/tools/slice-graphql-schema"
    }
  ]
}