Enterprise DNA
M MCP Servers Developer low

LadislavSopko/mcp-ai-server-visual-studio

by Various

MCP AI Server - Roslyn-powered MCP server for Visual Studio. 20 tools for AI assistants.

L

MCP

LadislavSopko/mcp-ai-server-visual-studio

Added 1 June 2026

Overview

A Roslyn-powered MCP server that integrates with Visual Studio, providing 20 tools for AI assistants. It enables code analysis and manipulation through the Model Context Protocol.

Best for

Best for
Visual Studio developers building AI-assisted coding tools

Use cases

  • Integrate AI code analysis into Visual Studio workflows
  • Expose Roslyn-based refactoring tools to AI assistants
  • Automate code generation and diagnostics via MCP endpoints

How to use

Tools exposed

  • FindSymbols
  • FindSymbolDefinition
  • FindSymbolUsages
  • GetSymbolAtLocation
  • GetDocumentOutline
  • GetInheritance
  • GetMethodCallers
  • GetMethodCalls
  • GetDiagnostics
  • RenameSymbol
  • FormatDocument
  • ExecuteCommand
  • ExecuteAsyncTest
  • GetSolutionTree
  • GetProjectReferences
  • LoadSolution
  • TranslatePath
  • GetActiveFile
  • GetSelection
  • CheckSelection

Tested with

Claude Code, Codex CLI, Gemini CLI, OpenCode, Goose, Aider, Claude Desktop, Cursor

Example client config

"vs-mcp": {\n  "type": "http",\n  "url": "http://localhost:3010/sdk/"\n}

Notes

A Roslyn-powered MCP server that integrates with Visual Studio, providing 20 tools for AI assistants. It enables code analysis and manipulation through the Model Context Protocol.

29 stars on GitHub. Last updated 2026-03-08.

Use cases

  • Integrate AI code analysis into Visual Studio workflows
  • Expose Roslyn-based refactoring tools to AI assistants
  • Automate code generation and diagnostics via MCP endpoints

Pros

  • Leverages Roslyn for deep code understanding
  • Offers 20 ready-to-use tools for common tasks
  • Direct integration with Visual Studio

Cons

  • Limited to Visual Studio environment
  • Small community with only 29 stars
  • May require familiarity with MCP protocol

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Leverages Roslyn for deep code understanding
  • Offers 20 ready-to-use tools for common tasks
  • Direct integration with Visual Studio

Cons

  • Limited to Visual Studio environment
  • Small community with only 29 stars
  • May require familiarity with MCP protocol
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks