Codex
Connect Shredly to OpenAI Codex using the config file and an environment variable.
Prerequisites
- Codex CLI installed
- A Shredly API key (get one here)
Setup
1. Add to .codex/config.toml
[mcp_servers.shredly]
url = "https://mcp.shredly.io/mcp/shredly"
bearer_token_env_var = "SHREDLY_API_KEY"
2. Export your API key
Run this command, or add it to your .bashrc / .zshrc to make it permanent:
export SHREDLY_API_KEY="your-api-key-here"
Codex will pick up the server on next launch.
Verify the connection
Ask Codex to list available MCP tools:
"What MCP tools do you have from Shredly?"