Skip to content

Admin, Apps: Add custom MCP, the same form as Connections - #2126

Merged
davidmckayv merged 1 commit into
mainfrom
admin-apps-add-server
Nov 24, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
admin-apps-add-server

Conversation

@davidmckayv

@davidmckayv davidmckayv commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • Back reads "Apps" and Cancel returns to Apps.
  • A server added with nothing more to do lands back on Admin → Apps, listed under Connected.
  • A server that signs people in hands its sign-in back to the server's Apps page, not to Connections.

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's action slot and the same Button size="sm" variant="outline" with IconPlus that 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. On origin/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 through apps-api.ts.
  • Checked by hand on a local OpenBot (its own database, a real MCP server on 127.0.0.1) in Chrome and headless WebKit. Both added a server from Admin → Apps and landed back on Apps with it listed ("1 tool · no Bots").

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
davidmckayv force-pushed the admin-apps-add-server branch from 38d5c49 to 4b96acb Compare November 24, 2026 16:44
@davidmckayv
davidmckayv merged commit 887e6d7 into main Nov 24, 2026
23 checks passed
@davidmckayv
davidmckayv deleted the admin-apps-add-server branch November 24, 2026 17:03
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