feat(mcp-optimizer): sunset deprecation banner and hide experimental toggle#1910
Merged
feat(mcp-optimizer): sunset deprecation banner and hide experimental toggle#1910
Conversation
fd1eee8 to
3a4280c
Compare
3a4280c to
d778258
Compare
kantord
reviewed
Apr 7, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR begins sunsetting the MCP Optimizer feature in the desktop app by introducing a deprecation banner on MCP Server-related routes, hiding the experimental toggle for users who never enabled it, and adjusting layout sizing/offsets to account for the banner.
Changes:
- Add a new MCP Optimizer sunset/deprecation banner that conditionally renders based on route + feature flag.
- Hide the META_OPTIMIZER experimental toggle unless it’s already enabled.
- Adjust MCP Servers sidebar and main content layout to account for the banner height.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
renderer/src/routes/__root.tsx |
Adds the sunset banner to the app shell (when nav is visible). |
renderer/src/features/mcp-servers/components/mcp-servers-sidebar.tsx |
Adjusts fixed sidebar top offset when the banner is visible. |
renderer/src/common/lib/constants.ts |
Introduces constants for banner routes and assumed banner height. |
renderer/src/common/hooks/use-mcp-optimizer-banner-visible.ts |
Adds shared logic to decide when the banner should be visible. |
renderer/src/common/hooks/use-experimental-features.tsx |
Filters out the META_OPTIMIZER experimental toggle unless enabled. |
renderer/src/common/components/mcp-optimizer-sunset-banner.tsx |
Implements the new sunset banner UI and outbound link. |
renderer/src/common/components/layout/main.tsx |
Adjusts main content height to account for the banner when visible. |
kantord
reviewed
Apr 7, 2026
kantord
previously approved these changes
Apr 7, 2026
peppescg
reviewed
Apr 7, 2026
peppescg
approved these changes
Apr 7, 2026
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.
MCP Optimizer is being removed from the desktop app. This PR starts the sunset by: