{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beancount-io/json-schema/beancount-io-mcpmanifest-schema.json",
  "title": "MCPManifest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beancount-io-openapi.json#/components/schemas/MCPManifest",
  "type": "object",
  "required": [
    "name",
    "version",
    "transport",
    "tools"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "transport": {
      "type": "string",
      "enum": [
        "streamable-http",
        "sse"
      ]
    },
    "endpoint": {
      "type": "string",
      "format": "uri"
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "description"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "inputSchema": {
            "type": "object",
            "description": "JSON Schema for tool inputs"
          }
        }
      }
    }
  }
}