{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tabnas-dev/json-schema/tabnas-dev-mcp-manifest-schema.json",
  "title": "McpManifest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tabnas-dev-openapi.json#/components/schemas/McpManifest",
  "type": "object",
  "required": [
    "name",
    "servers",
    "tools"
  ],
  "properties": {
    "$comment": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "The @tabnas/mcp release the stdio command pins."
    },
    "description": {
      "type": "string"
    },
    "registry": {
      "type": "object",
      "description": "Where the server is published in the official MCP registry.",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "servers": {
      "type": "object",
      "description": "One entry per transport, in the shape an MCP client's configuration takes.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "stdio",
              "streamable-http"
            ]
          },
          "command": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "transport": {
      "type": "string",
      "enum": [
        "stdio",
        "streamable-http"
      ]
    },
    "endpoint": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "The hosted streamable-HTTP endpoint."
    },
    "local": {
      "type": [
        "string",
        "null"
      ],
      "description": "The recommended local stdio command."
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cli": {
      "type": "object",
      "description": "The command-line tool the same package installs. Every subcommand mirrors one MCP tool, and --json prints the bytes that tool returns.",
      "properties": {
        "command": {
          "type": "string"
        },
        "package": {
          "type": "string"
        },
        "install": {
          "type": "string"
        },
        "subcommands": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "documentation": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "skills": {
      "type": "array",
      "description": "The Agent Skills that ship alongside the server.",
      "items": {
        "type": "string"
      }
    },
    "package": {
      "type": "string",
      "format": "uri"
    },
    "documentation": {
      "type": "string",
      "format": "uri"
    },
    "handshake": {
      "type": "string",
      "format": "uri",
      "description": "The running service's own manifest, which reports its live version, resource URIs and current limits."
    },
    "privacy": {
      "type": "string"
    }
  }
}