# A shared task list for Gemini CLI

> Watch Gemini CLI plan, report progress and ask questions on a live board you share. One gemini mcp add command and a GEMINI.md snippet set it up.

Source: https://taskhold.com/for/gemini-cli
Last updated: 2026-11-11

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](https://taskhold.com/for/antigravity-cli), 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](https://taskhold.com/tools/mcp-config) writes the settings entry, and [one task list across repos](https://taskhold.com/guides/one-task-list-across-repos) shows how it shares the list with your other agents.

## Setup

Add the server with no key:

```bash
gemini mcp add -s user --transport http taskhold https://taskhold.com/api/mcp
```

-s user makes it work in every folder; --transport http writes httpUrl. Docs: geminicli.com/docs/tools/mcp-server

Gemini 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:

```bash
gemini mcp add --transport http --header "Authorization: Bearer <your atd_sk_ key>" taskhold https://taskhold.com/api/mcp
```

gemini mcp add takes --transport http and -H/--header.

Or 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:

```json
{
  "mcpServers": {
    "taskhold": {
      "httpUrl": "https://taskhold.com/api/mcp",
      "headers": { "Authorization": "Bearer ${TASKHOLD_API_KEY}" }
    }
  }
}
```

Gemini CLI uses httpUrl for Streamable HTTP servers. Set TASKHOLD_API_KEY in your shell or a .env file. Docs: geminicli.com/docs/reference/configuration

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:

```markdown
## 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](https://taskhold.com/demo/live) 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](https://taskhold.com/guides/monitor-coding-agent-progress) for reading the board, and the [MCP tools reference](https://taskhold.com/docs/mcp-tools) 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:

```json
"taskhold": {
  "httpUrl": "https://taskhold.com/api/mcp",
  "headers": { "Authorization": "Bearer ${TASKHOLD_API_KEY}" },
  "trust": true,
  "excludeTools": ["taskhold_set_priority"]
}
```

trust defaults to false; excludeTools hides tools from the model and wins over includeTools. gemini mcp add --trust does the same from the shell. Docs: geminicli.com/docs/tools/mcp-server

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](https://taskhold.com/guides/gemini-cli-mcp-server-not-loading).

## FAQ

### 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)](https://geminicli.com/docs/reference/configuration), checked 2026-11-11
- [Gemini CLI docs: MCP servers (httpUrl, headers, trust, excludeTools, mcp remove/disable)](https://geminicli.com/docs/tools/mcp-server), checked 2026-11-11
- [Gemini CLI docs: GEMINI.md (context.fileName, /memory)](https://geminicli.com/docs/cli/gemini-md), checked 2026-11-11
- [Google for Developers Blog: transitioning Gemini CLI to Antigravity CLI (May 19, 2026)](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/), checked 2026-11-11

## Related

- [Antigravity CLI task list over MCP: live board](https://taskhold.com/for/antigravity-cli.md)
- [Codex CLI task list over MCP: watch tasks live](https://taskhold.com/for/codex.md)
- [How to see what Claude Code is doing, live](https://taskhold.com/guides/monitor-coding-agent-progress.md)
- [Run several coding agents in parallel on one list](https://taskhold.com/guides/run-multiple-coding-agents-on-one-task-list.md)
- [OpenCode task list over MCP: watch tasks live](https://taskhold.com/for/opencode.md)
- [Gemini CLI MCP server not loading: the fix](https://taskhold.com/guides/gemini-cli-mcp-server-not-loading.md)
- [Gemini CLI waits for input silently: the fix](https://taskhold.com/guides/gemini-cli-waiting-for-input.md)
- [Task managers for AI coding agents, compared](https://taskhold.com/vs/ai-coding-agent-task-managers.md)
- [Gemini CLI hook: show each reply on the board](https://taskhold.com/integrations/gemini-cli-hooks.md)

## About Taskhold

Taskhold is a hosted task list shared by a person and their AI coding agents over MCP. Agents break tasks into steps and report progress, and the person watches a live board. $12/month or $120/year per person, 7-day trial with a card, no free plan. Made by Great Work LLC.

To try it, add the MCP server https://taskhold.com/api/mcp to your agent. It connects with no sign-up, and the first time the agent uses Taskhold it gives you a link to start the trial.

- Pricing: https://taskhold.com/pricing.md
- Agent index: https://taskhold.com/llms.txt
