{
  "name": "erc8004-ui",
  "title": "@p4n/erc8004-ui component documentation",
  "version": "0.3.0",
  "description": "Documentation tools for @p4n/erc8004-ui: component reference, props, usage examples, setup guides and the on-chain data model.",
  "instructions": "Documentation for @p4n/erc8004-ui, a React component library that renders verified ERC-8004 agent identity, reputation and validation data from The Graph. Call list_components to see what exists, get_component before writing any code that uses a component (the props and the subgraph caveats are not guessable), get_setup_guide for provider and API-key setup, and get_types for the on-chain data model. This endpoint serves documentation only; for live subgraph and agent checks install the stdio server (npx -y @p4n/erc8004-ui-mcp) with your own GRAPH_API_KEY.",
  "protocolVersions": [
    "2026-07-28",
    "2025-11-25",
    "2025-06-18",
    "2025-03-26"
  ],
  "capabilities": {
    "tools": {
      "listChanged": false
    }
  },
  "authentication": {
    "type": "none"
  },
  "transport": {
    "type": "streamable-http",
    "url": "https://erc8004-ui.vercel.app/api/mcp"
  },
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://erc8004-ui.vercel.app/api/mcp",
      "description": "Hosted documentation tools. No key required, open CORS, stateless."
    }
  ],
  "packages": [
    {
      "registry": "npm",
      "name": "@p4n/erc8004-ui-mcp",
      "transport": {
        "type": "stdio"
      },
      "command": "npx",
      "args": [
        "-y",
        "@p4n/erc8004-ui-mcp"
      ],
      "environmentVariables": [
        {
          "name": "GRAPH_API_KEY",
          "required": false,
          "description": "Enables the two live tools (check_chain_support, check_agent). The documentation tools work without it."
        }
      ],
      "description": "Local stdio server. Superset of this endpoint: the same four documentation tools plus live subgraph and agent checks."
    }
  ],
  "tools": [
    {
      "name": "list_components",
      "title": "List components",
      "description": "Lists every component in the @p4n/erc8004-ui library, grouped by registry (Providers, Identity, Reputation, Validation, Activity). Start here to discover what exists, then call get_component for full docs on one."
    },
    {
      "name": "get_component",
      "title": "Get component documentation",
      "description": "Returns complete documentation for one component: description, caveats, import line, usage, worked examples, an in-context composition example, the full props table, and how it handles loading/error/empty states. Accepts a component name (ReputationScore) or slug (reputation-score)."
    },
    {
      "name": "get_setup_guide",
      "title": "Get setup guide",
      "description": "Returns a full setup or concept guide. Use 'installation' for first-time setup (install, provider, API key), 'concepts' for the data model and chain support, 'api-keys' for Graph API key handling, and 'theming' for styling and dark mode. Defaults to 'installation'."
    },
    {
      "name": "get_types",
      "title": "Get TypeScript types",
      "description": "Returns the library's exported TypeScript type definitions — the shape of the on-chain data these components render (AgentData, AgentFeedbackStats, AgentValidationStats, Feedback, Validation, and related types)."
    }
  ],
  "documentation": "https://erc8004-ui.vercel.app/docs/mcp",
  "openapi": "https://erc8004-ui.vercel.app/openapi.json",
  "repository": "https://github.com/p4nthera115/erc8004-ui"
}
