{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/presify-io/json-schema/presify-io-mcp-server-card-schema.json",
  "title": "McpServerCard",
  "description": "MCP server card (SEP-1649 draft fields plus registry-style remotes).",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/presify-io-openapi.json#/components/schemas/McpServerCard",
  "type": "object",
  "required": [
    "name",
    "description",
    "version",
    "serverUrl",
    "protocolVersion",
    "transport",
    "tools"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Reverse-DNS server name."
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "serverUrl": {
      "type": "string",
      "format": "uri"
    },
    "websiteUrl": {
      "type": "string",
      "format": "uri"
    },
    "documentationUrl": {
      "type": "string",
      "format": "uri"
    },
    "openapiUrl": {
      "type": "string",
      "format": "uri"
    },
    "protocolVersion": {
      "type": "string"
    },
    "transport": {
      "type": "object",
      "required": [
        "type",
        "endpoint"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "streamable-http"
          ]
        },
        "endpoint": {
          "type": "string",
          "format": "uri"
        },
        "responseMode": {
          "type": "string",
          "enum": [
            "json"
          ]
        }
      }
    },
    "capabilities": {
      "type": "object",
      "additionalProperties": true
    },
    "authentication": {
      "type": "object",
      "additionalProperties": true
    },
    "remotes": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "description",
          "inputSchema"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "inputSchema": {
            "type": "object",
            "additionalProperties": true
          },
          "annotations": {
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    }
  }
}