> ## Documentation Index
> Fetch the complete documentation index at: https://rapidreview.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Codex

> Install the Merv plugin from the RapidReview marketplace and sign in from the terminal.

## Install and sign in

```bash theme={"theme":{"light":"github-light","dark":"dark-plus"}}
codex plugin marketplace add rapidreview-io/Merv
codex plugin add merv@rapidreview
codex mcp login merv
```

Update with `codex plugin marketplace upgrade rapidreview`, then `codex plugin add merv@rapidreview`.

<Check>
  Ask the agent to call `project(action="list")`, then `workflow.status_and_next(project_id)`. Follow along in the web UI at [rapidreview.io/merv](https://rapidreview.io/merv).
</Check>

Both update commands are required — repository marketplaces don't upgrade plugins in place.

## Skills and reviewers

Skills ship via the plugin manifest. Reviewer subagents are spawned by the review skills themselves (Codex has no `agents/` auto-discovery). See [Reviewer handoff](/docs/merv/clients/reviewer-handoff).

## Long runs

Either a foreground blocking terminal (raise `background_terminal_max_timeout`), or a background terminal plus an empty `write_stdin` poll to observe the watcher's line. See [Long runs](/docs/merv/clients/long-runs).

## Headless

`codex exec` has no browser: pass `--bearer-token-env-var MERV_MCP_KEY` with a project key exported in the environment. The manifest sets `default_tools_approval_mode="approve"` so non-interactive runs don't stall on approval prompts.
