[Feat] Add option to hide MCP descriptions - #1489
Draft
zoomote[bot] wants to merge 1 commit into
Draft
Conversation
Contributor
Review processThis PR was opened by an automated account. A human maintainer must verify the change intent, provenance, and validation before merging.
Current step: Mark the PR ready to start CodeRabbit after required CI passes. |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
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.
What changed
Show MCP descriptionssetting to MCP settings, persisted through the existing global settings mechanism and defaulted on to preserve current behavior.Why this change was made
Verbose descriptions supplied by MCP servers can add substantial visual noise. Users can now reduce that clutter without disabling MCP capabilities or hiding functional metadata.
Impact
Existing users continue to see descriptions unless they turn the setting off. Saved changes update MCP settings immediately through cached state and chat through the refreshed extension state after Save.
Browser screenshots are not included because Zoo-Code's changed surface runs only inside the VS Code F5 extension host, while this task's browser target exposes only the documentation site.
Related PRs
Validation
pnpm exec vitest run src/__tests__/global-settings.test.tsfrompackages/types: 1 file, 6 tests passed.pnpm exec vitest run src/components/mcp/__tests__/McpToolRow.spec.tsx src/components/mcp/__tests__/McpResourceRow.spec.tsx src/components/mcp/__tests__/McpView.spec.tsx src/components/settings/__tests__/SettingsView.unsaved-changes.spec.tsxfromwebview-ui: 4 files, 35 tests passed.pnpm exec vitest run core/webview/__tests__/webviewMessageHandler.spec.ts core/webview/__tests__/ClineProvider.spec.tsfromsrc: 2 files, 239 tests passed.node scripts/find-missing-translations.js: all translations complete.pnpm check-types: 11 tasks passed.pnpm lintvia the commit hook: 11 tasks passed.pnpm test: 464 test files and 7,951 tests passed; 4 files and 39 tests skipped.git diff --check origin/main...HEAD: passed.