Connect Codex to Ocoya MCP
Use this MCP URL when configuring Codex:Config file
1
Open Codex config
Open
~/.codex/config.toml.2
Add the Ocoya MCP server
Add this server entry:
3
Run CLI to authenticate
Run the OAuth login command:
4
Approve OAuth access
When Ocoya opens in your browser, sign in, approve permissions, and select the workspaces Codex can access.
5
Reload Codex
Restart Codex Desktop or open a new thread so the authenticated Ocoya tools are loaded.
CLI setup
1
Add the MCP server
Run:
2
Run CLI to authenticate
Run:
3
Approve OAuth access
Complete the Ocoya OAuth page by approving permissions and selecting the workspaces Codex can access.
4
Reload Codex
Restart Codex Desktop or open a new thread before using the Ocoya tools.
codex is not on your PATH on macOS, use the bundled app CLI:
Test the connection
Start with a read-only request:/mcp.
Only approve write actions such as publishing, deleting posts, or running workflows when the intended action is clear.