Connect Gemini CLI to your football studio
Gemini CLI 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.
- Gemini CLI uses a key in its settings file.
Set it up
- 1
Make a key in Total Football Studio:
Settings > AI connections > New key. - 2
Open
~/.gemini/settings.jsonand add the entry below, with your key in place of YOUR_KEY. - 3
Start Gemini CLI in a folder you trust and run
/mcp.
{
"mcpServers": {
"totalfootball": {
"httpUrl": "https://totalfootballstudio.com/mcp",
"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
- “Which boards do I have?”
- “Draw a 3-4-3 build-up against a front two, three phases.”
- “Plan a recovery session the day after a match.”
If it does not work
- Gemini CLI connects servers only in folders you trust. In an untrusted folder the server shows as Disabled.
- 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.