11- Build Codex into your own internal tools and workflows11- Build Codex into your own internal tools and workflows
12- Integrate Codex within your own application12- Integrate Codex within your own application
13 13
14Use the Codex SDK for coding-focused Codex threads. If Codex is one specialist inside a broader orchestrated workflow, [run Codex CLI as an MCP server and orchestrate it with the Agents SDK](https://learn.chatgpt.com/docs/mcp-server).14Use the Codex SDK to automate coding tasks, including jobs in CI. Use the [Codex app server](https://learn.chatgpt.com/docs/app-server) to build custom clients that handle authentication, conversation history, approvals, and streamed agent events.
15
16`codex mcp-server` is deprecated. The [MCP server guide](https://learn.chatgpt.com/docs/mcp-server) remains available for existing integrations.
15 17
16If you have beta access and need repository or change scans with structured18If you have beta access and need repository or change scans with structured
17security findings and coverage, use the [Codex Security TypeScript19security findings and coverage, use the [Codex Security TypeScript