Skip to content

Commit ebdc575

Browse files
committed
fix(mcp): use --url for codex CLI HTTP MCP setup
Codex CLI takes --url for HTTP MCP servers, not --transport http (that's Claude Code's flag). The previous setup command exited with 'unexpected argument --transport' for anyone following the docs. Spotted in PR review.
1 parent 255a35c commit ebdc575

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ claude mcp add --transport http ooxml https://api.ooxml.dev/mcp
3434
**Codex CLI**
3535

3636
```bash
37-
codex mcp add ooxml --transport http https://api.ooxml.dev/mcp
37+
codex mcp add ooxml --url https://api.ooxml.dev/mcp
3838
```
3939

4040
Or in `~/.codex/config.toml`:

apps/mcp-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ claude mcp add --transport http ooxml https://api.ooxml.dev/mcp
1818
### Codex CLI
1919

2020
```bash
21-
codex mcp add ooxml --transport http https://api.ooxml.dev/mcp
21+
codex mcp add ooxml --url https://api.ooxml.dev/mcp
2222
```
2323

2424
Or add to `~/.codex/config.toml`:

apps/web/src/pages/Mcp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useDocumentTitle } from "../hooks/useDocumentTitle";
66

77
const MCP_ENDPOINT = `${import.meta.env.VITE_API_URL}/mcp`;
88
const CLAUDE_COMMAND = `claude mcp add --transport http ooxml ${MCP_ENDPOINT}`;
9-
const CODEX_COMMAND = `codex mcp add ooxml --transport http ${MCP_ENDPOINT}`;
9+
const CODEX_COMMAND = `codex mcp add ooxml --url ${MCP_ENDPOINT}`;
1010
const CODEX_TOML = `[mcp_servers.ooxml]
1111
url = "${MCP_ENDPOINT}"`;
1212

0 commit comments

Comments
 (0)