A shared task list for Gemini CLI
By Jake Marsh, who builds Taskhold. Updated 2026-11-11. Facts about other tools checked 2026-11-11. 5 min read.
Google is moving Gemini CLI users to Antigravity CLI. Since June 18, 2026, Gemini CLI no longer serves Google AI Pro and Ultra plans or free Gemini Code Assist for individuals; it still works with paid Gemini API and Gemini Enterprise Agent Platform keys. On agy now? Use the Antigravity CLI page, since its config file and format differ.
Gemini CLI connects to remote MCP servers over HTTP. With Taskhold connected, Gemini CLI works from the same list as your other agents: you queue tasks in the web app, Gemini CLI picks one up, reports progress you watch on the live board and closes it with a summary. The MCP config generator writes the settings entry, and one task list across repos shows how it shares the list with your other agents.
Setup
Add the server with no key:
gemini mcp add -s user --transport http taskhold https://taskhold.com/api/mcpGemini CLI finds Taskhold's sign-in from the 401 and registers itself. Run /mcp auth taskhold and finish in your browser. It connects with no sign-up, and the first time the agent uses Taskhold it gives you a link to start the 7-day trial (or to use your existing account).
With an API key instead, for a machine with no browser: paste a setup URL from Taskhold Settings into Gemini CLI and ask it to set it up (the markdown has a fresh key and the command, and the URL stays valid for 3 days), or run this once with your key:
gemini mcp add --transport http --header "Authorization: Bearer <your atd_sk_ key>" taskhold https://taskhold.com/api/mcpOr add the server to ~/.gemini/settings.json (all projects) or .gemini/settings.json (one project). String values in settings.json can reference environment variables, so the key can stay out of the file:
{
"mcpServers": {
"taskhold": {
"httpUrl": "https://taskhold.com/api/mcp",
"headers": { "Authorization": "Bearer ${TASKHOLD_API_KEY}" }
}
}
}Use taskhold.com as the host, not www.taskhold.com: the www address redirects, and the Authorization header doesn't survive the redirect.
GEMINI.md snippet
Gemini CLI loads ~/.gemini/GEMINI.md for every project, plus the GEMINI.md files in your workspace and its parent folders, and sends them with every prompt. Add this to the repo's GEMINI.md:
## Taskhold
Tasks for this repo are tracked in the taskhold MCP server. The user watches progress on a live board.
- Every taskhold call takes project: "<repo folder name>".
- First thing in a session: taskhold_get_current and taskhold_updates. Note the cursor.
- New work: taskhold_begin with title, project, steps and agent: "Gemini CLI in <repo>". Already queued: taskhold_list (status todo), then taskhold_begin with the task_id.
- Step finished: taskhold_complete with start_next: true. Slow step: taskhold_progress, every few minutes at most.
- Question for the user: taskhold_block, then taskhold_updates with task_id, since and wait: 50.
- Wrap up with taskhold_complete and a summary of changes and checks. Park TODOs with taskhold_create or taskhold_create_from_todo.Already keep instructions in AGENTS.md for other agents? The context.fileName setting takes a list of names, so "context": { "fileName": ["AGENTS.md", "GEMINI.md"] } in settings.json loads both. After an edit, /memory reload re-reads the files and /memory show prints what Gemini CLI loaded.
See Gemini CLI's progress next to your other agents
Gemini CLI reports to the same live board as Claude Code, Codex or Cursor, under its own label, with its steps, latest message and any open question. See how to monitor a coding agent's progress for reading the board, and the MCP tools reference for the calls behind it.
How do I stop Gemini CLI asking before every progress report?
Gemini CLI asks for confirmation before each MCP tool call unless the server is trusted, and an agent reporting progress every few minutes would ask a lot. When the prompt appears, choose Always allow this server. Or set trust in the entry, which skips every confirmation for this server:
"taskhold": {
"httpUrl": "https://taskhold.com/api/mcp",
"headers": { "Authorization": "Bearer ${TASKHOLD_API_KEY}" },
"trust": true,
"excludeTools": ["taskhold_set_priority"]
}Taskhold's tools only touch your task list, never your files, so trusting the server is lower stakes than trusting one that runs commands. If you'd rather keep prompts for edits, leave trust off and use includeTools for the read and report tools only.
Type /mcp inside Gemini CLI to see whether taskhold is connected and which of its tools Gemini CLI loaded.
Turning Taskhold off in Gemini CLI
Gemini CLI sends Taskhold the task text, steps, progress and notes it writes. gemini mcp disable taskhold switches the server off (add --session to do it for this session only), and gemini mcp remove taskhold deletes the entry. Revoking the key in Taskhold Settings > API keys cuts access right away with 401.
If /mcp lists taskhold as disconnected or without tools, see Gemini CLI MCP server not loading.
Answer your coding agents from anywhere.
$12/month or $120/year after the trial. Card up front. Cancel before day 7 and you pay nothing. Every agent you run is included.
Or connect your agent first, no sign-up: add https://taskhold.com/api/mcp as an MCP server. The first time it uses Taskhold, it gives you the trial link.
Questions
- Can I keep the key out of settings.json?
- Yes. Gemini CLI resolves $VAR, ${VAR} and ${VAR:-default} in string values in settings.json, header values among them, using your shell or a .env file. Write the header as Bearer ${TASKHOLD_API_KEY} and set the variable. Don't give the key a default value, and revoke it in Taskhold Settings if it leaks.
- Does Gemini CLI see my other agents' tasks?
- Yes. All agents connected to your account read and update one list, and each change is marked as made by a person or an agent.
- What does Taskhold cost?
- Per person, $12 monthly or $120 yearly, and every agent you connect is included. The trial lasts 7 days and starts with a card.
Sources
- Gemini CLI docs: configuration reference (environment variables in settings), checked 2026-11-11
- Gemini CLI docs: MCP servers (httpUrl, headers, trust, excludeTools, mcp remove/disable), checked 2026-11-11
- Gemini CLI docs: GEMINI.md (context.fileName, /memory), checked 2026-11-11
- Google for Developers Blog: transitioning Gemini CLI to Antigravity CLI (May 19, 2026), checked 2026-11-11
Related
- Antigravity CLI task list over MCP: live board
- Codex CLI task list over MCP: watch tasks live
- How to see what Claude Code is doing, live
- Run several coding agents in parallel on one list
- OpenCode task list over MCP: watch tasks live
- Gemini CLI MCP server not loading: the fix
- Gemini CLI waits for input silently: the fix
- Task managers for AI coding agents, compared
- Gemini CLI hook: show each reply on the board
Updated 2026-11-11. Something wrong or out of date? Email hello@greatwork.company.