CONNECT CODEX
Codex plans your lifting. Tally logs every set.
Codex reads your training history. With a Read and plan key, it also writes planned workouts to the Tally app. With a Full access key, it can also log, change or delete finished workouts when you ask. You can undo each change for 7 days.
You are on a phone or tablet. Setting up Codex needs a computer, so do this in two parts.
Connect later on your computer
Opens the share sheet: send the link by message, email or a note.
See the config
[mcp_servers.tally]
url = "https://mcp.tallyworkout.app/api/mcp"
http_headers = { "Authorization" = "Bearer your-key" }Use Claude on your phone instead? Connect Claude from its directory. No computer needed.
- 01
Get Tally and create a key
In Tally, open Settings → API keys → Create key. Pick Codex. Pick Read only, Read and plan so Codex can add workouts, or Full access so it can also log, change or delete finished workouts. You can undo each change for 7 days. Copy the key. Tally shows it once.
- 02
Add this block at the end of ~/.codex/config.toml
Put your key in place of your-key, and start the block on a new line. If the file already has a [mcp_servers.tally] line, first delete it and the lines under it, up to the next line that starts with [.
[mcp_servers.tally] url = "https://mcp.tallyworkout.app/api/mcp" http_headers = { "Authorization" = "Bearer your-key" } - 03
Quit Codex and open it again.
- 04
Ask for your week
Plan 4 lifting days for next week. Go easy on my shoulder.

What Codex can do
- Read your training history, progress and planned days
- With a Read and plan key: plan, change, move or skip planned days
- With a Full access key: log, change or delete finished workouts. You can undo each change for 7 days.
If something goes wrong
- Codex does not see Tally.
- Check that the block has your key in place of your-key, and that config.toml has only one [mcp_servers.tally] line. Then quit Codex and open it again.
- Codex cannot add workouts.
- The key is Read only. Create a new key and pick Read and plan.
- The key does not work.
- Copy the whole key. If you lost it, revoke it in Settings → API keys and create a new one. Tally shows a key only once.
- The server address does not work.
- Use https://mcp.tallyworkout.app/api/mcp. The address tallyworkout.app is the website, not the API.
- Steps not working?
- Email support@tallyworkout.app.