Skip to content

chat: Improve uninstalled MCP server details - #333664

Merged
Jessie Houghton (houghj16) merged 6 commits into
mainfrom
agents/mcp-server-installation-fix
Sep 1, 2026
Merged

chat: Improve uninstalled MCP server details#333664
Jessie Houghton (houghj16) merged 6 commits into
mainfrom
agents/mcp-server-installation-fix

Conversation

@houghj16

Copy link
Copy Markdown
Contributor

Fixes #333556

Summary

  • explain that MCP server details become available after the server is installed
  • avoid automatically focusing or permanently outlining the details message when a server is selected
  • align the empty-state message with the detail title using spacing and corner-radius design tokens
  • resolve the gallery manifest initialization race that could leave the Featured section empty after startup

Screenshots

Before After
Before: featured MCP server showing no definition found After: uninstalled MCP server explaining when details become available

Validation

  • client type-check
  • targeted ESLint and stylelint
  • staged hygiene checks
  • 39 targeted MCP list widget tests

Explain when MCP server details become available, avoid moving focus on pointer activation, and align the empty state styling with the detail header. Retry gallery loading when the configured manifest becomes available so the Featured section does not remain empty after startup. Fixes #333556.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

Review tier: Balanced
Findings: 1 High severity · 3 Medium severity · 1 Low severity

New issues introduced by this change (5)
Severity Finding
High severity src/​vs/​workbench/​contrib/​chat/​browser/​aiCustomization/​mcpListWidget.ts — This required service is not registered by the component-fixture setups that construct…
Medium severity src/​vs/​workbench/​contrib/​chat/​browser/​aiCustomization/​mcpListWidget.ts — Subscribing here does not initialize the manifest service. The browser/no-remote…
Medium severity src/​vs/​workbench/​contrib/​chat/​browser/​aiCustomization/​mcpListWidget.ts — A manifest update while a marketplace search is active cancels that search and clears its results,…
Medium severity src/​vs/​workbench/​contrib/​chat/​browser/​aiCustomization/​aiCustomizationManagementEditor.ts — Removing the only focus transfer leaves keyboard focus on the activated server button just as its…
Low severity src/​vs/​workbench/​contrib/​chat/​browser/​aiCustomization/​media/​aiCustomizationManagement.css — This offset does not actually align the message with the detail title described in the PR. In the…
What changed in this PR

Improves MCP details for uninstalled servers and addresses gallery startup loading.

Changes:

  • Adds installation-aware detail messaging and visual coverage.
  • Restyles the empty detail state and removes automatic message focus.
  • Refreshes gallery data when the manifest changes.
File Description
aiCustomizationManagementEditor.fixture.ts Adds an uninstalled-server fixture.
aiCustomizationManagement.css Updates empty-state spacing and styling.
mcpListWidget.ts Handles install state and manifest changes.
embeddedMcpServerDetail.ts Shows installation-specific detail messaging.
aiCustomizationManagementEditor.ts Changes detail focus behavior.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.ts Outdated
Initialize and refresh gallery state reliably, restore accessible focus navigation, align detail messaging with shared geometry, and register gallery manifest mocks for affected fixtures.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Create the MCP detail Back control as an HTMLButtonElement so its stored focus target satisfies the client type check.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 06678254 Current: 4ddacc83

Changed (4)

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailWorkspace/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailWorkspace/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailUser/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailUser/Light
Before After
before after

1 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details.

Added (2)

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailUninstalled/Dark

current

chat/aiCustomizations/aiCustomizationManagementEditor/EmbeddedMcpDetailUninstalled/Light

current

Add the Ubuntu-generated blocks-ci hashes for the new uninstalled MCP detail fixture in dark and light themes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@houghj16
Jessie Houghton (houghj16) merged commit bf1d0a2 into main Sep 1, 2026
67 of 82 checks passed
@houghj16
Jessie Houghton (houghj16) deleted the agents/mcp-server-installation-fix branch September 1, 2026 19:29
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Sep 1, 2026
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.

Clicking any of the featured MCPs servers leads to no definition found

3 participants