fix: auto-write Codex MCP config

- Merge RA-H MCP settings into Codex config.toml when --yes is passed
- Preserve unrelated TOML config while replacing stale RA-H blocks
- Update docs and package version for the Codex auto setup path

Generated with Claude Code
This commit is contained in:
“BeeRad”
2026-04-21 08:49:31 +10:00
parent 21772fcba7
commit 07ca873702
6 changed files with 45 additions and 15 deletions
+2 -2
View File
@@ -85,12 +85,12 @@ Other clients:
```bash
npx -y ra-h-mcp-server@latest setup --client cursor --yes
npx -y ra-h-mcp-server@latest setup --client codex
npx -y ra-h-mcp-server@latest setup --client codex --yes
```
Notes:
- `--yes` lets the installer write supported client config automatically.
- Codex uses TOML config, so the installer prints the block to add.
- Codex uses TOML config, so the installer writes `CODEX_HOME/config.toml` or `~/.codex/config.toml`.
- The MCP-only path does not clone this repo and does not start the browser UI.
- The installer defaults to the latest published MCP package. For release/debug reproducibility, pin an exact version intentionally.