Skip to content

StarsailsClover/Link2VS.skill

Repository files navigation

Link2VS Skill - AI Agent to Visual Studio Bridge

Connect AI Agents (Claude, Cursor, Cline) and VS 2026 MCP Manager to Visual Studio 2026/2022 via MCP Protocol.


Installation (Single Method)

NuGet Package (Recommended)

dotnet tool install -g UniversalVSMCP

Verify installation:

universal-vsmcp --help

NuGet: https://www.nuget.org/packages/UniversalVSMCP/


Features

  • 30 MCP Tools for comprehensive VS automation
  • Dual Transport: stdio (for AI Agents) + HTTP/SSE (for VS 2026)
  • Native .NET runtime (no Python/Node.js dependencies)
  • Built-in diagnostics for troubleshooting
  • Localhost support for development
  • Bilingual documentation (English + Chinese)

VS 2026 Configuration (HTTP/SSE - Recommended)

Method A: URL Configuration (VS 2026 MCP Manager only supports URL)

  1. Open command line, start HTTP server:
universal-vsmcp --http 5000
  1. In VS 2026, open Tools → Options → Environment → Extensions → MCP Servers
  2. Click Add
  3. Fill in:
    • Name: Universal VS MCP
    • URL: http://localhost:5000/sse
    • Transport: sse

Method B: Direct JSON (if editing settings JSON)

{
  "mcpServers": {
    "universal-vsmcp": {
      "name": "Universal VS MCP",
      "url": "http://localhost:5000/sse",
      "transport": "sse"
    }
  }
}

Claude Desktop / Cursor

{
  "mcpServers": {
    "vsmcp": {
      "command": "dotnet",
      "args": ["tool", "run", "--global", "universal-vsmcp", "--", "--stdio"],
      "env": {
        "VS_AUTO_DETECT": "true"
      }
    }
  }
}

Diagnostic Tools

The server includes built-in diagnostic tools:

Tool Purpose
health_check Verify server is running and VS connection
get_server_info Get server capabilities and tool list
get_diagnostic_logs Get recent log entries

Troubleshooting

# Check installation
dotnet tool list -g

# Run with logging
universal-vsmcp --stdio --log-file uv.log

# Verify VS is running
# health_check tool will show connection status

Repository


Documentation


License

MIT © StarsailsClover

About

LVS | A skill file that allows your AIAgent to connect to Visual Studio 2026 via UVM (StarsailsClover/UniversalVSMCP)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors