{
  "openapi": "3.1.0",
  "info": {
    "title": "Mikkel Tschentscher, public content",
    "version": "1.0.0",
    "description": "Read-only access to published website content. MCP does not execute arbitrary URLs or call paid AI models."
  },
  "servers": [
    {
      "url": "https://mikkeltschentscher.dk"
    }
  ],
  "paths": {
    "/api/a2a": {
      "post": {
        "operationId": "a2aMessage",
        "summary": "A2A 0.3 JSON-RPC message/send. A text query or canonical path returns published source data synchronously. No tasks, streaming or write operations.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "jsonrpc",
                  "id",
                  "method",
                  "params"
                ],
                "properties": {
                  "jsonrpc": {
                    "const": "2.0"
                  },
                  "method": {
                    "const": "message/send"
                  },
                  "id": {
                    "type": [
                      "string",
                      "number"
                    ]
                  },
                  "params": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A2A Message or JSON-RPC error"
          },
          "400": {
            "description": "Invalid request"
          },
          "413": {
            "description": "Request exceeds 16 KB"
          },
          "415": {
            "description": "Use application/json"
          }
        }
      }
    },
    "/api/mcp": {
      "post": {
        "operationId": "mcpRequest",
        "summary": "MCP Streamable HTTP JSON-RPC. Initialize, list tools/resources and use read-only tools.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "jsonrpc",
                  "method"
                ],
                "properties": {
                  "jsonrpc": {
                    "const": "2.0"
                  },
                  "method": {
                    "type": "string"
                  },
                  "id": {
                    "type": [
                      "string",
                      "number"
                    ]
                  },
                  "params": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response"
          },
          "202": {
            "description": "Notification accepted"
          },
          "400": {
            "description": "Invalid request"
          },
          "413": {
            "description": "Request exceeds 1 MB"
          }
        }
      }
    },
    "/ai/content.json": {
      "get": {
        "operationId": "getPublishedContent",
        "summary": "Published pages including original URL, Markdown, locale and content hash",
        "responses": {
          "200": {
            "description": "Published content corpus"
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getAgentIndex",
        "summary": "Curated index of key pages and agent formats",
        "responses": {
          "200": {
            "description": "Markdown index"
          }
        }
      }
    }
  }
}