IDE
TokRepo pour Cursor
Cursor reads .cursor/rules/*.mdc as workspace rules and ~/.cursor/mcp.json for MCP servers.
Docs officielles : https://docs.cursor.com/context/model-context-protocol
Intégration 60 secondes
Chemin le plus court pour Cursor
- 01
npx -y tokrepo@latest init-agent --target cursor - 02Add tokrepo to ~/.cursor/mcp.json (see snippet below).
- 03Open Composer; ask "find me a tokrepo discover skill" — agent calls tokrepo_discover.
Fichier de règles du projet
.cursor/rules/tokrepo.mdcSurface d'installation
.cursor/rules/Client MCP
~/.cursor/mcp.jsonCommande d'installation MCP
{"mcpServers":{"tokrepo":{"command":"npx","args":["-y","tokrepo-mcp-server"]}}}Six règles obligatoires
Chaque runtime d'agent applique
- SESSION BOOTSTRAP — call
tokrepo_session_initonce per session. - DISCOVER BEFORE BUILD — call
tokrepo_discoverbefore writing reusable artifacts. - VERIFY BEFORE INSTALL — install_plan must include
trust_gate; honorTOKREPO_MIN_TRUST(default 0.6). - DRY-RUN BEFORE APPLY — lifecycle tools default
dry_run=true. - HANDOFF AFTER REUSABLE WORK — call
tokrepo_handoff_plan. - PRIVATE BY DEFAULT, NEVER PUSH SECRETS.