Skip to content

Commit 33e94e4

Browse files
Merge pull request #3118 from jasonrandrews/review2
Codex install guide: use the mcp add command to add the Arm server a…
2 parents 78728b2 + a19d9d1 commit 33e94e4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

content/install-guides/codex-cli.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ To analyze a local codebase, use a `-v` argument to mount a volume to the Arm MC
195195

196196
Replace the path `/Users/yourname01/yourlocalcodebase` with the path to your local codebase.
197197

198+
##### **Option 1: edit the Codex configuration file**
199+
198200
Add the following to your `~/.codex/config.toml` file:
199201

200202
```toml
@@ -215,6 +217,14 @@ startup_timeout_sec = 60
215217
The section must be named `mcp_servers` with an underscore. Using `mcp-servers` or `mcpservers` will cause Codex to ignore the configuration.
216218
{{% /notice %}}
217219

220+
##### **Option 2: add from the Codex CLI**
221+
222+
You can also add the Arm MCP server from the Codex CLI, after starting `codex` run:
223+
224+
```bash
225+
codex mcp add arm-mcp -- sh -lc 'docker run --rm -i -v "$PWD:/workspace" --name arm-mcp armlimited/arm-mcp:latest'
226+
```
227+
218228
### How do I verify the Arm MCP server is working?
219229

220230
Start Codex CLI and list the tools from the MCP server to verify it is working:

0 commit comments

Comments
 (0)