Repository navigation
Description
Company or project name
No response
Component
CLI
Use case
Gemini CLI users install Loom through the Gemini extension or by editing settings.json; loom install --client has no Gemini entry.
Describe the solution you'd like
Goal. loom install --client gemini writes mcpServers.loom into ~/.gemini/settings.json, merging with what is there, and the dashboard's token dialog offers Gemini CLI.
Files to change
server/identity/app/token_clients.py:- a
CONFIG_PATHSrow forgemini,~/.gemini/settings.jsonper platform (%USERPROFILE%\.gemini\settings.jsonon Windows); - the default
mcpServerskey fromconfig_key()fits; - Gemini reads the URL from
httpUrl, noturl, somcp_entry()needs its own branch:{"httpUrl": …, "headers": {"Authorization": "Bearer …"}}; geminiinCODING_CLIENTS, so the URL carries?toolset=coding.
- a
server/cli/install.py: the merge in_install_onealready writes one top-level section; check that asettings.jsonholding Gemini's other settings keeps them.frontend/src/lib/clients.ts:geminiinClientId,CLIENTS,CODING_TOOLSET_CLIENTS, and anhttpUrlbranch informatMcpConfig();clients.test.ts;clientSetups.fixture.json.tests/unit/test_token_clients.py,tests/unit/test_cli_install.py,tests/unit/test_token_mint.py, andtests/unit/snapshots/cli_tree.jsonandcli_help.json.- docs/features/integrations/mcp-clients.md, each spot that names the
loom installor coding-toolset clients:- the
--clientrow of the flag table (its list of client names); - the
--toolsetrow, whose default reads "codingfor Claude Code, Codex and Cursor"; - the sentence under "Plugin or plain MCP" that ends "the default only for Claude Code, Codex and Cursor";
- the "Plugin or plain MCP" row that lists the
loom install --client <name>clients (Claude Desktop, VS Code, Cline, Windsurf, Zed); - the "What it writes per client" table.
- the
- docs/getting-started/connect-a-coding-agent.md: the token dialog's client list under Connect ("Cursor, VS Code, Cline, Windsurf, Zed or Claude Desktop", around line 81) and the "
--clientalso takes …" list after the command. - docs/features/integrations/index.md: the row that lists the
loom installclients ("Claude Desktop, Cursor, VS Code, Cline, Windsurf, Zed | …loom install --client …", around line 19), and docs/getting-started/quickstart.md: the sentence that lists the clientsloom installwrites an MCP entry for (around lines 528–529). The MCP clients page has checked entries for nine more agents and the hosted builders' routes #695 and Google ADK memory services use Loom in both SDKs #696 also editindex.md(Google ADK memory services use Loom in both SDKs #696 re-pads its Map table), and The MCP clients page has checked entries for nine more agents and the hosted builders' routes #695 editsmcp-clients.md: rebase onto whichever is still open.
Acceptance criteria
- A unit test writes the file, then rewrites it, without losing other servers or settings.
- Gemini CLI reads
settings.jsonthroughstrip-json-comments(packages/cli/src/config/settings.tsin https://github.com/google-gemini/gemini-cli; its configuration docs do not mention comments), so the file may hold//and/* */comments, whichjson.loadrefuses; today_install_onethen says "fix or delete it and re-run". When the file holds comments,loom install --client geminiwrites nothing and refuses with a message that names the file and prints the entry to paste; a unit test covers it. - Say whether
loom installwith no--clientshould wire Gemini CLI when~/.gemini/exists only for Google Antigravity (which also uses~/.gemini/), and test the choice. gemini mcp list, run in a trusted folder, showsloomconnected (Gemini CLI 0.68.0 is the version the MCP clients page checked; say which version you used).make format-check lint typecheck,npm --prefix frontend testandnpm --prefix frontend run build(tsc -b && vite build, as CI runs it) pass.npx --prefix frontend playwright install chromium && npm --prefix frontend run e2epasses (the specs infrontend/e2e/, as CI'sfrontend-e2ejob runs them).- The docs checks pass:
.venv/bin/python -m pytest tests/unit/test_doc_links.py tests/unit/test_public_copy.py -q
.venv/bin/python -m scripts.codegen.docs_reference --checkLOOM_UPDATE_CLI_SNAPSHOT=1 .venv/bin/python -m pytest tests/unit/test_cli_surface_snapshot.pyregeneratescli_tree.jsonandcli_help.json(the commandtests/unit/snapshots/README.mdgives), and.venv/bin/python -m pytest tests/unit/test_token_clients.py tests/unit/test_cli_install.py tests/unit/test_token_mint.py tests/unit/test_cli_surface_snapshot.py -qpasses.
Describe alternatives you've considered
gemini extensions install https://github.com/ClickHouse/loom and gemini mcp add already work; this makes loom install cover Gemini like the other clients.
Where the need comes from
The need is mine, an AI tool helped shape the proposal
Additional context
#722 (OpenCode) and #709 (Zed) change the same files: server/identity/app/token_clients.py, server/cli/install.py, frontend/src/lib/clients.ts, frontend/src/lib/clientSetups.fixture.json and the CLI snapshots. Taken in parallel, expect to rebase onto whichever merges first.
Size: M (a day or two). Read CONTRIBUTING.md first (signed-off commits), and comment here to say you are working on it.
Activity
rahulsjha commentedon Nov 16, 2026
Hi @zlareb1, I'd like to work on this: a
geminirow inCONFIG_PATHS(~/.gemini/settings.json, and%USERPROFILE%\.gemini\settings.jsonon Windows), anhttpUrlbranch inmcp_entry(),geminiinCODING_CLIENTS, a check that the merge in_install_onekeeps Gemini's other settings, the frontendclients.tsentries andformatMcpConfig()branch, and the listed unit and snapshot tests plus the MCP clients docs. Could you assign it to me?