Skip to content
Black Friday deals open 17 NovemberBlack FridayDeals open 17 November.Reserve your priceEarly access: 12 months for the price of 8Early accessEarly access is open: 12 months for the price of 8.See the dealsBlack Friday: up to 12 months for the price of 8Black Friday3 months for the price of 2, up to 12 for 8.See the dealsIt's Black Friday: 12 months for the price of 8Black FridayIt's Black Friday: 12 months for the price of 8, until Monday.See the dealsBlack Friday ends in --:--:-- Last dayBlack Friday ends in --:--:-- See the dealsGive a coach a season: giftsGive a coach a season.Gift cards for coachesLast-minute gift, arrives in minutesLast minuteArrives in minutes, with a printable card.Give the Studio
Total Football
Open the Studio

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.
Make a key

Set it up

  1. 1

    Make a key in Total Football Studio: Settings > AI connections > New key.

  2. 2

    Open ~/.codex/config.toml and add the lines below, with your key in place of YOUR_KEY.

  3. 3

    Start Codex again. It lists totalfootball among its MCP servers.

~/.codex/config.toml
[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.”

This is what it made, first try. →

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.

Every tool, with its inputs →

Other apps