diff --git a/README.md b/README.md index 4f108b25b..db5710d90 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,25 @@ headroom perf Granular extras: `[proxy]`, `[mcp]`, `[ml]`, `[code]`, `[memory]`, `[relevance]`, `[image]`, `[agno]`, `[langchain]`, `[evals]`, `[pytorch-mps]` (Apple-GPU memory-embedder offload — set `HEADROOM_EMBEDDER_RUNTIME=pytorch_mps`). Requires **Python 3.10+**. +### Codex / global install + +If Codex or another MCP client cannot inherit a shell `PATH` reliably, install Headroom as a persistent uv tool and point the client at the absolute binary path: + +```bash +uv tool install "headroom-ai[all]" +command -v headroom +``` + +Then use the returned path in MCP config: + +```toml +[mcp_servers.headroom] +command = "/absolute/path/from/command-v/headroom" +args = ["mcp", "serve"] +``` + +`command = "headroom"` only works when the client starts with a `PATH` that already includes the uv tool directory. + ## Proof **Savings on real agent workloads:**