style(ui): match MCP Servers tabs to the dashboard's line tab pattern - #34685
Merged
yuneng-berri merged 2 commits intoJul 27, 2026
Merged
Conversation
The MCP Servers page was the only page-level tab bar using the segmented (pill) TabsList stretched with w-full, which rendered a full-width grey bar with a lone pill on the left. Every other page-level tab bar (budgets, vector stores, access groups, organizations, routing groups, API reference) uses the underlined line variant, so use that here too.
…itellm_/mcp-tabs-styling-dd340c
Contributor
Greptile SummaryUpdates the MCP Servers tab bar to use the dashboard’s shared line-tab styling and simplifies the Submitted MCPs badge layout Confidence Score: 5/5The PR appears safe to merge with no actionable regressions identified The selected Tabs variant is supported by the shared primitive, the class pattern matches existing dashboard tab bars, and moving the badge into the trigger preserves the existing inline-flex layout
|
| Filename | Overview |
|---|---|
| ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mcp_servers.tsx | Applies the established line-tab classes to the MCP Servers tabs without changing tab behavior or content |
Reviews (1): Last reviewed commit: "Merge remote-tracking branch 'origin/lit..." | Re-trigger Greptile
ryan-crabbe-berri
approved these changes
Jul 26, 2026
yuneng-berri
merged commit Jul 27, 2026
63d6d8a
into
litellm_internal_staging
74 of 75 checks passed
Merged
5 tasks
stvnksslr
pushed a commit
to stvnksslr/litellm
that referenced
this pull request
Aug 3, 2026
…ng-dd340c style(ui): match MCP Servers tabs to the dashboard's line tab pattern (cherry picked from commit 63d6d8a)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLDR
Problem this solves:
How it solves it:
linevariantRelevant issues
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaito re-request a review after pushing changes)No new tests: this is a class-only change with no behavior or markup-structure change, so the only test I could write would assert on Tailwind class strings, which fails the "would it catch a real break" bar. The existing
mcp_servers.test.tsxsuite (6 tests) passes unchanged before and afterDelays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
Captured against a local proxy on :4000 with the dashboard dev server on :3001, signed in as a proxy admin with 7 MCP servers configured, at 1440x900. Both shots are the same session; the only difference between them is the tab CSS.
Steps to reproduce locally:
python litellm/proxy/proxy_cli.py --config litellm/proxy/dev_config.yaml --detailed_debug --reload --use_v2_migration_resolver 2>&1 | tee litellm.lognpm run devinui/litellm-dashboard215f0558): the tab strip is a full-width grey bar with a single white pill around "All Servers"2ce59007): the tab strip is a left-aligned row over a single bottom rule, with "All Servers" underlinedType
🧹 Refactoring
Changes
The MCP Servers page was the only page-level tab bar still using the default (segmented)
TabsListstretched withw-full. That variant carriesbg-mutedand is built to hug its content viaw-fit, so forcing it full-width renders the muted background across the whole page with one small active pill parked on the left.Every other page-level tab bar in the dashboard already uses the
linevariant withh-auto w-full justify-start rounded-none border-b p-0on the list andflex-none rounded-none px-4 py-2on each trigger; budgets, vector stores, access groups, organizations, routing groups, API reference and the chat MCP apps panel all share it. The MCP page now does the same.One small cleanup in the same element: the
<span className="flex items-center gap-2">that wrapped the "Submitted MCPs" label and itsNewBadgeis gone, replaced bygap-2on the trigger itself.TabsTriggeris already aninline-flexrow, so the wrapper was doing nothing the trigger doesn't already do; this matches how access groups renders badges inside triggers.Final Attestation