Codex mcp setup
Use when the user wants to set up or sync Codex MCP servers for Polaris workflows. Trigger: 'codex mcp', '同步 mcp', '設定 codex mcp', '讓 codex 接 mcp', 'codex mcp setup'.From its SKILL.md
npx -y skills add HsuanYuLee/polaris --skill codex-mcp-setupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- reads credentialsReads from 1 credential source: `<TOKEN_ENV_VAR>`.
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 6 commands, including `bash scripts/sync-codex-mcp.sh --dry-run` and 5 more.
SKILL.md
1.4 KB, 378 tokens by cl100k_base, as published. Nobody here has run it
Codex MCP Setup
使用者希望 Codex 使用與 Claude-side Polaris workflows 相同的 external integrations 時,使用此 skill。
Workflow
1) Preview planned MCP changes
執行:
bash scripts/sync-codex-mcp.sh --dry-run
這會檢查 baseline servers 是否已存在:
claude_ai_Atlassianclaude_ai_Slack
2) Apply MCP configuration
執行:
bash scripts/sync-codex-mcp.sh --apply --login
注意:
--login可能會在瀏覽器開啟 interactive OAuth。- 若 OAuth 失敗,流程繼續,並告知使用者手動執行
codex mcp login <name>。
3) Optional Google Calendar
若使用者希望 Codex 使用 Calendar,使用 streamable server URL:
bash scripts/sync-codex-mcp.sh --apply --login \
--with-google-calendar-url "<MCP_SSE_URL>" \
--google-calendar-token-env "<TOKEN_ENV_VAR>"
4) Keep skills in sync for Codex
執行:
mise run cross-runtime-sync
bash scripts/mechanism-parity.sh --strict
bash .claude/skills/codex-mcp-setup/scripts/polaris-codex-doctor.sh
5) Report
摘要需包含:
- 新增或已存在的 MCP servers。
- 每個 server 的 login status。
- 需要人工處理的 follow-up。
What ships with it: 10 files
39.2 KB alongside SKILL.md, 10 of them executable
scripts/
- check-skills-mirror-mode.shruns1.3 KB
- doctor-mise-check.shruns1.8 KB
- lib/main-checkout.shruns1.6 KB
- lib/tool-attribution.shruns2.2 KB
- lib/tool-resolution.shruns4.4 KB
- mechanism-parity.shruns6.4 KB
- polaris-codex-doctor.shruns4.0 KB
- polaris-doctor.shruns7.0 KB
- sync-codex-mcp.shruns5.8 KB
- sync-skills-cross-runtime.shruns4.8 KB