Skip to content

ui: hide Models and MCP behind settings, off by default - #32527

Merged
allozaur merged 2 commits into
ggml-org:masterfrom
erusev:ui-hide-models-mcp
Nov 18, 2026
Merged

allozaur merged 2 commits into
ggml-org:masterfrom
erusev:ui-hide-models-mcp

Conversation

@erusev

@erusev erusev commented Nov 18, 2026

Copy link
Copy Markdown
Member

Overview

As discussed with @allozaur, this hides Models and MCP by default, behind two new settings in General: "Show Models" and "Show MCP". The WebUI is often the first thing people new to local models see, and most of them don't need a models manager or know what MCP is.

People who already have MCP servers saved or Discover Models on keep what they had. MCP servers keep working while MCP is hidden -- the setting only hides the way to manage them.

Requirements

Two new settings in General, "Show Models" and "Show MCP", both off by default, like "Enable Discover Models". The WebUI is often the first thing people new to local models see, and most of them don't need a models manager or know what MCP is.

"Show MCP" only hides the way to manage MCP; servers already added keep working. Turning MCP off for real would mean gating every place that reads the server list (health checks, tool groups, prompts, avatars). Anyone who already has servers saved gets MCP shown, so they don't lose the way to manage them.

With Models hidden, every entry point to the manager goes: the sidebar, search, the shortcut and "Manage models" in the selector -- it opens the same full manager. The /models page still opens by its URL, which apps link to. On a single-model server the selector chip used to open the manager; with it hidden, the chip is a plain label.
Discover opens only from the Models page (its header button and the manager's row actions), so with Models hidden by default, checking Discover showed nothing. Checking Discover now shows Models too and locks its checkbox, the same way it already locks the Hugging Face Hub API one; unchecking Discover leaves Models as it is. Saved configs with Discover on get Models turned on when they load, so people who use Discover don't lose it.
@erusev
erusev requested a review from a team as a code owner November 18, 2026 09:55
@allozaur
allozaur merged commit 10f173b into ggml-org:master Nov 18, 2026
7 of 8 checks passed
allozaur added a commit to allozaur/llama.cpp that referenced this pull request Nov 18, 2026
…(npx) and ggml-org#32527 (Show Models / Show MCP) merged upstream
@erusev
erusev deleted the ui-hide-models-mcp branch November 18, 2026 12:53
allozaur added a commit to allozaur/llama.cpp that referenced this pull request Nov 18, 2026
…hind settings

Since ggml-org#32527, Models and MCP are hidden until "Show Models" and "Show MCP" are
on. The MCP extension's tests rendered the sidebar, the tools panel and the search commands
expecting both, so they switch the settings on first, as the nested-surfaces test does. Two new
cases check the hidden side: the MCP entry leaves the sidebar and the tools panel says nothing
about MCP servers while "Show MCP" is off.

Assisted-by: Claude (Opus 5.5 Medium)
Annieren pushed a commit to Annieren/llama.cpp-upstream that referenced this pull request Nov 23, 2026
* ui: hide Models and MCP behind settings, off by default

Two new settings in General, "Show Models" and "Show MCP", both off by default, like "Enable Discover Models". The WebUI is often the first thing people new to local models see, and most of them don't need a models manager or know what MCP is.

"Show MCP" only hides the way to manage MCP; servers already added keep working. Turning MCP off for real would mean gating every place that reads the server list (health checks, tool groups, prompts, avatars). Anyone who already has servers saved gets MCP shown, so they don't lose the way to manage them.

With Models hidden, every entry point to the manager goes: the sidebar, search, the shortcut and "Manage models" in the selector -- it opens the same full manager. The /models page still opens by its URL, which apps link to. On a single-model server the selector chip used to open the manager; with it hidden, the chip is a plain label.

* ui: keep Models shown while Discover Models is on

Discover opens only from the Models page (its header button and the manager's row actions), so with Models hidden by default, checking Discover showed nothing. Checking Discover now shows Models too and locks its checkbox, the same way it already locks the Hugging Face Hub API one; unchecking Discover leaves Models as it is. Saved configs with Discover on get Models turned on when they load, so people who use Discover don't lose it.
Nindaleth pushed a commit to Nindaleth/llama.cpp that referenced this pull request Nov 26, 2026
* ui: hide Models and MCP behind settings, off by default

Two new settings in General, "Show Models" and "Show MCP", both off by default, like "Enable Discover Models". The WebUI is often the first thing people new to local models see, and most of them don't need a models manager or know what MCP is.

"Show MCP" only hides the way to manage MCP; servers already added keep working. Turning MCP off for real would mean gating every place that reads the server list (health checks, tool groups, prompts, avatars). Anyone who already has servers saved gets MCP shown, so they don't lose the way to manage them.

With Models hidden, every entry point to the manager goes: the sidebar, search, the shortcut and "Manage models" in the selector -- it opens the same full manager. The /models page still opens by its URL, which apps link to. On a single-model server the selector chip used to open the manager; with it hidden, the chip is a plain label.

* ui: keep Models shown while Discover Models is on

Discover opens only from the Models page (its header button and the manager's row actions), so with Models hidden by default, checking Discover showed nothing. Checking Discover now shows Models too and locks its checkbox, the same way it already locks the Hugging Face Hub API one; unchecking Discover leaves Models as it is. Saved configs with Discover on get Models turned on when they load, so people who use Discover don't lose it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants