henu-wang avatar

TokRepo — AI Asset Registry

henu-wang/tokrepo-mcp-server

Think of this as a package manager specifically for AI assets: prompts, skills, MCP configs, and scripts that agents can discover and install during tasks. It exposes 20+ tools covering the full lifecycle, from tokrepo_discover (turn a capability gap into ranked candidates with verification evidence) through tokrepo_install_plan and tokrepo_codex_install (safe, policy-checked installs with rollback) to tokrepo_harvest (package local work for reuse after a task). The trust model is thorough: content hashes, SBOM-lite, signature evidence, policy gates, and trust scores before anything touches disk. Useful when you want agents to pull vetted building blocks instead of reinventing boilerplate, or when you want to capture and share reusable artifacts from a session. Pairs with tokrepo init-agent to embed discovery hints in AGENTS.md and tool configs so future agents know to call it during planning.

tools
5
transport
STDIO
last updated
May 27, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

tokrepo_discoverPlanning-time capability discovery for agents. Call during autonomous planning before inventing local one-off skills, scripts, prompts, MCP configs, or workflows.5 params

Planning-time capability discovery for agents. Call during autonomous planning before inventing local one-off skills, scripts, prompts, MCP configs, or workflows.

Parameters* required
constraintsobject
environmentobject
limitnumber
default: 6
targetstring
Use any or all for cross-agent discovery.one of any · all · codex · claude_code · gemini_cli · cursordefault: any
taskstring
The user goal, subtask, or capability gap.
tokrepo_searchSearch TokRepo assets by query, kind, target, and policy. Use as a lower-level fallback after tokrepo_discover.5 params

Search TokRepo assets by query, kind, target, and policy. Use as a lower-level fallback after tokrepo_discover.

Parameters* required
kindstring
limitnumber
default: 10
policystring
one of allow · confirm · stage_only · deny
querystring
targetstring
Use any or all for cross-agent discovery.one of any · all · codex · claude_code · gemini_cli · cursordefault: any
tokrepo_detailRead full TokRepo asset detail and metadata by UUID.1 params

Read full TokRepo asset detail and metadata by UUID.

Parameters* required
uuidstring
tokrepo_verifyVerify asset trust, content hash, install-plan shape, permissions, policy decision, trust_score_v2, blockers, and warnings before activation.3 params

Verify asset trust, content hash, install-plan shape, permissions, policy decision, trust_score_v2, blockers, and warnings before activation.

Parameters* required
strictboolean
default: false
targetstring
one of codexdefault: codex
uuidstring
tokrepo_install_planReturn the typed install plan for an asset before any write. Includes preconditions, actions, risk profile, policy, rollback, post-verify, trust, and provenance when available.2 params

Return the typed install plan for an asset before any write. Includes preconditions, actions, risk profile, policy, rollback, post-verify, trust, and provenance when available.

Parameters* required
targetstring
one of codexdefault: codex
uuidstring

Sponsors

Readme

Details

Repository
github.com/henu-wang/tokrepo-mcp-server
Website
tokrepo.com
Package
tokrepo-mcp-server
Transport
STDIO
Registry
MCP registry, active