Skip to content

[Feat] Add option to hide MCP descriptions - #1489

Draft
ghost wants to merge 1 commit into
mainfrom
feature/hide-mcp-descriptions-35v35jkbti0c3
Draft

ghost wants to merge 1 commit into
mainfrom
feature/hide-mcp-descriptions-35v35jkbti0c3

Conversation

@ghost

@ghost ghost commented Sep 1, 2026 •

Copy link
Copy Markdown

​Opened on behalf of @taltas. Follow up by mentioning @roomote, in the web UI, or in Discord.

What changed

  • Added a buffered Show MCP descriptions setting to MCP settings, persisted through the existing global settings mechanism and defaulted on to preserve current behavior.
  • Applied the setting to MCP-supplied tool and resource/template descriptions in both MCP settings and chat.
  • Kept names, resource identifiers and MIME types, parameter descriptions and schemas, server instructions, arguments, results, status, and errors visible.
  • Added complete locale coverage and focused tests for schema validation, defaulting, persistence, state posting, buffered save behavior, and shown/hidden rendering.

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.ts from packages/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.tsx from webview-ui: 4 files, 35 tests passed.
  • pnpm exec vitest run core/webview/__tests__/webviewMessageHandler.spec.ts core/webview/__tests__/ClineProvider.spec.ts from src: 2 files, 239 tests passed.
  • node scripts/find-missing-translations.js: all translations complete.
  • pnpm check-types: 11 tasks passed.
  • pnpm lint via 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.

@ghost ghost assigned taltas Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Review status

Thanks for contributing. This comment tracks the review sequence and the next action.

Current step: Resolve the merge conflicts. The review sequence resumes after the branch is mergeable.

Review-state labels are managed by this workflow; do not edit them manually. community-approved is managed the same way — do not add or remove it manually. It signals a fresh community code approval for the current head as an advisory priority only; maintainer review is still required.

@codecov

codecov Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

@github-actions github-actions Bot added the has-conflicts PR has merge conflicts with the base branch label Sep 10, 2026
@coderabbitai

coderabbitai Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1
  • coderabbit-review-active

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added has-conflicts PR has merge conflicts with the base branch and removed has-conflicts PR has merge conflicts with the base branch labels Sep 11, 2026
@github-actions github-actions Bot added has-conflicts PR has merge conflicts with the base branch and removed has-conflicts PR has merge conflicts with the base branch labels Sep 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR has been awaiting author changes for 14 days and will be automatically closed in 7 days. Please address the review comments or leave a comment if you need more time.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author PR is waiting for the author to address requested changes has-conflicts PR has merge conflicts with the base branch stale-awaiting-author PR is stale while waiting for requested author changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant