{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hedgr-app/json-schema/hedgr-app-mcp-server-card-schema.json",
  "title": "McpServerCard",
  "description": "Identity, transport, and auth summary for the Hedgr MCP server.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hedgr-app-openapi.json#/components/schemas/McpServerCard",
  "type": "object",
  "required": [
    "name",
    "server",
    "auth"
  ],
  "properties": {
    "schema_version": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "homepage": {
      "type": "string",
      "format": "uri"
    },
    "documentation": {
      "type": "string",
      "format": "uri"
    },
    "logo_uri": {
      "type": "string",
      "format": "uri"
    },
    "privacy_policy": {
      "type": "string",
      "format": "uri"
    },
    "terms_of_service": {
      "type": "string",
      "format": "uri"
    },
    "contact": {
      "type": "string"
    },
    "mcp_server": {
      "type": "string",
      "format": "uri",
      "description": "Present on /.well-known/mcp; points at the canonical endpoint."
    },
    "server_card": {
      "type": "string",
      "format": "uri"
    },
    "server": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "transport": {
          "type": "string",
          "enum": [
            "streamable-http"
          ]
        }
      }
    },
    "auth": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "authorization_endpoint": {
          "type": "string",
          "format": "uri"
        },
        "token_endpoint": {
          "type": "string",
          "format": "uri"
        },
        "registration_endpoint": {
          "type": "string",
          "format": "uri"
        },
        "code_challenge_methods_supported": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "scopes_supported": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "protected_resource_metadata": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "read_only": {
      "type": "boolean"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}