loop_register
Register a custom loop to the local MCP by providing its content and a unique id. The loop is hashed, split into phases, and persisted for later streaming.
Instructions
Add YOUR OWN loop to this machine's local MCP. Pass the full loop text as content; the MCP hashes it (sha256, write-once per version), assigns a safe id, splits it into phase-gated sections, and persists it locally. Stream it afterward with loop_start { loop:"" } exactly like the mandated loops. Cannot overwrite the hash-locked Strip Miner / Loop-de-loop. Nothing leaves your machine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | safe lowercase id (no slashes/spaces); must not collide with a mandated loop | |
| role | No | ||
| runId | No | optional; only used to journal the registration | |
| title | No | ||
| content | Yes | the full loop text (headers or paragraph breaks become streamable phases) | |
| trigger | No | e.g. "/loop my-loop" | |
| overwrite | No | replace an existing custom loop of the same id with a new local version |