Skip to content

Commit 883f65d

Browse files
committed
add codex CLI references for quickstart
1 parent 893ebbb commit 883f65d

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs/references.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,32 @@
114114
### [Langfuse](https://langfuse.com/)
115115

116116
- [Cookbook: LangGraph Integration](https://langfuse.com/guides/cookbook/integration_langgraph)
117+
118+
### [Codex CLI](https://github.com/openai/codex)
119+
120+
- Azure OpenAI で Codex CLI を使う: [Codex Azure OpenAI Integration: Fast & Secure Code Development](https://devblogs.microsoft.com/all-things-azure/codex-azure-openai-integration-fast-secure-code-development/)
121+
- [OpenAI Codex CLI のクイックスタート](https://note.com/npaka/n/n7b6448020250)
122+
123+
```shell
124+
# Install Codex CLI
125+
npm install -g @openai/codex
126+
127+
# Generate shell completion scripts
128+
codex completion zsh
129+
130+
# Dump configurations
131+
cat ~/.codex/config.toml
132+
133+
# Set up environment variables
134+
export AZURE_OPENAI_API_KEY="<your-api-key>"
135+
136+
# MCP server management: https://qiita.com/tomada/items/2eb8d5b5173a4d70b287
137+
## Add a global MCP server entry
138+
codex mcp add context7 -- npx -y @upstash/context7-mcp
139+
codex mcp add playwright -- npx -y @playwright/mcp@latest
140+
codex mcp add mslearn -- npx -y mcp-remote "https://learn.microsoft.com/api/mcp" # ref. https://zenn.dev/yanskun/articles/codex-remote-mcp
141+
## Remove MCP server
142+
codex mcp remove context7
143+
## List MCP servers
144+
codex mcp list
145+
```

0 commit comments

Comments
 (0)