[feature] MCP servers: add, edit, copy and remove from the panel - #14
Merged
Conversation
|
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.



Supersedes #13, which GitHub closed when its base branch (#12) was deleted on merge. Same branch, rebased onto main.
The matrix could already show you that Cursor was missing a server Claude Code has, then leave you to go fix it in a JSON file. Now a row opens a drawer.
Flows
read_specfor the one you picked (transport, command/args or url, env, headers). Explicitsave; nothing autosaves; a dirty drawer asks before closing.project:scoped Claude Code entry is shown and explained rather than offered, so core'sclaude mcp removemessage surfaces where you'd try.+ add serveropens the same drawer empty with a checkbox per client; absent config files say "will be created".Value boundary unchanged.
mcp_list(fills the table, refreshes after every write) still reports env/header names and an argument count only. Values cross exactly one new command, for one named server of one named client, because you opened its drawer.Every write reuses the core path the CLI already uses: rolling backup, parse–modify–serialize, atomic rename, JSON style and TOML comments preserved. The report names the file written, the backup, and repeats core's notes including the restart caveat.
Four new Tauri commands (
mcp_read_spec/mcp_add/mcp_remove/mcp_copy) + serde wire mirrors with two unit tests guarding the#[serde(flatten)]shape every save is built from. Args are one input per argument — any single-field encoding can mangle an existing arg on an edit round-trip. Headers show for stdio too, because core writes and reads them regardless and hiding the section would silently drop data.clippy
-D warnings+cargo build --locked+bun run buildclean; no workspace crate or lockfile touched.