DipeshRajoria007/mcport
Your MCPs deserve a better home. Migrate MCP servers from Codex CLI to Claude Code in one command.
Your MCPs deserve a better home. Migrate MCP server configurations from OpenAI Codex CLI to Claude Code in one command.
Switching from Codex CLI to Claude Code? You probably have a bunch of MCP servers configured in ~/.codex/config.toml — Slack, GitHub, Atlassian, Figma, Postman, and more. Re-adding them one by one is painful. mcport reads your Codex config, converts each MCP server to Claude Code's format, and adds them automatically.
~/.codex/config.toml (TOML) ~/.claude.json (JSON)
┌─────────────────────────┐ ┌──────────────────────────┐
│ [mcp_servers.slack] │ │ "slack": { │
│ command = "npx" │ ──────> │ "command": "npx", │
│ args = ["-y", "..."] │ mcport │ "args": ["-y", "..."], │
│ [mcp_servers.slack.env] │ │ "env": { ... } │
│ SLACK_BOT_TOKEN = "..." │ │ } │
└─────────────────────────┘ └──────────────────────────┘| Codex (TOML) | Claude Code (JSON) | |---|---| | url = "..." | { "type": "http", "url": "..." } | | url + bearer_token_env_var = "VAR" | { "type": "http", "url": "...", "headers": { "Authorization": "Bearer ..." } } | | command = "..." + args = [...] | { "command": "...", "args": [...] } | | [mcp_servers.<name>.env] | { ..., "env": { "KEY": "value" } } |
claude in your PATH~/.codex/config.toml# Run directly with npx (no install needed)
npx mcport
# Or install globally
npm install -g mcportnpx mcport --dry-runOutput:
mcport — Codex CLI Loading reviews...