{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "com.apikeg/pdf-forge",
  "title": "PDF Forge & Layout Diagnostics Edge API",
  "description": "Compile Markdown or HTML into polished multi-page PDF 1.7 documents with orphan-page & wide-table diagnostics in <20ms. Eliminates heavyweight headless Chromium containers, broken PDF byte-offset xref tables, clipped wide tables, and embarrassing 2-line trailing orphan pages before delivering client-facing PDFs.",
  "version": "1.0.0",
  "transports": [
    {
      "type": "streamable-http",
      "url": "https://pdf-forge.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://pdf-forge.apikeg.com/.well-known/x402.json",
    "freeDiscovery": true
  },
  "documentation": {
    "landingPage": "https://pdf-forge.apikeg.com/",
    "llmsTxt": "https://pdf-forge.apikeg.com/llms.txt",
    "llmsFullTxt": "https://pdf-forge.apikeg.com/llms-full.txt",
    "openApi": "https://pdf-forge.apikeg.com/openapi.json",
    "apiCatalog": "https://pdf-forge.apikeg.com/.well-known/api-catalog"
  },
  "tools": [
    {
      "name": "render_document_pdf",
      "title": "Render Markdown or HTML Document to Themed PDF",
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.004",
        "unitDescription": "per rendered PDF document"
      },
      "restEndpoint": "https://pdf-forge.apikeg.com/v1/render-document-pdf",
      "docUrl": "https://pdf-forge.apikeg.com/tools/render-document-pdf"
    },
    {
      "name": "inspect_pdf_document",
      "title": "Inspect Binary PDF Structure & Metadata",
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.001",
        "unitDescription": "per PDF binary inspection"
      },
      "restEndpoint": "https://pdf-forge.apikeg.com/v1/inspect-pdf-document",
      "docUrl": "https://pdf-forge.apikeg.com/tools/inspect-pdf-document"
    }
  ]
}