Use Vexly with Codex
The most reliable Codex path today is the public API or the reference CLI wrapper.
Prerequisites
export VEXLY_ACCESS_TOKEN='your_token_here'
export VEXLY_BASE_URL='https://api.vexly.io/api/v1/public'
Fastest Setup
Clone the public repo and use the reference CLI:
git clone https://github.com/just-strings/vexly-mcp.git
cd vexly-mcp
python3 cli/vexly.py run "Review last week's performance across all connected services and return the top 5 changes or risks"
Poll a Run
Direct API Option
If you do not want the CLI wrapper, call the API directly:
curl -sS https://api.vexly.io/api/v1/public/agent/runs \
-H "Authorization: Bearer $VEXLY_ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"prompt":"Review last week's performance across all connected services and return the top 5 changes or risks"}'
Recommended Codex Workflow
- Use local Codex for implementation.
- Use Vexly for cross-service business analysis across ads, analytics, storefronts, and connected product tools.
- Pull the result back into your main Codex session once the run completes.