[FEATURE] Option to disable IDE MCP tools (getDiagnostics, executeCode)

Resolved 💬 3 comments Opened Jan 29, 2026 by niktor76 Closed Feb 2, 2026

Problem Statement

When running Claude Code in the VS Code integrated terminal, the extension automatically injects IDE MCP tools:

  • mcp__ide__getDiagnostics (111 tokens)
  • mcp__ide__executeCode (182 tokens)

These tools add ~300 tokens overhead to every session. For users who don't need Jupyter kernel execution or IDE diagnostics access, there's currently no way to disable them.

The tools don't appear in /mcp server list and cannot be disabled via /mcp disable ide.

Proposed Solution

Add a VS Code extension setting to disable IDE MCP tools:

{
  "claudeCode.ide.mcp.enabled": false
}

Or alternatively, make them appear in /mcp so they can be disabled with /mcp disable ide.

Alternative Solutions

  • Running Claude from an external terminal (outside VS Code) - but this loses IDE integration features like file focus and selection context
  • The workaround is not ideal because it's all-or-nothing

Priority

Medium - Would be very helpful

Feature Category

MCP server integration

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗