MCP AI Server Visual Studio logo

MCP AI Server Visual Studio

by LadislavSopko

Connects AI clients to Visual Studio for Roslyn code navigation, safe refactoring, builds, tests, and preview debugging.

Install MCP AI Server Visual Studio

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for LadislavSopko/mcp-ai-server-visual-studio, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

LadislavSopko/mcp-ai-server-visual-studio MCP server connects MCP-compatible AI clients to Visual Studio's Roslyn compiler services and debugger. It exposes 41 tools for semantic symbol navigation, code analysis, refactoring, project operations, testing, and runtime debugging. The Visual Studio extension runs a local HTTP endpoint, typically on port 3010, which clients access through the MCP configuration. Reach for it when filesystem search is insufficient for understanding or changing a .NET solution.

Use cases

  • Find compiler-verified symbol definitions and references
  • Inspect inheritance hierarchies and method call graphs
  • Rename symbols safely across a .NET solution
  • Run builds and asynchronous tests from an AI client
  • Debug running .NET code through Visual Studio

Key features

  • Roslyn-powered semantic code navigation
  • Compiler-verified references and safe renaming
  • Solution, project, build, and test operations
  • Visual Studio debugger control and inspection
  • Breakpoint and exception configuration
  • Local HTTP MCP endpoint

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

33/33 checks healthy over the last 113d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars57Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP AI Server Visual Studio works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP AI Server Visual Studio

LadislavSopko/mcp-ai-server-visual-studio is an MCP server that connects AI clients to Visual Studio’s Roslyn compiler services and debugger. Its main tools provide semantic symbol search, definitions, references, inheritance and call graphs, safe renaming, builds, tests, breakpoints, runtime inspection, and debugging for loaded .NET solutions.

Install the Visual Studio extension from the Visual Studio Marketplace, then open a .NET solution and start MCP Server from Tools > MCP Server. Configure the port in Global Settings; the documented default is 3010. Add an HTTP MCP entry pointing to http://localhost:3010/sdk/ in your client.

Yes, Cursor is listed as a compatible client. Configure Cursor to connect to the server’s HTTP endpoint, documented as http://localhost:3010/sdk/ when the Visual Studio extension is using its default port.

Yes, the server exposes 19 preview debugging tools through the Visual Studio Debugger. They support starting or attaching to sessions, breakpoints, stepping, call stacks, locals, expression evaluation, output inspection, and process discovery for transports including Docker and WSL.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP AI Server Visual Studio AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ladislavsopko-mcp-ai-server-visual-studio?style=directory)](https://allmcps.com/mcp/ladislavsopko-mcp-ai-server-visual-studio)
HTML Embed
<a href="https://allmcps.com/mcp/ladislavsopko-mcp-ai-server-visual-studio"><img src="https://allmcps.com/api/badge/ladislavsopko-mcp-ai-server-visual-studio?style=directory" alt="MCP AI Server Visual Studio on AllMCPs" /></a>