Connect Codex to your football studio
Codex gets the studio’s tools: it reads your boards, sessions and e-books, draws new ones in real metres, plans training and studies past puzzles. Everything it makes lands in your account.
Before you start
- An Amateur or Pro plan (or its free trial).
- The app installed and signed in.
- Codex uses a key in its config file.
Set it up
- 1
Make a key in Total Football Studio:
Settings > AI connections > New key. - 2
Open
~/.codex/config.tomland add the lines below, with your key in place of YOUR_KEY. - 3
Start Codex again. It lists totalfootball among its MCP servers.
[mcp_servers.totalfootball]
url = "https://totalfootballstudio.com/mcp"
http_headers = { "Authorization" = "Bearer YOUR_KEY" } Replace YOUR_KEY with the key from Settings > AI connections. It is shown once, so paste it straight in.
Other servers there already? Add the totalfootball entry beside them.
Then ask it
- “List my sessions this month.”
- “Build a rondo warm-up into a 60 minute pressing session for 14 players.”
- “Make a copy of my 4-2-3-1 board so I can try a version where the ten drops in.”
If it does not work
- A 401 means the key is wrong, revoked or expired: make a new one in Settings > AI connections.
- A 403 names the area the key does not hold (boards, sessions, puzzles, team or Manager Lab): make a key with it ticked.
- Out of requests? The answer says so in words. Buy a pack, turn on pay as you go, or wait for the 1st.
- Restart the app after changing its config, so it reconnects.