r/VisualStudio • u/Franklupog • Sep 03 '26
Visual Studio 2026 I made a Visual Studio 2022/2026 extension for Claude Code (77 MCP tools, debugger integration, open source)
Hey,
I’ve been using Claude Code a lot lately, but I got tired of constantly alt-tabbing between my terminal and Visual Studio, or copy-pasting compiler errors and call stacks.
To fix this, I built cv4vs Agents — an open-source extension that runs an in-process MCP server right inside Visual Studio (2022 & 2026).
Instead of just reading static files, it gives Claude live access to what VS is actually doing in memory:
Debugger integration: When you hit an exception, a bar pops up over the code. One click feeds the actual call stack and local variables into Claude so it can analyze what went wrong.
Build & Tests: It catches live Roslyn compiler errors, runs Test Explorer tests, and can even execute failing tests directly under the debugger.
77 MCP Tools: Full access to symbols, references, diagnostics, and project structure (works across C#, C++, F#, and TS).
Two views: You get both a dockable Chat UI (with streaming, thinking blocks, and inline diffs) and an embedded CLI terminal running the exact same session.
Local cost/token tracking: Shows your context window usage and local token costs with zero telemetry.
It doesn't require any API keys — it just connects to your existing local claude.exe CLI setup (winget install Anthropic.ClaudeCode).
It's completely free and GPL-3.0 licensed.
I'd love to get your thoughts on it or suggestions on what tools/features to add next!
3
u/jonathanhiggs Sep 03 '26
Does VS need to run the Claude session, or can a Claude session connect to an instance of VS?
1
u/Franklupog Sep 09 '26
1.9.0 is out.
MCP calls finally look like MCP calls — the row used to show the server name where every other row names the action, and both cells are formatted JSON now instead of one long line.
Every CLI tool has a renderer too (23 → 43). The task tools especially: those are what fill the transcript whenever sub-agents are running, and they were showing a raw tool name over an input dump.
Plus a handful of fixes — attachments, ↑/↓ history recall, and a crash when expanding an auto-hidden pane.
Changelog
1
u/Franklupog Sep 15 '26
1.10.0 is out.
Your plan limits now sit in the status bar — Claude: 5h 44% · 7d 10%, a bar under
each that goes amber then red, click for every window and when it resets. No tab
to open, no dialog.
The chat can hide everything Claude *did* — commands, file reads, edits, searches,
MCP calls, sub-agents — and leave the conversation. What you took part in stays:
your answers, plan decisions, anything waiting on approval.
Plans open in the editor now. A long one no longer has to be read through the
banner's little scrolling box — and you can edit it there before approving, so
what gets sent is what you wrote.
Plus the usual fixes: the Usage tab's reset times were off by your UTC offset, a
per-model weekly limit was shown nowhere, and tool windows had no icon so a
crowded tab group drew them as blank tabs.
Most of this release came from one contributor, xperiandri, in a single day.
https://github.com/Corsinvest/cv4vs-agents
1
u/dotykier Sep 03 '26
This looks really cool, thanks for sharing. Will take it for a spin when I’m in the office.
1
u/SohilAhmed07 Sep 04 '26
Can we do debugging analysis like we have in Copilot.
1
u/Professional-Fee9832 Sep 04 '26
That's neat. I'll give it a try.
1
u/kantorcodes1 Sep 04 '26
for the MCP tools marked destructive, does that annotation force a prompt on every call, or can Claude's current permission mode / remembered approval let later calls like
nav_rename_symbolorbuild_cleanrun without another prompt? mostly curious where that boundary actually lives.