Stefan Walcz
95034f1147
feat(ui): offer model MCP servers to non-admin chat users ( #12660 )
...
The chat page derived MCP availability from GET
/api/models/config-json/:name, which is admin-only. With auth enabled a
regular user holding the `mcp` feature (default ON) therefore never saw
the MCP Servers/Prompts/Resources tabs, although every endpoint behind
them (/v1/mcp/servers|prompts|resources/:model) is gated only by that
feature.
/api/models/capabilities, which the chat already loads for its model
picker and which honours the per-user model allowlist, now reports
`mcp: true` for models whose config declares remote or stdio MCP servers
(never when MCP is disabled on the instance). For non-admins the chat
combines that flag with hasFeature('mcp') and clears a stale MCP
selection otherwise. Admins keep the config-json path unchanged; the
model info panel and automatic context size stay admin-only on purpose,
since they need the full model config.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Stefan Walcz <stefan.walcz@walcz.de >
2026-10-19 23:43:47 +02:00
..
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-08-16 11:57:31 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-19 23:36:08 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-15 15:38:30 +02:00
2026-10-18 21:52:59 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-19 22:52:07 +02:00
2026-10-10 08:30:02 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-18 21:52:59 +02:00
2026-10-08 22:03:07 +02:00
2026-10-15 15:38:30 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-05-28 13:43:15 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-13 08:27:24 +00:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-09-27 07:42:21 +00:00
2026-09-27 07:42:21 +00:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-10 08:30:02 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-10 08:29:48 +02:00
2026-10-10 08:29:48 +02:00
2026-10-08 22:03:07 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-16 11:57:31 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-05-26 22:06:10 +02:00
2026-10-19 23:43:47 +02:00
2026-10-19 18:16:20 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-07-28 19:33:48 +02:00
2026-06-22 18:26:19 +02:00
2026-08-16 11:57:31 +02:00
2026-10-10 08:30:02 +02:00
2026-10-08 22:03:07 +02:00
2026-10-10 08:30:02 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-07-28 19:33:48 +02:00
2026-09-11 16:54:56 +02:00
2026-10-04 09:34:21 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-19 18:16:20 +02:00
2026-08-19 08:45:59 +02:00
2026-10-08 22:03:07 +02:00
2026-10-11 00:30:09 +02:00
2026-10-11 00:30:09 +02:00
2026-10-08 22:03:07 +02:00
2026-08-03 12:16:09 +02:00
2026-10-10 08:30:02 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-08-03 00:16:08 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-07-22 22:51:25 +02:00
2026-07-22 22:51:25 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-10 08:30:02 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-05-28 13:43:15 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00