Skip to content

feat(macos): registry edit/remove + drop warnings; official read-only (MCP-1074) - #596

Merged
Dumbris merged 1 commit into
mainfrom
mcp-1074-macos-registry-edit-remove
Jun 4, 2026
Merged

feat(macos): registry edit/remove + drop warnings; official read-only (MCP-1074)#596
Dumbris merged 1 commit into
mainfrom
mcp-1074-macos-registry-edit-remove

Conversation

@Dumbris

@Dumbris Dumbris commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary (MCP-1074 — v0.37.0 blocker)

macOS tray registry surface, updated for the MCP-1072 provenance simplification (provenance is now informational only — servers follow the global quarantine default).

Warnings removed

  • Dropped the third-party warning alert/text in RegistriesView and the "always quarantined / cannot skip security review" note in ServerBrowseView's registry-info popup.
  • Replaced the alarming Third-party · unverified / Official · trusted styling with a neutral Official / Custom badge (RegistryProvenanceBadge, reused by the browse info popup).
  • Removed the obsolete one-time third-party warning + ThirdPartyRegistryAck.

Edit + Remove (macOS HIG)

  • New Configured registries management list in RegistriesView (custom rows first, so the actionable ones lead).
  • Each custom row has a trailing ellipsis menu (ellipsis.circle) and a right-click .contextMenu, both offering:
    • Edit Registry… → a .sheet reusing AddRegistryView in edit mode (pre-filled name/url, id immutable) → PUT /api/v1/registries/{id}.
    • Remove Registry… (role: .destructive) → a .confirmationDialog naming the registry → DELETE /api/v1/registries/{id}.
  • Official/built-in registries are read-only (no menu) with a checkmark.seal indicator.
  • New APIClient.editRegistrySource / removeRegistrySource; provenance model moved to the 2-value official/custom scheme (legacy official/trusted | custom/unverified still accepted on read).

Verification

  • swift build -c release green; MCPProxyTests/RegistryModelsTests 19/19 pass (new tests for the 2-value + legacy provenance and the registry_not_found edit-error mapping). Remaining full-suite failures (SSEParser/Models/AutoStart/MergePatch) are pre-existing and unrelated — they fail identically on origin/main.
  • ui-test (dev tray attached to the live core): verified no warning text, official rows read-only with Official badge + seal, custom rows show the ellipsis menu → Edit Registry… / Remove Registry…, the edit sheet opens pre-filled (immutable id), and the client issues the correct PUT (the live core's older build lacks the route, so it surfaced the mapped error — confirming the request path + error handling).
  • New-backend round-trip proven against a worktree-built core: POSTPUT (rename + new url, provenance custom)→GETDELETEGET all return 200 / behave correctly.

Related MCP-1074

… (MCP-1074)

Provenance is informational only (MCP-1072), so the macOS tray no longer shows
the "third-party · unverified / always quarantined" warnings. Replace them with
a neutral Official / Custom badge (shared RegistryProvenanceBadge).

Add a Configured-registries management list to RegistriesView (custom rows
first, so the actionable ones lead): each custom registry gets a trailing
ellipsis menu and a right-click context menu offering Edit Registry… (a
pre-filled AddRegistryView edit sheet that PUTs /api/v1/registries/{id}, id
immutable) and Remove Registry… (a destructive confirmationDialog that DELETEs
it). Official/built-in registries are read-only with a checkmark.seal indicator
and no menu.

Add APIClient.editRegistrySource / removeRegistrySource, move the provenance
model to the 2-value official/custom scheme (legacy official/trusted |
custom/unverified still accepted on read), and drop the obsolete one-time
third-party warning + ThirdPartyRegistryAck.

Related MCP-1074
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7b6ebe3
Status: ✅  Deploy successful!
Preview URL: https://51769cd4.mcpproxy-docs.pages.dev
Branch Preview URL: https://mcp-1074-macos-registry-edit.mcpproxy-docs.pages.dev

View logs

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

📦 Build Artifacts

Workflow Run: View Run
Branch: mcp-1074-macos-registry-edit-remove

Available Artifacts

  • archive-darwin-amd64 (28 MB)
  • archive-darwin-arm64 (25 MB)
  • archive-linux-amd64 (16 MB)
  • archive-linux-arm64 (14 MB)
  • archive-windows-amd64 (28 MB)
  • archive-windows-arm64 (24 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (21 MB)
  • installer-dmg-darwin-arm64 (19 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 26951096478 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@Dumbris
Dumbris merged commit 608bdc6 into main Jun 4, 2026
37 checks passed
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.

2 participants