[Feature] No way to authenticate an MCP server from the UI (and /mcp is not available in chat)

Author: jjscarafiaCreated Aug 18, 2026Updated Sep 28, 2026
LabelsNP

First of all, thanks for this project — we run it as the main interface for a team of ~13 people (self-hosted, one container per user), and the Settings → MCP Servers screen has been really useful for us. This is feedback from that deployment plus a feature request.

Is your feature request related to a problem? Please describe.

We ship a default MCP server to every user's workspace at provisioning time (an HTTP MCP for our internal tooling), and that part works great — it shows up right away under Settings → Agents → MCP Servers.

The problem is the step after that: the server is registered, but each user still has to authenticate against it, and there is no way to do that from the UI. The server card is informational only — the name, the transport badge, the URL, and edit/delete. Clicking it doesn't do anything, so there's no visible signal that authentication is even pending, let alone a way to complete it.

What we ended up doing is: open a shell, start claude in a throwaway session, and run /mcp there to get the OAuth flow. It works, but it's not something we can ask non-developers on the team to do — and they're exactly the users we brought onto the web UI in the first place.

The second half of the problem is that /mcp isn't available in the chat either. From what I could see, the UI implements its own set of builtins (/help, /models, /cost, /memory, /config, /status) in server/routes/commands.js, and since chat runs through the Agent SDK rather than the interactive CLI, the CLI's own /mcp never reaches it. So the terminal really is the only path today.

Describe the solution you'd like

Anything that makes authentication reachable from the UI would solve this for us. Roughly in order of how useful they'd be to us:

  1. A connection status + "Authenticate" action on the MCP server card. Even just showing connected / needs auth / failed would be a big improvement on its own — right now there's no feedback at all until the agent tries to use a tool and fails. An action button that kicks off the OAuth flow (or, at minimum, opens the workspace terminal with claude and /mcp already primed) would close the loop.
  2. /mcp as a builtin in chat, alongside the existing ones, so users can at least inspect and connect servers where they already are.

One caveat worth mentioning for anyone implementing the OAuth flow in a self-hosted setup like ours: the OAuth callback lands on localhost inside the user's container, which the user's browser can't reach. So a first-class implementation would probably need the callback proxied through the UI server, or device-code support.

Additional context

I had a look through the open PRs and issues before filing and couldn't find anything covering this — #18 covered the CRUD side of MCP management, and the OAuth-related PRs are all about authenticating the CLI itself rather than an MCP server. Apologies if I missed something.

Happy to help test any of this against a real multi-user deployment, and glad to contribute a PR for the status indicator if that direction sounds right to you.