Repository navigation
feat(settings): an MCP category, with setup for each client, and the version in the footer - #291
Merged
Merged
Conversation
…version in the footer MCP gets its own category after Extensions. Set up for… opens a page with Claude Code, Claude Desktop and Codex: ⏎ copies what adds stack-nudge to each, and a tick shows once its config has it, read from the default and any extra config dirs. Claude Code's command is now user scope. The writes switch moves with it, in the registry too. The version leaves the bottom of the sidebar for the left of Settings' footer, and shows a nightly's build number.
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 MCP rows were tacked onto Actions and only knew about Claude Code, which is one of three clients we've now had it working with. This gives MCP its own category, and a page to set each client up from.
~/.claude.json(user and project scope), Desktop'sclaude_desktop_config.json, and Codex'sconfig.toml, plus any extra Claude config dirs and Codex homes the Usage tab already knows about. It matches on the command and--mcp, not the name, and never writes any of them--scope user. The old one added it to whichever project you ran it inmcpServersentry with the path written out in full, since Desktop doesn't expand~STACKNUDGE_MCP_WRITESmoves to anmcpcategory in the registry, sosettings_listgroups it the same wayBefore, Settings → Actions:
After, Settings → MCP and the Set up for… page:
From
scripts/render-screenshots.sh <dir> mcp, with Claude Code and Codex ticked in the fixture. Against my own machine the detection ticks Desktop and not the other two, which matchesclaude mcp listandcodex mcp list.Tests: new
MCPClientsTests(each client's setup, Desktop's entry still parsing as JSON, finding it at user or project scope, Codex's table, not matching other servers, any config dir counting) andMCPSettingsTests(the category's rows, opening and leaving the page). The settings category, extension page and registry suites pass with them.