feat: bring back the MCP overview plugin banner with a membership table
AD
22m ago+501+501+012345678901234567890123456789-378-378-012345678901234567890123456789
Summary
- MCP server Overview: brings back the plugin banner that #9215 replaced with a one-line status. The banner is restored as it was: the plugin picker, Publish, the Install section, and the client artwork.
- Membership detail: the long "X · via role Y, which can use all servers, …" subtitle is gone. The headline now reads "Published to N plugins ⓘ". Hovering over it opens a table with Plugin | Via | Access. Via links each role to its edit page through
RoleLink, and Access is in mono. A plugin with several routes gets one row per route. People who aren't org admins can't see role matches, so their Via and Access show "—". - Settings → Plugins tile: shows the same client artwork on the right.
- Kept from #9215: the View logs button next to the time range.
Motivation
The one-line status lost the banner's context and controls. The old subtitle was the only place that explained how a server got into each plugin, through which role and with what access, and that matters. With several role plugins it ran to a paragraph, so this PR moves it into a table behind the count.
Gutternote review steps
- Sidebar → MCP → open any MCP server (
/<org>/projects/<project>/mcp/<server>) → Overview. You need the plugin edit permission, and an org admin role to see role matches. - If the server is in plugins, the banner at the top reads "Published to N plugins ⓘ", with the picker, Update, and the Install the plugin section below it.
- Hover over "N plugins". The table lists each plugin, the role it came through as a link, and the access in mono. Move onto a role name and click it: the role's edit page opens.
- Open Settings → Plugins. The client artwork sits on the right of the tile.
Also check: a server in no plugin (amber "Not published to any plugin" with the explainer), a narrow viewport (the artwork hides), and dark mode.
Summary by cubic
Restores the MCP server Overview plugin banner, which #9215 had reduced to a one-line status, and moves membership details into a table behind the "Published to N plugins" headline.
- The banner brings back the plugin picker, Publish, the Install section, and client artwork; the View logs button from #9215 stays.
- Hovering or focusing the count opens a popover table with Plugin | Via | Access columns; Via links each role to its edit page, and Access shows the grant in mono.
- Role matches are only shown to org admins and only after they load, so other users see "—" in Via and Access.
- The Settings → Plugins tile shows the same client artwork.
- Removes
PluginDistributionLineand folds its logic intoPluginStatusBanner, which now serves both the banner and settings variants.
🚀 Preview Environment (PR #9291)
Preview URL: https://pr-9291.dev.getgram.ai
| Component | Status | Details | Updated (UTC) |
|---|---|---|---|
| ❌ Database | Behind main | Rebase onto main: branch lacks migration(s) 20261119213323 | 2026-11-22 04:19:24. |
| ✅ Images | Available | Container images ready | 2026-11-22 04:20:21. |
Gram Preview Bot