Skip to content

Commit a10de3c

Browse files
docs: simplify codex mcp install
1 parent 8037ba4 commit a10de3c

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All notable changes to `state-trace` are documented here. The format roughly fol
66

77
### Changed
88

9-
- Clarified MCP install docs to mirror Geometra's per-client syntax, with explicit Codex project-level, global, and uninstall commands.
9+
- Clarified MCP install docs to mirror Geometra's per-client syntax, with simple Codex install first and the absolute-path command labeled as a PATH-safe fallback.
1010

1111
## [0.3.3] — 2026-04-25
1212

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,18 +217,18 @@ Tools exposed: `store`, `retrieve`, `retrieve_brief`, `record_action`, `record_o
217217
<details>
218218
<summary>OpenAI Codex</summary>
219219

220-
**Project-level install (recommended, one repo at a time):**
220+
**One-line install:**
221221

222222
```bash
223223
python3 -m pip install --upgrade "state-trace[mcp]"
224-
cd /path/to/your/repo
225-
state-trace-mcp-config --namespace "$(basename "$PWD")" > .mcp.json
224+
codex mcp add state-trace -- state-trace-mcp
226225
```
227226

228-
If your shell cannot find `state-trace-mcp-config`:
227+
**Project-level install (one repo at a time):**
229228

230229
```bash
231-
python3 -m state_trace.mcp_config --namespace "$(basename "$PWD")" > .mcp.json
230+
cd /path/to/your/repo
231+
state-trace-mcp-config --namespace "$(basename "$PWD")" > .mcp.json
232232
```
233233

234234
Or manually add to `.mcp.json` in the repo:
@@ -250,7 +250,9 @@ Or manually add to `.mcp.json` in the repo:
250250

251251
Restart Codex after adding or changing `.mcp.json`.
252252

253-
**Global install:**
253+
**PATH-safe install:**
254+
255+
Use this if `codex mcp add state-trace -- state-trace-mcp` starts with `No such file or directory`.
254256

255257
```bash
256258
python3 -m pip install --upgrade "state-trace[mcp]"

0 commit comments

Comments
 (0)