Skip to content

CLI Reference

The mcp-cli command provides project onboarding, session lifecycle management, memory inspection, and observability reporting. The published package also exposes mcp-ai-agent-guidelines as the MCP stdio server entrypoint for editors and MCP hosts.

Terminal window
# Run via npx / npm exec (no install required)
npx --yes --package mcp-ai-agent-guidelines@latest mcp-cli [command]
# Or after global install
mcp-cli [command]
# Or after local install
node dist/cli-main.js [command]

OptionDescription
-v, --verboseEnable verbose output
--versionPrint version
--helpShow help

Run the interactive onboarding wizard. Guides you through model configuration, skill surface selection, and MCP client setup. Skips automatically if configuration already exists.

Terminal window
mcp-cli onboard init

Show the current onboarding status and active configuration.

Terminal window
mcp-cli onboard status

Reset configuration. Removes session and memory state and re-runs the wizard.

Terminal window
mcp-cli onboard reset

Manage model routing via orchestration.toml without editing the file directly.

Print the current orchestration.toml as JSON.

Terminal window
mcp-cli orchestration config read

Update a specific role in orchestration.toml.

Terminal window
mcp-cli orchestration config write --role strong_primary --model claude-sonnet-4-5

List all memory artifacts and TOON snapshots.

Terminal window
mcp-cli memory list

Print a specific memory artifact by ID.

Terminal window
mcp-cli memory show <session-id>

Print version, loaded skills, active flags, and model router state.

Terminal window
mcp-cli status

These npm scripts delegate to the docs/ Starlight site.

Terminal window
npm run docs:dev # Start dev server at localhost:4321
npm run docs:build # Build static site to docs/dist/
npm run docs:preview # Preview built site locally

The MCP server itself (not the CLI) is started with:

Terminal window
node dist/index.js

This speaks MCP over stdin/stdout and is what your MCP client (Copilot, Claude Desktop, etc.) invokes.