{
  "$schema": "https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/schema/server-card.json",
  "serverInfo": {
    "name": "deadbrush-catalog",
    "version": "0.2.0",
    "title": "Dead Brush Catalog (WebMCP)",
    "description": "Public read-only product catalog for Dead Brush (deadbrush.ru). Exposes catalog browse, product detail, search and pricing tools via WebMCP — runs entirely in the visitor's browser. No over-the-wire MCP server is hosted."
  },
  "transport": {
    "type": "webmcp",
    "endpoint": "https://www.deadbrush.ru/etc/2021/js/webmcp.js",
    "description": "WebMCP adapter loaded on every page via navigator.modelContext.provideContext(). Browser-embedded AI assistants that implement WebMCP will receive the tool list below while the user is on deadbrush.ru. No HTTP MCP endpoint is exposed."
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    },
    "logging": {}
  },
  "tools": [
    {
      "name": "search_products",
      "description": "Search the Dead Brush product catalog by free-text query (Russian or English).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search keywords."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "default": 10
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "view_product",
      "description": "Fetch a product's detail page and return its structured Product JSON-LD plus price.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Product slug (e.g. 'akira') or full /catalog/goods/{slug}/ URL."
          }
        },
        "required": ["slug"]
      }
    },
    {
      "name": "browse_category",
      "description": "List products in a category from the catalog tree.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "Category slug or full /catalog/{slug}/ URL."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "default": 24
          }
        },
        "required": ["category"]
      }
    },
    {
      "name": "get_pricing",
      "description": "Return the shop-wide price list and delivery rates.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
  ],
  "resources": [],
  "prompts": [],
  "documentation": {
    "agents_md": "https://www.deadbrush.ru/AGENTS.md",
    "agent_skills": "https://www.deadbrush.ru/.well-known/agent-skills/index.json",
    "openapi": "https://www.deadbrush.ru/.well-known/openapi.json",
    "api_catalog": "https://www.deadbrush.ru/.well-known/api-catalog",
    "auth": "https://www.deadbrush.ru/auth.md",
    "oauth_protected_resource": "https://www.deadbrush.ru/.well-known/oauth-protected-resource"
  },
  "contact": {
    "email": "main@deadbrush.ru",
    "telegram": "https://t.me/dbwear"
  },
  "x-implementation": {
    "type": "WebMCP",
    "rationale": "Dead Brush is a retail catalog without an over-the-wire MCP server. The card is published to declare WebMCP coverage for browser-embedded AI assistants — the visitor's client must implement navigator.modelContext (WebMCP) for these tools to become callable while browsing deadbrush.ru."
  }
}
