CLI Reference
Integrations
intent mcp and intent openclaw-register — exposing your story map to AI coding agents as MCP tools and resources.
intent mcp
intent mcp
intent mcp --mode core| Flag | Default | Description |
|---|---|---|
-m, --mode <mode> | all | Tool mode: core, standard, or all |
Starts the intentdocs MCP server over stdio, giving Claude Code, Cursor, or any other MCP-compatible agent native tool and resource access to your story map — no copy-pasting context into a prompt. This is what intent setup wires into ~/.claude/settings.json for you; you generally don't run it by hand except to test it.
The --mode flag trades off tool-list size against capability — core is the smallest, cheapest set to keep in an agent's context; all exposes everything. See MCP Integration → Tools & resources for exactly which tools each mode includes.
intent openclaw-register
intent openclaw-registerRegisters this project's MCP server with OpenClaw — an agent-spawning tool — so agents it spawns get the same native access to your story map. Shells out to openclaw mcp set intentdocs '{...}' with the same npx intentdocs mcp command and the current directory as cwd. Requires the project to already be connected (.intent/config.json must exist — run intent init first).