Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

TokRepo — AI Asset Registry

NPM · TOKREPO-MCP-SERVER · SCANNED AUG 3

TokRepo MCP: tokrepo_discover, tokrepo_verify, tokrepo_install_plan for reusable AI assets.

Available components

−15 this week 62 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security100
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • No install/post-install scripts declared.Pass
  • No production dependencies, so there is no dependency health to assess. View diagnostics → Pass
Provenance & Transparency45
Schema Quality & AI Usability62
  • AI-judged instruction clarity (good).Pass
  • Context-footprint check failed: tool/resource definitions use about 2660 tokens (~156/item across 17 items; 17 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
  • Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities20
  • Spec-recency check failed: implements MCP spec 2024-11-05; the latest is 2026-07-28. See how to fix → Fail

Unverified: 1 category

A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · tokrepo-mcp-server

# add to Claude Code
claude mcp add henu-wang-tokrepo-mcp-server -- npx -y tokrepo-mcp-server
# add to Codex CLI
codex mcp add henu-wang-tokrepo-mcp-server -- npx -y tokrepo-mcp-server
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "henu-wang-tokrepo-mcp-server": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "tokrepo-mcp-server"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add henu-wang-tokrepo-mcp-server --command npx --arg -y --arg tokrepo-mcp-server
# ~/.hermes/config.yaml
mcp_servers:
  henu-wang-tokrepo-mcp-server:
    command: "npx"
    args: ["-y", "tokrepo-mcp-server"]
// mcp.json
{
  "mcpServers": {
    "henu-wang-tokrepo-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "tokrepo-mcp-server"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +15
    • Malware scan: unverified → pass security
  • 31 Jul 26 −12
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 30 Jul 26 −18
    • Malware scan: pass → unverified security
  • 27 Jul 26 +30
    • Tool coverage: unverified → 100 functional
    • First check of Tool coverage: 100 functional
    • First check of Schema quality: fail functional
    • First check of Schema quality: fail functional
    • First check of Schema quality: good functional
  • 26 Jul 26 47

    First indexed and scored.

    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 0 packages

0 packages in the resolved dependency tree.

MCP tools — 17 exposed · ~2,660 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
tokrepo_codex_install ~214

STEP 3 of ATOMIC ACTION 2 (install safely into this repo). Safely install a TokRepo asset into local Codex. Defaults to dry_run=true. To write files, set dry_run=false and confirm=true. Risky assets require stage=true or approve_risk=true. Always call tokrepo_install_plan + tokrepo_verify first. On any failure call tokrepo_rollback (STEP 4 — the escape).

NameTypeReqDescription
approve_riskbooleanRequired to activate assets whose policy decision is confirm or stage_only. Prefer stage=true for high-risk assets.
confirmbooleanRequired when dry_run=false to prevent accidental writes.
dry_runbooleanWhen true, return the plan only and do not write files. Default true.
stagebooleanWrite only a staged install plan under ~/.codex/tokrepo/staged instead of activating a skill.
uuidstringyesAsset UUID, workflow URL, or search term accepted by the TokRepo CLI

No output schema declared.

No examples provided.

tokrepo_detail ~46

Get full details of a TokRepo asset by UUID, including description, content, tags, install instructions, and metadata.

NameTypeReqDescription
uuidstringyesAsset UUID (from search results)

No output schema declared.

No examples provided.

tokrepo_discover ~188

Planning-time capability discovery for agents. Call this during autonomous planning when the task may need a reusable skill, MCP config, prompt, script, workflow, or other AI asset. Returns structured candidates, fit signals, and next MCP calls. [[tokrepo.discover-before-build]]

NameTypeReqDescription
constraintsobjectOptional constraints such as kind, policy, risk, language, prefer_verified, or must_not_modify_files.
environmentobjectOptional local environment signals, such as project_type, frameworks, language, can_run_shell, can_write_files, or browser_available.
limitnumberMax candidates (default 6, max 10)
targetstringOptional agent/runtime target. Use "any" or "all" for generic cross-agent discovery.
taskstringyesThe user goal, subtask, or capability gap the agent is planning for.

No output schema declared.

No examples provided.

tokrepo_edges ~157

Read the asset relationship graph for one asset. Returns inbound + outbound edges across requires (hard deps), extends (soft pairings), and co_used (behavior-derived co-installs). Use this BEFORE planning installs to discover related assets and avoid solo installs of assets that pair with others.

NameTypeReqDescription
directionstringout = this asset → other assets (deps); in = other assets → this asset (depended-on); both (default).
slugstringAsset slug. Either uuid or slug is required.
typesstringOptional comma-separated edge_type filter, e.g. "requires,co_used". Omit for all types.
uuidstringAsset UUID. Either uuid or slug is required.

No output schema declared.

No examples provided.

tokrepo_find_for_task ~226

ATOMIC ACTION 1 of 3 (find / install / harvest). Find a TokRepo asset for a concrete task. Returns top-N ranked public workflows + match_reasons + install_command + url, backed by /api/v1/tokenboard/agent/find_for_task and counted in the find_for_task funnel step. Use this as the first call when the agent has a task and wants to discover whether an existing asset already solves it. For a broader planning-time capability scan use tokrepo_discover; for the canonical find→install→harvest lifecycle this is the find entry point.

NameTypeReqDescription
agentstringOptional agent identifier (claude_code, codex, cursor, cline, gemini_cli, copilot, windsurf, roo, openhands).
limitnumberMax candidates (default 3, max 10).
repo_contextobjectOptional repo signals: language, framework, existing_assets[].
taskstringyesFree-text task description, e.g. "add Stripe webhook handler with idempotency".

No output schema declared.

No examples provided.

tokrepo_handoff_plan ~107

Inspect local files after a task and return an agent handoff packaging plan with quality_gate, package_manifest, SBOM-lite, and provenance. This is read-only and never publishes automatically; use tokrepo_push only after human confirmation with explicit reviewed files.

NameTypeReqDescription
limitnumberMax candidates to return (default 12, max 30).
pathsarrayOptional explicit local paths to inspect. Omit to scan common reusable agent asset files in the current project.

No output schema declared.

No examples provided.

tokrepo_harvest ~171

ATOMIC ACTION 3 of 3 (harvest what this agent just created). Call at the END of every task that produced reusable artifacts. Inspects changed or explicit local files and produces private-by-default reusable asset package drafts with metadata, usage examples, risk notes, compatibility, and quality gates. Never publishes automatically — `tokrepo_push` is a separate user-gated call. Skipping harvest leaves valuable per-session work stranded; this is how the agent contributes back to the find pool.

NameTypeReqDescription
changedbooleanWhen true, inspect git-changed files from the current repository.
limitnumberMax drafts to return (default 12, max 30).
pathsarrayOptional explicit local paths to inspect. Omit to scan common reusable agent asset files.

No output schema declared.

No examples provided.

tokrepo_install_plan ~150

STEP 1 of ATOMIC ACTION 2 (install safely into this repo). Returns an agent-native install plan v2 for a TokRepo asset: preconditions, actions, risk profile, policy decision, rollback, post-install verification, evidence_bundle, SBOM-lite, signature_evidence, and provenance_v2. MUST be called before tokrepo_verify → tokrepo_codex_install. If something fails downstream, use tokrepo_rollback as the escape.

NameTypeReqDescription
targetstringInstall target adapter. Codex is native; other adapters may return planned or staged contracts as they become available.
uuidstringyesAsset UUID, workflow URL slug, or workflow UUID from search/detail results

No output schema declared.

No examples provided.

tokrepo_installed ~31

List Codex assets installed by TokRepo from the local install manifest, including file status and session ids.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

tokrepo_push ~194

Push ONE specific asset to TokRepo. You choose exactly which files to include — nothing is uploaded automatically. Set visibility=0 for private (only you can see) or visibility=1 for public. IMPORTANT: Always confirm with the user before pushing, and never push files that may contain secrets, credentials, or personal data. Requires TOKREPO_TOKEN env var.

NameTypeReqDescription
descriptionstringOptional description
filesarrayyesOnly the specific files for THIS asset — not all project files. Each file you list will be uploaded.
tagsarrayOptional tags (e.g. ["coding", "agent"])
titlestringyesAsset title (descriptive name for this specific asset)
visibilitynumber0 = private (only visible to you, safe default for personal assets), 1 = public (visible to everyone). When unsure, default to 0 (private).

No output schema declared.

No examples provided.

tokrepo_resolve_capability ~268

Resolve a planning-time capability gap into a selected TokRepo asset, verification evidence, and install plan. Use this as the default first action when the agent identifies a missing skill, MCP, prompt, script, workflow, or reusable capability. Read-only.

NameTypeReqDescription
constraintsobjectOptional constraints such as kind, policy, risk, language, prefer_verified, or must_not_modify_files.
environmentobjectOptional local environment signals, such as project_type, frameworks, language, can_run_shell, can_write_files, or browser_available.
kindstringOptional asset kind preference, e.g. skill, prompt, knowledge, mcp_config, script, workflow.
limitnumberMax discovery candidates (default 6, max 10).
min_fitnumberMinimum fit score threshold before recommending direct use. Default 70.
min_trustnumberMinimum trust_score_v2 threshold before recommending direct use. Default 70.
policystringOptional install policy preference.
targetstringOptional agent/runtime target. Use "any" or "all" for generic cross-agent resolution.
taskstringyesThe user goal, subtask, or capability gap the agent needs to solve.

No output schema declared.

No examples provided.

tokrepo_rollback ~172

STEP 4 of ATOMIC ACTION 2 (install safely into this repo) — the escape. Roll back a previous TokRepo Codex install session when verify/apply fails or the user rejects the result. Defaults to dry_run=true and last=true. The four-step install atomic action (plan → verify → apply → rollback) is contractually incomplete without this escape.

NameTypeReqDescription
confirmbooleanRequired when dry_run=false to prevent accidental deletes.
dry_runbooleanWhen true, return the rollback plan without deleting files. Default true.
forcebooleanAllow rollback when local files changed since installation.
lastbooleanUse the latest install/stage session. Default true.
session_idstringSession id to roll back. Omit when last=true.

No output schema declared.

No examples provided.

tokrepo_search ~205

Search TokRepo for AI assets (skills, prompts, MCP configs, scripts, workflows). Returns matching assets with titles, descriptions, tags, stars, and install commands. Use this when the user asks to find AI tools, MCP servers, skills, prompts, or workflows.

NameTypeReqDescription
kindstringOptional asset kind filter, e.g. skill, prompt, knowledge, mcp_config, script
limitnumberMax results (default 10, max 20)
policystringOptional Codex install policy filter.
querystringyesSearch keywords (e.g. "cursor rules", "mcp database", "claude skill code review")
tagstringOptional tag filter: agent, coding, efficiency, cost-saving, methodology, data-analysis, writing, marketing, learning, research
targetstringOptional agent target filter. Use "any", "all", or omit it for generic discovery.

No output schema declared.

No examples provided.

tokrepo_session_init ~133

Call FIRST at session start (once). Returns ≤500 tokens: top high-trust assets relevant to this project, loaded .tokrepo/agent.json memory pointer, recent handoffs, and policy pack URL. Treat output as authoritative capability inventory for the session. [[tokrepo.session-init-first]]

NameTypeReqDescription
compactbooleanReturn ultra-compact (≤50 tok per item) per-candidate response. Default true.
project_hintstringOptional project signal (path basename, package.json name, or repo description) to bias the asset inventory.
targetstringOptional agent runtime target.

No output schema declared.

No examples provided.

tokrepo_uninstall ~115

Safely uninstall a TokRepo-managed Codex asset. Defaults to dry_run=true. To remove files, set dry_run=false and confirm=true. Local changes are blocked unless force=true.

NameTypeReqDescription
confirmbooleanRequired when dry_run=false to prevent accidental deletes.
dry_runbooleanWhen true, return the removal plan without deleting files. Default true.
forcebooleanAllow removal when local files changed since installation.
uuidstringyesInstalled asset UUID, UUID prefix, or title.

No output schema declared.

No examples provided.

tokrepo_update ~122

Check or update TokRepo-managed Codex assets from the local manifest. Defaults to dry_run=true. To write updates, set dry_run=false and confirm=true.

NameTypeReqDescription
approve_riskbooleanAllow updates whose install policy requires explicit risk approval.
confirmbooleanRequired when dry_run=false to prevent accidental writes.
dry_runbooleanWhen true, check for updates and return the plan without writing files. Default true.
stagebooleanStage risky updates under ~/.codex/tokrepo/staged instead of activating them.

No output schema declared.

No examples provided.

tokrepo_verify ~161

STEP 2 of ATOMIC ACTION 2 (install safely into this repo). Read-only asset trust verification. Produces content hash, install plan hash, policy decision, permission envelope, trust_score_v2, evidence_bundle, SBOM-lite, signature_evidence, blockers, warnings, schemas, and safe next actions before activation. Call AFTER tokrepo_install_plan, BEFORE tokrepo_codex_install.

NameTypeReqDescription
offlinebooleanUse the bundled offline fixture. Intended for agent/toolchain self-tests.
strictbooleanWhen true, warnings fail the verification report.
targetstringVerification target adapter.
uuidstringyesAsset UUID, workflow URL slug, or workflow UUID from search/detail results. Ignored when offline=true.

No output schema declared.

No examples provided.