{
  "name": "tokrepo",
  "description": "Find, install, harvest — the three atomic actions of the agent-native lifecycle. Reusable skills, prompts, MCP configs, scripts, and workflows.",
  "homepage": "https://tokrepo.com",
  "primary_actions": [
    {
      "name": "find",
      "intent": "Find an asset for this task",
      "mcp_tool": "tokrepo_find_for_task",
      "cli": "tokrepo find \"<task description>\"",
      "rest": "POST /api/v1/tokenboard/agent/find_for_task",
      "funnel_event": "find_for_task"
    },
    {
      "name": "install",
      "intent": "Install safely into this repo (plan → verify → dry-run → apply, rollback on failure)",
      "mcp_tools": [
        "tokrepo_install_plan",
        "tokrepo_verify",
        "tokrepo_codex_install",
        "tokrepo_rollback",
        "https://tokrepo.com/evals/agent-repair-execution.json",
        "agent-repair-execution.json"
      ],
      "cli": "tokrepo install <uuid_or_slug> --dry-run  (then drop --dry-run)",
      "funnel_events": [
        "install_plan",
        "verify_asset",
        "install_dry_run",
        "install_apply",
        "rollback_plan",
        "https://tokrepo.com/evals/agent-repair-execution.json",
        "agent-repair-execution.json"
      ]
    },
    {
      "name": "harvest",
      "intent": "Harvest what this agent just created (private-by-default drafts; never auto-publish)",
      "mcp_tool": "tokrepo_harvest",
      "cli": "tokrepo harvest --changed --json",
      "funnel_events": [
        "harvest_plan",
        "harvest_publish",
        "https://tokrepo.com/evals/agent-repair-execution.json",
        "agent-repair-execution.json"
      ]
    },
    "https://tokrepo.com/evals/agent-repair-execution.json",
    "agent-repair-execution.json"
  ],
  "server_manifest": "https://tokrepo.com/.well-known/mcp/server.json",
  "package": {
    "registry": "npm",
    "name": "tokrepo-mcp-server",
    "version": "2.16.1",
    "command": "npx",
    "args": [
      "-y",
      "tokrepo-mcp-server",
      "https://tokrepo.com/evals/agent-repair-execution.json",
      "agent-repair-execution.json"
    ]
  },
  "hosted_endpoint": {
    "url": "https://tokrepo.com/mcp",
    "transport": "streamable_http_json_rpc",
    "read_only_tools": [
      "tokrepo_session_init",
      "tokrepo_find_for_task",
      "tokrepo_discover",
      "tokrepo_resolve_capability",
      "tokrepo_search",
      "tokrepo_detail",
      "tokrepo_edges",
      "tokrepo_verify",
      "tokrepo_install_plan",
      "tokrepo_harvest",
      "https://tokrepo.com/evals/agent-repair-execution.json",
      "agent-repair-execution.json"
    ]
  },
  "tool_catalog": "https://tokrepo.com/.well-known/tool-catalog.json",
  "portable_agent_manifest": "https://tokrepo.com/.well-known/agent.json",
  "ecosystem_distribution": "https://tokrepo.com/agent-ecosystem.json",
  "task_economy_contract": "https://tokrepo.com/agent-task-economy.json",
  "distribution_matrix": "https://tokrepo.com/agent-distribution-matrix.json",
  "project_lock_schema": "https://tokrepo.com/schemas/tokrepo-lock.schema.json",
  "project_state_schema": "https://tokrepo.com/schemas/tokrepo-project-state.schema.json",
  "evidence_bundle_schema": "https://tokrepo.com/schemas/agent-evidence-bundle.schema.json",
  "handoff_package_schema": "https://tokrepo.com/schemas/handoff-package.schema.json",
  "agents_txt": "https://tokrepo.com/agents.txt",
  "tools": [
    "tokrepo_session_init",
    "tokrepo_find_for_task",
    "tokrepo_discover",
    "tokrepo_resolve_capability",
    "tokrepo_search",
    "tokrepo_detail",
    "tokrepo_edges",
    "tokrepo_install_plan",
    "tokrepo_verify",
    "tokrepo_codex_install",
    "tokrepo_installed",
    "tokrepo_update",
    "tokrepo_uninstall",
    "tokrepo_rollback",
    "tokrepo_handoff_plan",
    "tokrepo_harvest",
    "tokrepo_push",
    "https://tokrepo.com/evals/agent-repair-execution.json",
    "agent-repair-execution.json",
    {
      "name": "agent_action_bundle",
      "url": "https://tokrepo.com/agent-action-bundle.json",
      "description": "Machine-readable repair action bundle linking source action, repair receipt, run command, acceptance oracle, rollback or handoff, and live verification."
    }
  ],
  "agent_default": {
    "when": "On any concrete user task — start with the find atomic action; fall back to tokrepo_resolve_capability for broader planning-time capability scans.",
    "first_call": "tokrepo_find_for_task",
    "fallback_planning_call": "tokrepo_resolve_capability",
    "safe_mutation": "tokrepo_verify and tokrepo_install_plan expose evidence_bundle, SBOM-lite, signature_evidence, rollback, and post_verify before any install or activation",
    "project_state": "tokrepo installed --project --json reads TokRepo.lock and .tokrepo/state.json",
    "post_task": "tokrepo_harvest or tokrepo_handoff_plan with quality_gate before publishing reusable improvements",
    "project_memory": ".tokrepo/agent.json from tokrepo init-agent --target all"
  },
  "client_examples": {
    "claude_code": "claude mcp add tokrepo -- npx -y tokrepo-mcp-server",
    "codex": "codex --mcp-server tokrepo -- npx -y tokrepo-mcp-server",
    "gemini_cli": "gemini settings mcp add tokrepo -- npx -y tokrepo-mcp-server",
    "cursor": {
      "mcpServers": {
        "tokrepo": {
          "command": "npx",
          "args": [
            "-y",
            "tokrepo-mcp-server",
            "https://tokrepo.com/evals/agent-repair-execution.json",
            "agent-repair-execution.json"
          ]
        }
      }
    }
  },
  "capability_resolution_schema": "https://tokrepo.com/schemas/capability-resolution.schema.json",
  "harvest_report_schema": "https://tokrepo.com/schemas/harvest-report.schema.json",
  "loop_continuity_eval": "https://tokrepo.com/evals/agent-loop-continuity.json",
  "install_adoption_eval": "https://tokrepo.com/evals/agent-install-adoption.json",
  "retention_reuse_eval": "https://tokrepo.com/evals/agent-retention-reuse.json",
  "quality_feedback_eval": "https://tokrepo.com/evals/agent-quality-feedback.json",
  "improvement_actions_eval": "https://tokrepo.com/evals/agent-improvement-actions.json",
  "repair_execution_eval": "https://tokrepo.com/evals/agent-repair-execution.json",
  "agent_action_bundle": "https://tokrepo.com/agent-action-bundle.json",
  "action_bundle": "https://tokrepo.com/agent-action-bundle.json"
}
