LadislavSopko/mcp-ai-server-visual-studio
MCP AI Server - Roslyn-powered MCP server for Visual Studio. 20 tools for AI assistants.
Platform-specific configuration:
{
"mcpServers": {
"mcp-ai-server-visual-studio": {
"command": "npx",
"args": [
"-y",
"mcp-ai-server-visual-studio"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Other tools read your files. MCP AI Server understands your code.
[](https://marketplace.visualstudio.com/items?itemName=LadislavSopko.mcpserverforvs) [](https://visualstudio.microsoft.com/) [](https://marketplace.visualstudio.com/items?itemName=LadislavSopko.mcpserverforvs) [](https://modelcontextprotocol.io/) [](https://vs-mcp.example4.ai)
The first and only Visual Studio extension that gives AI assistants access to the C# compiler (Roslyn) and the Visual Studio Debugger through the Model Context Protocol. 41 tools. 13 powered by Roslyn. 19 debugging tools (Preview). Semantic understanding, not text matching.
[Install from Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=LadislavSopko.mcpserverforvs)
Or search for "MCP AI Server" in Visual Studio Extensions Manager.
[](https://youtu.be/fYV4oqY9n5g)
*Click to watch on YouTube*
---
AI coding tools (Claude Code, Codex CLI, Gemini CLI, OpenCode, Cursor, Copilot, Windsurf...) operate at the filesystem level — they read text, run grep, execute builds. They don't understand your code the way Visual Studio does.
MCP AI Server bridges this gap by exposing IntelliSense-level intelligence and the Visual Studio Debugger as MCP tools. Your AI assistant gets the same semantic understanding that powers F12 (Go to Definition), Shift+F12 (Find All References), safe refactoring — and now runtime debugging.
| You ask | Without MCP AI Serve
Loading reviews...