Repository navigation
Admin, Apps: Add custom MCP, the same form as Connections - #2126
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 24, 2026 16:23
Adding an MCP server by its address was hard to find: an admin looked for it under Admin, Apps, where apps are set up, and it was only on Connections. Apps now has Add custom MCP in its action slot, shown to exactly the people Connections shows it to (one shared check, mayAddApps). It opens the same add form at /admin/plugins/new; Back and Cancel return to Apps, and a server added with nothing more to do lands back on Apps, listed under Connected. Connections' button, the add page's heading and its submit button now read "Add custom MCP" too, so both entry points say the same thing.
davidmckayv
force-pushed
the
admin-apps-add-server
branch
from
November 24, 2026 16:44
38d5c49 to
4b96acb
Compare
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.
What
Admin → Apps now has Add custom MCP in the page's action slot, the same place Connections puts its button. It opens the same add form Connections uses (
AddServerPage), at/admin/plugins/new:It is shown to exactly the people Connections shows it to: an admin or owner of the organization, or the one person of a personal OpenBot. Both pages now ask one shared check,
mayAddApps. A member sees no button.Rename: "Add server" is now "Add custom MCP" everywhere it appears: Connections' button, Admin → Apps' button, the add page's heading and its submit button. The reporter asked for this so both entry points say the same thing. Only the words changed; nothing moved.
Why
Reported in dogfooding: adding a custom MCP server was very hard to find. An admin looked under Admin → Apps, where apps are set up, and it was only on Connections.
Design
There are no new components, styles or spacing. It reuses
PageShell'sactionslot and the sameButton size="sm" variant="outline"withIconPlusthat Connections uses. Before and after screenshots of Admin → Apps, in Chrome and WebKit, are identical apart from the new button. No API change.Tests
app/tests/admin-apps-add-server-entry.test.tsx(regression): Apps offers Add custom MCP to an admin, an owner and the personal edition's person, pointing at/admin/plugins/new, and offers none to a member. Onorigin/main, 3 tests fail (no button) and 1 passes (member); on this branch, all pass.app/tests/admin-apps-add-server.test.tsx(flow): an admin opens Apps, presses Add custom MCP, adds a server by name and address, and lands back on Apps with it listed under Connected. The one write is checked as{ from: "address", title, url }. Cancel returns to Apps, and a member sees no entry. The apps API is answered in its own shapes throughapps-api.ts.