Repository navigation
Description
Company or project name
No response
Component
CLI
Describe what's wrong
loom install --client zed merges the loom entry under context_servers into ~/.config/zed/mcp.json (%APPDATA%\Zed\mcp.json on Windows; server/identity/app/token_clients.py, the zed row of CONFIG_PATHS; the dashboard's per-client token blocks use the same table). docs/features/integrations/mcp-clients.md on main says both: the "Other editors and agents" section says Zed reads context_servers in settings.json, while the "What it writes per client" table says loom install writes ~/.config/zed/mcp.json, "a sibling of settings.json".
Zed's MCP page (https://zed.dev/docs/ai/mcp) says custom servers go under context_servers in the settings file (zed: open settings file, which is ~/.config/zed/settings.json), and names no mcp.json. So the entry should land in a file Zed does not read. The written path is reproduced on main at d88b943 (step 1 below); that Zed then does not list the server is unconfirmed, since I could not run Zed here.
Does it reproduce on the latest release or main?
Yes
How to reproduce
loom install --client zed --server-url http://localhost:7777 --token "$LOOM_API_KEY" --dry-run: it names~/.config/zed/mcp.json(reproduced onmainat d88b943:would write to: $HOME/.config/zed/mcp.json, with theloomentry undercontext_serversas annpx mcp-remotecommand).- Run it without
--dry-run, restart Zed, and open the Agent Panel's settings: whether theloomserver is listed is what needs checking.
Expected behavior
loom install --client zed writes context_servers.loom into the settings file Zed reads (~/.config/zed/settings.json; %APPDATA%\Zed\settings.json on Windows), keeping the user's other settings, and docs/features/integrations/mcp-clients.md names that file. Zed's settings.json may hold comments and trailing commas, which json.load refuses, so the install either merges it without dropping them or refuses with a message that prints the entry to paste. Zed's docs also show a remote server as url + headers, so the npx mcp-remote bridge may no longer be needed for it.
Error message and logs
No response
Environment
Loom main at d88b943; Python 3.12.3; Linux. Zed not installed, so that Zed does not list the server is unconfirmed.
Related issues and pull requests
How this was found
An AI tool found it, and I have not reproduced it myself
Additional context
The AI tool ran loom install --client zed --dry-run on main, which names ~/.config/zed/mcp.json; that is what "reproduces" above refers to. Nobody has checked Zed itself.
The fix changes the same files as the OpenCode install issue (loom install --client opencode) and the Gemini CLI install issue (loom install --client gemini): server/identity/app/token_clients.py, server/cli/install.py, frontend/src/lib/clients.ts and frontend/src/lib/clientSetups.fixture.json. Taken in parallel, expect to rebase onto whichever merges first.
Redaction
- I removed tokens, keys, passwords and personal or customer data from everything above.
Activity
rahulsjha commentedon Nov 16, 2026
Hi @zlareb1, I'd like to take this, and fill Zed's Checked cell for #707 in the same go since you noted it answers this bug. Plan: install Zed on macOS, confirm whether it lists a server from
~/.config/zed/mcp.jsonversuscontext_serversinsettings.json(screenshot of Zed's MCP panel plus version), then point thezedrow ofCONFIG_PATHSinserver/identity/app/token_clients.pyatsettings.json(%APPDATA%\Zed\settings.jsonon Windows), make sure the merge keeps the user's other settings (Zed's file can hold comments, so I'll check how_install_onereads it), and fix both spots indocs/features/integrations/mcp-clients.mdplustests/unit/test_token_clients.py/test_cli_install.py. Could you assign it to me?zlareb1 commentedon Nov 16, 2026
@sjin66 is already working on this