vs-mcp

Performs Roslyn-based semantic analysis and debugging of C# code via the VS MCP Server.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/todevelopers/todevelopers-marketplace --skill vs-mcp-todevelopers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vs-mcp
Source: https://github.com/todevelopers/todevelopers-marketplace/tree/main/plugins/vs-mcp-client/skills/vs-mcp
Command: npx skills add https://github.com/todevelopers/todevelopers-marketplace --skill vs-mcp-todevelopers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Text-based search tools like Grep and Glob produce inaccurate results and consume excessive tokens when working with C# codebases, since they cannot understand symbols, overloads, generics, or project structure. ## Core Features & Use Cases - Semantic Symbol Operations: Find symbols, definitions, and usages with compiler accuracy using FindSymbols, FindSymbolDefinition, and FindSymbolUsages instead of text search. - Solution Navigation: Inspect project structure with GetSolutionTree, trace call hierarchies with GetMethodCallers/GetMethodCalls, and analyze inheritance with GetInheritance. - Safe Refactoring and Diagnostics: Rename symbols across files with compiler-verified RenameSymbol and check build errors with GetDiagnostics. - Use Case: When asked to rename a method used across a large .sln, use RenameSymbol for a compiler-verified change instead of manually editing every file, then confirm no errors with GetDiagnostics. ## Quick Start Ask the assistant to find all usages of a C# method in your solution using the VS MCP semantic tools instead of text search.

Frequently Asked Questions about vs-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find all references to a C# method without grep?

Use the FindSymbolUsages tool, which performs the equivalent of Shift+F12 in Visual Studio. It uses Roslyn semantic analysis to return compiler-accurate references, accounting for overloads and generics that text search misses.

How to rename a C# symbol across multiple files safely?

Use the RenameSymbol tool instead of manual find-and-replace. It performs a compiler-verified rename across the solution, so references in all files are updated correctly without breaking the build.

Does this work without Visual Studio 2022 running?

No. The skill requires a connection to the VS MCP Server, which is a Visual Studio 2022 extension exposing Roslyn and the debugger via MCP. Without that server connected, the semantic tools are unavailable.

Why use semantic tools instead of Grep for C# code search?

Semantic tools use the Roslyn compiler, producing results that understand overloads, generics, and implicit conversions. They also consume roughly 90% fewer tokens than text-based search while returning more accurate results.

Can I debug C# code through the VS MCP Server?

Yes. The server exposes 19 preview debugging tools covering breakpoints, call stack inspection, and variable examination. These let you diagnose runtime behavior instead of adding print statements to the code.