Skip to content

Fan MCP family saves into extra isolated homes - #470

Open
Adam-Dalloul wants to merge 7 commits into
spacering-net:mainfrom
Adam-Dalloul:mcp-family-extra-home-fanout
Open

Adam-Dalloul wants to merge 7 commits into
spacering-net:mainfrom
Adam-Dalloul:mcp-family-extra-home-fanout

Conversation

@Adam-Dalloul

@Adam-Dalloul Adam-Dalloul commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

Saving or removing an MCP server for a built-in agent also updates that family's registered custom accounts. This covers Claude Code, Codex, Grok, Gemini and OpenCode, using the isolated directories from their launch environments.

Claude accounts receive server definitions in their own .claude.json and corresponding plugin settings. Gemini uses GEMINI_CLI_HOME/.gemini. Other settings and authentication files are preserved.

Refreshed against current upstream, preserving the new MiniMax Code session-overlay handling and the existing Kiro, ZCode, TRAE and Command Code paths. Both save and remove still reach the family fanout after the native operation succeeds. Previous published history is retained.

Validation: standalone production server/MCP/CLI compilation passed. Combined MCP/family-isolation regressions and MiniMax overlay tests passed; #471 also retains its official-login and frontend regression coverage. The platform CI matrix runs on this refreshed head.

Merge before #471, which uses the same account-home helper for official sign-in. Maintainer edits are enabled.

@Adam-Dalloul
Adam-Dalloul force-pushed the mcp-family-extra-home-fanout branch 3 times, most recently from e1dfa78 to fc46b63 Compare August 22, 2026 16:49
@Adam-Dalloul
Adam-Dalloul force-pushed the mcp-family-extra-home-fanout branch 2 times, most recently from 3428c51 to 0070dc3 Compare September 4, 2026 15:47
Settings MCP still targets the built-in family row. Extra custom
agents whose spec.env sets CLAUDE_CONFIG_DIR, CODEX_HOME, GROK_HOME,
GEMINI_CONFIG_DIR, or OPENCODE_CONFIG_DIR now receive the same server
on upsert and lose it on remove.

Claude extra homes only get enabledPlugins; server defs stay in the
shared ~/.claude.json. Auth files are never copied.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant