Connect Codex
Codex talks to Rendley over an MCP server with a bearer token. First create the key in Rendley, then add the server in Codex.
Codex (desktop app)
1. Create a Rendley API key
In Rendley, open Settings, scroll to API Keys, and click + Create your first key.
Name the key (for example Codex) and click Create key.
Copy the key now. Rendley shows it once.
2. Open Codex Settings
In Codex, click your avatar in the bottom-left, then Settings.
3. Add an MCP server
Under Integrations, select MCP servers, then click + Add server.
4. Configure Rendley
Fill in the form and click Save:
- Name:
Rendley - Transport: Streamable HTTP
- URL:
https://mcp.rendley.com/mcp - Headers: add a header with key
Authorizationand valueBearer YOUR_RENDLEY_API_KEY
5. Verify the connection
In a new chat, type /mcp. You should see rendley listed as Authenticated (API key) and Enabled.
Codex CLI
The Codex CLI uses ~/.codex/config.toml. Point it at an environment variable for your key:
[mcp_servers.rendley]
url = "https://mcp.rendley.com/mcp"
bearer_token_env_var = "RENDLEY_API_KEY"
Then export the key (add it to your shell profile so new sessions inherit it):
export RENDLEY_API_KEY="your_key_here"
Keeping the key in an env var means a rotated key just needs a new export, with no config edit.
Try it
Ask in the chat:
What can Rendley do here?
List my projects.
If Codex lists Rendley’s tools and your projects, you’re connected. From there, describe the video you want and Codex builds it and returns a link.
Common issues
- Codex returns
401. The bearer token is wrong or missing. In the desktop app, re-check theAuthorizationheader. In the CLI, runecho $RENDLEY_API_KEYto make sure it’s exported in the shell that launched Codex. rendleynot listed under/mcp. Open Settings → MCP servers and confirm the server is saved and enabled.
More fixes in Troubleshooting.