Repository navigation
fix(skill): register the MCP server at user scope; give typed commands a 15 s catalog budget - #152
Merged
Merged
Conversation
…s a 15 s catalog budget claude and gemini 'mcp add' default to a per-project scope: Claude Code registered the server for the current folder only and Gemini CLI refused it in an untrusted folder. Both now get --scope user. The catalog fetch gave up after 2 s for every command, so a slow GitHub release redirect read as 'not reachable'. Commands the user types now wait 15 s; the notice after other commands keeps the 2 s budget. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
satyamdev10
approved these changes
Oct 23, 2026
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
Two fixes found while testing the 2.6.0 release candidate. 2.6.0 is not published yet, so they ride in the same release: no new changeset, the existing
skill-install-from-catalogentry is extended.What it fixes
--mcpregistered the server for one folder only.claude mcp adddefaults tolocalscope, so the Brevo MCP server appeared only in the folder wherebrevo skill install --mcpran.gemini mcp adddefaults toprojectscope and is refused in an untrusted folder ("Cannot modify settings in an untrusted workspace"), so registration failed. Both now get--scope user. Codex has one global config and is unchanged.release downloadredirects are sometimes slower than that (one took over a minute), soskill listandskill installcould fail and then work on retry. Typed commands now wait 15 s. The notice printed after other commands keeps the 2 s budget, so it still never holds a command up.Checks
yarn lint,yarn build, full jest suite (1,973 tests) pass.claude2.1.309,codex0.162.1 andgemini0.65.0, in an empty HOME and an untrusted folder:skill install --mcp --agent claude,codex,geminiregisters the server for all three.claude mcp listshows it from a different folder, and~/.gemini/settings.jsonholds it. Running it again reports "already exists" for claude (with the command to run by hand) and registers cleanly for gemini and codex.🤖 Generated with Claude Code