Repository navigation
feat(desktop): MCP connectors in Project Settings and This Session - #191
Merged
Merged
Conversation
Project Settings and This Session show a project's MCP servers through the host's soft layers instead of writing `.codework/mcp.json` from switches. - Rows from the files with where they come from; locked rows say "Configured via mcp.json" or "Off in Project Settings". Switches, the account picker (opening away from the switch) and Add Connector, with a submenu of connections for a connector with several, all send `mcp.edit`. - Settings → MCP Connectors shows the Default badge on the status line, offers Make Default for MCP connections, hides environment variables (MCP never uses them) and edits `~/.codework/mcp.json` under Advanced. - App server routes `mcp.view` and `mcp.edit` to the machine the project or session is on; a machine simulation checks each machine keeps its own vault and layers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
sanchitrk
force-pushed
the
claude/mcp-connector-scoping-desktop
branch
from
December 2, 2026 12:47
5b39d6a to
fd27fab
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The desktop half of #190, stacked on it: Project Settings and This Session show a project's MCP servers through the host's soft layers. The switches no longer write
.codework/mcp.json; only the Advanced raw editors do. Retarget tocanaryonce #190 merges.Web
⋯menu opens to the left, with the accounts listed inline (no submenu toward the switch).~/.codework/mcp.json.Contract and app server
mcp.viewandmcp.editare routed to the machine the project or session is on.Mcp.EditErrorreaches the UI asMcpRefusedwith the harness's reason, shown in a toast.Testing
vp checkand typecheck for web, server and contract;vp run verifypasses. App server suite: 53 passed, 2 skipped.mcp.machines.live.test.tson three OrbStack machines, each with its own vault (two accounts, one, none) and the same projectmcp.json. Each machine resolves only its own vault and layers, and edits on cw-a never reach cw-b or cw-c.Done by Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.