Skip to main content
monocle connects to your agent through one of two integration modes: MCP tools or skills. Run monocle register to configure the connection.
  • MCP tools mode configures an MCP server that exposes monocle’s review operations as tools the agent can call directly. This is the default for Claude Code. Pi uses this path only when pi-mcp-adapter is already configured, or when you explicitly request --integration-mode mcp.
  • Skills mode installs skill files — small instruction files that tell the agent which CLI commands to run. This is the default for OpenCode, Codex CLI, and Gemini CLI.

Register monocle with your agent

monocle register          # interactive picker
monocle register claude   # or: opencode, codex, gemini, pi, all
Add --global to install at the user level instead of the current project:
monocle register claude --global
Override the default integration mode with --integration-mode:
monocle register claude --integration-mode skills   # force skills mode
monocle register opencode --integration-mode mcp    # force MCP tools mode
monocle register pi --integration-mode skills       # force Pi skills/prompts mode
See the CLI reference for a full list of flags and config paths per mode.

Set up each agent

Register via CLI

monocle register claude
By default, this configures an MCP server in .mcp.json that exposes monocle’s review tools directly, and installs slash commands in .claude/commands/. Claude Code calls the MCP tools (review_status, get_feedback, send_artifact, add_files) instead of running CLI commands.To use skills mode instead (the previous default), pass --integration-mode skills:
monocle register claude --integration-mode skills

Enable push notifications

Claude Code supports MCP channels, which deliver your review feedback directly into the agent’s context the moment you submit — no polling needed. Start Claude Code with the channel flag to enable this:
claude --dangerously-load-development-channels plugin:monocle@monocle
The --dangerously-load-development-channels flag is required during the channels research preview.
If you start or restart monocle while Claude Code is already running, the MCP channel may need to reconnect. Type /mcp in Claude Code and select monocle to reconnect.

Verify the connection

Start monocle in a terminal alongside your agent:
monocle
Press I in the TUI to see the socket path and confirm your agent is connected.