Use Claude Code in VS Code changedvs-code
Upstream edited this page at 28 Nov 2026 23:56 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 29 Nov 2026 00:07 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−3removed
From line
951
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits99to this page, all time
The whole hunk
from line 951, old and new numbered
/
from line 951
951951
952952Hooks and permission rules see the chat panel's diagnostics tool as `mcp__claude-vscode__getDiagnostics`. To cover diagnostics in both the CLI and the chat panel, name both `mcp__ide__getDiagnostics` and `mcp__claude-vscode__getDiagnostics` in your hook or rule.
953953
954This `settings.json` example denies both tools:
954This `settings.json` example blocks both tools by name with [deny rules](https://code.claude.com/docs/en/permissions.md#mcp):
955955
956956```json theme={null}
957957{
from line 963
963963 }
964964}
965965```
966
967A `Read` deny rule covers neither tool, so block them by name with a [deny rule](https://code.claude.com/docs/en/permissions.md#mcp) as the example does.
968966
969967**Jupyter execution always asks first.** `mcp__ide__executeCode` can't run anything silently. Each call goes through these steps:
970968
No line in this hunk matches that.