feat: support one-command multi-client MCP setup

- Allow comma-separated clients for setup, print-config, and install-rules
- Add --install-rules to setup so MCP config and agent memory install together
- Document the Claude Code plus Codex one-command demo path

Generated with Claude Code
This commit is contained in:
“BeeRad”
2026-04-21 09:24:31 +10:00
parent e4f51148fa
commit ad07fcb868
6 changed files with 74 additions and 31 deletions
+10 -2
View File
@@ -88,6 +88,12 @@ npx -y ra-h-mcp-server@latest setup --client cursor --yes
npx -y ra-h-mcp-server@latest setup --client codex --yes
```
Multiple clients can be installed in one pass. This is the best path if you use both Claude Code and Codex:
```bash
npx -y ra-h-mcp-server@latest setup --client claude-code,codex --yes
```
Notes:
- `--yes` lets the installer write supported client config automatically.
- Codex uses TOML config, so the installer writes `CODEX_HOME/config.toml` or `~/.codex/config.toml`.
@@ -165,8 +171,10 @@ SQLITE_DB_PATH="$HOME/Desktop/ra-h_os-demo-data/rah.sqlite" npm run setup:local
npm run dev
npx -y ra-h-mcp-server@latest setup \
--client claude-code \
--client claude-code,codex \
--yes \
--install-rules \
--target "$HOME/Desktop/ra-h_os-demo" \
--db "$HOME/Desktop/ra-h_os-demo-data/rah.sqlite"
```
@@ -231,7 +239,7 @@ You are helping build a thoughtful graph of atomic units of context.
Or install that guidance into the repo memory file:
```bash
npx -y ra-h-mcp-server@latest install-rules --client codex --target . --yes
npx -y ra-h-mcp-server@latest install-rules --client claude-code,codex --target . --yes
```
Available tools: