feat: add filter sidebar with faceted filtering to MCP clients page - #4840
Merged
Pratham-Mishra04 merged 1 commit intoJul 2, 2026
Merged
Conversation
Contributor
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR adds multi-facet filtering to the MCP clients page, with sidebar controls, URL/query-state syncing, API parameter forwarding, and table updates for filter-aware empty states and layout. ChangesMCP clients filtering
Estimated code review effort: 3 (Moderate) | ~30 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant MCPServersPage
participant MCPClientsFilterSidebar
participant useGetMCPClientsQuery
participant mcpApi
User->>MCPServersPage: change URL-backed filter state
MCPServersPage->>MCPClientsFilterSidebar: pass current filters and reset handler
User->>MCPClientsFilterSidebar: select facets or virtual keys
MCPClientsFilterSidebar->>MCPServersPage: onFiltersChange
MCPServersPage->>useGetMCPClientsQuery: send filter-derived params
useGetMCPClientsQuery->>mcpApi: request /mcp/clients
mcpApi-->>MCPServersPage: filtered client list
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jul 2, 2026
Merged
impoiler
force-pushed
the
07-02-feat_mcp_clients_filters_support_frontend
branch
from
July 2, 2026 07:30
46c88b0 to
b186756
Compare
impoiler
marked this pull request as ready for review
July 2, 2026 07:38
Contributor
impoiler
force-pushed
the
07-02-feat_mcp_clients_filters_support_backend
branch
from
July 2, 2026 07:56
1745ae6 to
52f2fa1
Compare
impoiler
force-pushed
the
07-02-feat_mcp_clients_filters_support_frontend
branch
from
July 2, 2026 07:56
b186756 to
43c4f41
Compare
impoiler
force-pushed
the
07-02-feat_mcp_clients_filters_support_frontend
branch
from
July 2, 2026 09:38
43c4f41 to
d3672b6
Compare
impoiler
force-pushed
the
07-02-feat_mcp_clients_filters_support_backend
branch
2 times, most recently
from
July 2, 2026 10:01
7cdb87a to
af49b62
Compare
impoiler
force-pushed
the
07-02-feat_mcp_clients_filters_support_frontend
branch
from
July 2, 2026 10:01
d3672b6 to
010a3aa
Compare
Collaborator
Merge activity
|
Pratham-Mishra04
changed the base branch from
07-02-feat_mcp_clients_filters_support_backend
to
graphite-base/4840
July 2, 2026 10:09
Pratham-Mishra04
dismissed
coderabbitai[bot]’s stale review
July 2, 2026 10:09
The base branch was changed.
Pratham-Mishra04
force-pushed
the
07-02-feat_mcp_clients_filters_support_frontend
branch
from
July 2, 2026 10:10
010a3aa to
c0bb8c4
Compare
Pratham-Mishra04
deleted the
07-02-feat_mcp_clients_filters_support_frontend
branch
July 2, 2026 10:12
yangtuooc
added a commit
to yangtuooc/bifrost
that referenced
this pull request
Jul 2, 2026
* upstream/dev: feat: add pagination and filtering to MCP clients list endpoint (maximhq#4841) feat: add filter sidebar with faceted filtering to MCP clients page (maximhq#4840) feat: add connection_type, auth_type, state, and virtual_key filters to MCP clients list (maximhq#4839) # Conflicts: # ui/app/workspace/mcp-registry/page.tsx # ui/app/workspace/mcp-registry/views/mcpClientsTable.tsx
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.

Summary
Adds a collapsible filter sidebar to the MCP Registry page, enabling users to narrow down MCP clients by connection type, auth type, connection state, code mode, enabled/disabled status, and virtual key access. Filter state is persisted in the URL via query parameters so results are shareable and survive page refreshes.
Changes
MCPClientsFilterSidebarwith collapsible sections for Connection Type, Auth Type, State, Code Mode, Status, and VK Access filters. Collapse state is persisted tolocalStorage.VKAccessFilterSectionthat fetches virtual keys server-side with a debounced search input, supporting both an "All virtual keys" pinned option and individual VK selection.code_mode,status) are modeled as string arrays so all checkbox sections share a uniform data model; a single selection resolves to a concrete boolean filter, while zero or both selections produce no filter.page.tsxto includeconnection_types,auth_types,states,code_mode,status,only_all_vks, andvirtual_keysarray params.totalCount === 0, the page renders full-width without the sidebar to preserve the onboarding empty-state CTA.GetMCPClientsParamsand themcpApiquery builder to forward the new filter params (connection_type,auth_type,state,virtual_keys,code_mode,disabled,all_virtual_keys) to the backend.filtersActiveprop toMCPClientsTableso the empty-state logic correctly accounts for active sidebar filters.table-fixedlayout to the MCP clients table to prevent layout shift when the sidebar is present, and added truncation to the Name cell.Type of change
Affected areas
How to test
Screenshots/Recordings
Breaking changes
Related issues
Link related issues here.
Security considerations
No new auth surfaces introduced. Virtual key data fetched through the existing authenticated
useGetVirtualKeysQueryhook.Checklist
docs/contributing/README.mdand followed the guidelines