Skip to content

feat(settings): an MCP category, with setup for each client, and the version in the footer - #291

Merged
StuBehan merged 1 commit into
mainfrom
feat/mcp-settings-category
Nov 25, 2026
Merged

StuBehan merged 1 commit into
mainfrom
feat/mcp-settings-category

Conversation

@StuBehan

Copy link
Copy Markdown
Collaborator

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.

  • MCP sits after Extensions. It has Set up for…, which says how many clients already have it, and the writes switch, moved from Actions
  • Set up for… opens a page a level down, like an integration's, with a card each for Claude Code, Claude Desktop and Codex. ⏎ copies what adds stack-nudge to that client, and the card shows a tick once its config has it
  • the tick comes from reading the client's own config: ~/.claude.json (user and project scope), Desktop's claude_desktop_config.json, and Codex's config.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
  • Claude Code's command is now --scope user. The old one added it to whichever project you ran it in
  • Desktop's is the mcpServers entry with the path written out in full, since Desktop doesn't expand ~
  • the version comes out of the bottom of the sidebar and goes on the left of the footer, on Settings only. It shows a nightly's build number too, which the sidebar didn't
  • STACKNUDGE_MCP_WRITES moves to an mcp category in the registry, so settings_list groups it the same way

Before, 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 matches claude mcp list and codex 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) and MCPSettingsTests (the category's rows, opening and leaving the page). The settings category, extension page and registry suites pass with them.

…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.
@StuBehan
StuBehan merged commit 0e15dac into main Nov 25, 2026
6 checks passed
@StuBehan
StuBehan deleted the feat/mcp-settings-category branch November 25, 2026 08:55
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