{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://finger.md/schemas/mcp.json",
  "title": "MCP discovery manifest (/.well-known/mcp.json)",
  "description": "Discovery manifest published at /.well-known/mcp.json listing the Model Context Protocol servers an operator runs for a given web property. Aligned with the MCP Server Card direction (SEP-1649 / SEP-1960): clients discover connectable MCP servers from a domain without prior configuration.",
  "type": "object",
  "required": ["issuer", "servers"],
  "additionalProperties": true,
  "properties": {
    "$schema": {
      "type": "string",
      "format": "uri",
      "description": "URL of this schema."
    },
    "issuer": {
      "type": "string",
      "format": "uri",
      "description": "Canonical origin publishing this manifest, with trailing slash."
    },
    "operator": {
      "type": "string",
      "description": "Legal or trading name of the operating entity."
    },
    "operator_url": {
      "type": "string",
      "format": "uri",
      "description": "Home URL of the operating entity."
    },
    "displayName": {
      "type": "string",
      "description": "Human-readable name of this manifest."
    },
    "description": {
      "type": "string",
      "description": "What this manifest covers, including whether the issuer runs its own MCP server."
    },
    "servers": {
      "type": "array",
      "description": "MCP servers reachable by agents. May be empty if the operator runs none.",
      "items": {
        "type": "object",
        "required": ["name", "url", "transport"],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": "string",
            "description": "Short stable identifier for the server."
          },
          "description": {
            "type": "string",
            "description": "What the server does and any usage constraints."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "MCP endpoint URL clients connect to."
          },
          "transport": {
            "type": "string",
            "description": "MCP transport.",
            "enum": ["streamable-http", "sse", "stdio"]
          },
          "authentication": {
            "type": "string",
            "description": "Authentication requirement (e.g. none, oauth2, api-key)."
          },
          "capabilities": {
            "type": "object",
            "description": "Advertised MCP capability flags.",
            "additionalProperties": { "type": "boolean" },
            "properties": {
              "tools": { "type": "boolean" },
              "resources": { "type": "boolean" },
              "prompts": { "type": "boolean" }
            }
          }
        }
      }
    },
    "registry": {
      "type": "string",
      "format": "uri",
      "description": "The issuer's site-level agent descriptor (/.well-known/agent.json)."
    },
    "docs": {
      "type": "string",
      "format": "uri",
      "description": "Agent-facing documentation, typically /llms.txt."
    },
    "contact": {
      "type": "object",
      "description": "Contact URIs, typically mailto:. Conventional keys: hello, security.",
      "additionalProperties": { "type": "string" }
    },
    "governance": {
      "type": "string",
      "format": "uri",
      "description": "Where this manifest is maintained."
    },
    "updated": {
      "type": "string",
      "format": "date",
      "description": "Date this manifest last changed (YYYY-MM-DD)."
    }
  }
}
