# LadislavSopko/mcp-ai-server-visual-studio [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/LadislavSopko/mcp-ai-server-visual-studio  
**GitHub Stars:** 57  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ladislavsopko-mcp-ai-server-visual-studio

## Description
⃣ 🏠 🪟 - MCP AI Server for Visual Studio. 20 Roslyn-powered tools giving AI assistants semantic code navigation, symbol search, inheritance trees, call graphs, safe rename, build/test execution. Works with Claude, Codex, Gemini, Cursor, Copilot, Windsurf, Cline.

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What LadislavSopko/mcp-ai-server-visual-studio MCP server does

LadislavSopko/mcp-ai-server-visual-studio MCP server gives AI coding clients access to a .NET solution loaded in Visual Studio. Its Roslyn-backed tools can resolve symbols by meaning rather than matching text, identify definitions and references, inspect document structure, map inheritance and method calls, read compiler diagnostics, rename symbols across a solution, and apply Visual Studio formatting.

Project operations include reading the solution tree and project references, loading `.sln` or `.slnx` files, translating Windows and WSL paths, building or cleaning projects and solutions, and running asynchronous tests. Editor tools expose the active file, cursor position, and selected text. Logging controls are also available.

The server additionally exposes 19 preview debugging tools. These cover starting and stopping sessions, pausing and continuing execution, stepping, setting and removing breakpoints, inspecting call stacks and locals, evaluating expressions, reading Visual Studio output, configuring exception breaks, and attaching to processes. Transport and process discovery includes Docker, WSL, SSH, and other listed transports.

## How it works

The Visual Studio extension uses the Roslyn compiler services for semantic code information and the Visual Studio Debugger for runtime operations. An MCP client sends tool requests to the extension over HTTP; the extension operates on the solution and active Visual Studio session, then returns structured results such as symbol locations, diagnostics, test status, or debugger state.

LadislavSopko/mcp-ai-server-visual-studio MCP server is useful for questions such as which type implements an interface, where a method is defined, what calls a method, or why a running value has a particular state.

## Setup and configuration

Install the extension from the Visual Studio Marketplace, or find “MCP AI Server” in Visual Studio’s Extensions Manager. Open a .NET solution in Visual Studio, set the MCP server port under Tools > MCP Server > Global Settings, and start the server from Tools > MCP Server > Start Server. The documented default port is 3010.

Add the HTTP endpoint to an MCP client configuration:

```json
"vs-mcp": {
  "type": "http",
  "url": "http://localhost:3010/sdk/"
}
```

The client-specific configuration file varies by application.

## Tools and capabilities

The documented stable tools cover:

- Semantic navigation, definitions, usages, locations, and document outlines
- Inheritance hierarchies and method caller/callee graphs
- Diagnostics, safe symbol renaming, and document formatting
- Solution loading, project dependency inspection, builds, cleaning, and tests
- Active editor state, selections, path translation, and logging

LadislavSopko/mcp-ai-server-visual-studio MCP server also provides debugger control, runtime inspection, breakpoint management, process attachment, and output or error-list access.

## Limitations and notes

The extension requires Visual Studio and an open or loaded .NET solution for solution-aware operations. The README identifies Visual Studio 2022 and 2026 in its installation badge. Debugging support is explicitly labeled Preview, so it should be evaluated separately from the stable Roslyn and project tools.

LadislavSopko/mcp-ai-server-visual-studio MCP server is intended for MCP-compatible clients; the README names several CLI agents, desktop applications, IDEs, and extensions, and states that other MCP clients can work with it.

_Full upstream README: https://allmcps.com/mcp/ladislavsopko-mcp-ai-server-visual-studio/readme_

