{
  "name": "TokRepo MCP Tool Catalog",
  "version": "2.9.0",
  "server": "io.github.henu-wang/tokrepo-mcp-server",
  "install": "npx -y tokrepo-mcp-server",
  "tools": [
    {
      "name": "tokrepo_discover",
      "description": "Planning-time capability discovery for agents. Call this before inventing one-off tools.",
      "read_only": true,
      "idempotent": true,
      "first_call_for": ["skill discovery", "MCP config discovery", "prompt discovery", "workflow discovery", "agent capability gaps"]
    },
    {
      "name": "tokrepo_search",
      "description": "Search reusable AI assets by query, kind, target, and install policy.",
      "read_only": true,
      "idempotent": true
    },
    {
      "name": "tokrepo_detail",
      "description": "Read asset details, metadata, files, tags, and install instructions.",
      "read_only": true,
      "idempotent": true
    },
    {
      "name": "tokrepo_install_plan",
      "description": "Return a typed install plan with preconditions, risk, rollback, and verification before any write.",
      "read_only": true,
      "idempotent": true
    },
    {
      "name": "tokrepo_codex_install",
      "description": "Install or stage an asset for Codex; defaults to dry_run=true and requires explicit confirmation to write.",
      "read_only_by_default": true,
      "requires_confirmation_for_write": true
    },
    {
      "name": "tokrepo_installed",
      "description": "List locally installed TokRepo-managed assets.",
      "read_only": true,
      "idempotent": true
    },
    {
      "name": "tokrepo_update",
      "description": "Check or update installed TokRepo assets; defaults to dry_run=true.",
      "read_only_by_default": true,
      "requires_confirmation_for_write": true
    },
    {
      "name": "tokrepo_uninstall",
      "description": "Safely uninstall a TokRepo-managed asset; defaults to dry_run=true.",
      "read_only_by_default": true,
      "requires_confirmation_for_write": true
    },
    {
      "name": "tokrepo_rollback",
      "description": "Roll back a previous TokRepo install session; defaults to dry_run=true.",
      "read_only_by_default": true,
      "requires_confirmation_for_write": true
    },
    {
      "name": "tokrepo_push",
      "description": "Publish explicit reusable files to TokRepo after human confirmation. Never push secrets or implicit project files.",
      "requires_confirmation_for_write": true,
      "default_visibility": "private"
    }
  ],
  "funnel_events": [
    "init_agent",
    "agent_check",
    "agent_handoff",
    "mcp_discover",
    "mcp_search",
    "mcp_detail",
    "install_plan",
    "install_dry_run",
    "install_apply",
    "push"
  ]
}
