Go integration
Integrate Codex from Go by invoking the CLI or implementing an MCP client.
openai/codex does not publish an official Go SDK. A Go application can invoke the installed codex executable as a child process, or connect to codex mcp-server using a Go MCP client.
For the maintained official SDK, use TypeScript. For protocol details, see MCP server.
Updated Aug 31, 2026