feat(profiles): add mcp pivot support via profile mcp key#41
Closed
feat(profiles): add mcp pivot support via profile mcp key#41
Conversation
Owner
Author
|
Closing in favour of a properly named branch. |
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.
Summary
Closes #39
schemas/profile.schema.json— adds optional top-levelmcpproperty (strategy: merge/replace +serversmap) so profiles can declare MCP servers declarativelytooling/lib/mcp.sh— new--action seed(non-interactive) that readsmcp.serversfrom the profile and fans out to all present vendor config files with per-vendor translation:.mcp.json(Claude): written verbatimopencode.json:typestdio→local/http→remote,env→environment,command+args→combined array.gemini/settings.json:typefield removed,url→httpUrlfor http entriestooling/lib/compose.sh— guarded seed call at end of compose (pure no-op whenmcpkey is absent — zero side effects on existing workflows)tooling/lib/test.sh— 7 new assertions T67–T73 covering.mcp.jsoncreation, Opencode/Gemini translations, merge/replace strategies, and the no-op guarddocs/mcp.md— new dedicated MCP reference page (vendor support matrix, per-vendor translation table, merge vs replace, env var convention, interactive wizard cross-link)docs/commands.md,docs/customization.md,docs/profiles.md,README.md— cross-links todocs/mcp.mdTest plan
just lint— passes ✔just test— 229/229 pass ✔just index— rebuilt ✔