dsh2vs: Let DeepSeek Harness Load, Build and Debug Visual Studio C++ Projects

aaalzk/dsh2vs

Tools & CapabilitiesReviewed
Listed on 2026-10-29
Page last updated 2026-11-11

dsh2vs is a DSH plugin that bridges AI agents to Visual Studio C++ projects over MCP, letting them load, build and breakpoint-debug unattended without a VSIX or a running VS.

dsh2vs is a C++ project bridge DSH plugin for DeepSeek Harness that turns solution loading, building and breakpoint debugging into MCP tools an AI assistant can call. It targets the weakness of in-process VS extensions, which stall whenever a modal dialog appears, the RDP session drops or the screen locks, by bypassing the Visual Studio GUI entirely: builds run through MSBuild and debugging through a cdb child process. Core capabilities include deriving configuration and executable paths from the .sln, naming the missing DLL on startup failure, identifying a stuck dialog as a CRT assertion and quoting its text, and capturing a dump plus report on crashes. The background service listens only on the local port, and clients reconnect after Visual Studio crashes or restarts.

How to Install

install
dsh plugin --profile web add dsh2vs
Category
Tools & Capabilities
Platform
DeepSeek Harness
Author
aaalzk
Distribution
Plugin

dsh2vs Key Features

Load VS C++ solutionsMSBuild builds with error feedbackcdb breakpoint debugging and stacksAuto crash dumps and diagnosticsNo VSIX or running VS needed

dsh2vs Repo Summary

What Does It Do?

It is a DSH plugin for DeepSeek Harness that bridges Visual Studio C++ projects into AI-callable MCP tools for loading, building, and breakpoint debugging. It solves the classic in-process VS extension problem: once Visual Studio shows a modal dialog, the RDP session drops, or the screen locks, automated calls block until a human clicks something. With this plugin, DSH can edit code, build, set breakpoints, and inspect call stacks and variables on an unattended Windows machine, all without opening Visual Studio or installing a VSIX.

Core Features

  • Unattended closed loop: parses the .sln for configuration and platform, builds through MSBuild, locates the produced exe, then launches the cdb debugger, never touching the VS GUI.
  • Project awareness: you do not have to tell it where the exe is; it derives the executable path from the solution and build configuration.
  • Diagnostics layer: reports 0xC0000135 with the missing DLL on startup failure (PE import table pre-check), identifies a stuck dialog as a CRT assertion rather than a deadlock and quotes the assertion text, and captures a dump plus report on crashes.
  • Resident background service: listens only on local 127.0.0.1:8790, sends no telemetry and uploads no data, and survives VS crashes or restarts so clients simply reconnect.
  • Ready-made tool set: the plugin wires up the MCP connection automatically, so 40+ mcp__vs__* tools are available after restarting the session.

How to Use This Plugin?

After installing it in DSH and restarting the session, make sure the background bridge service is running before letting the AI assistant work. The typical flow is to hand it a C++ solution to load, have it build, fix code and rebuild on errors, and set breakpoints to inspect call stacks and variables when debugging. The runtime requires Windows 10/11, the .NET 9 SDK, Visual Studio 2022/2026 with the C++ desktop development workload, and the Debugging Tools from the Windows SDK (which provide cdb.exe); the start script takes a workspace directory, and once the service is up, a "status":"ok" response on the local port means it is ready. If you previously configured an MCP server with the same name by hand, remove that entry first to avoid two servers with the same name. The project is maintained by aaalzk under the MIT license.

Sources

This page is an independent rewrite of the repository README. For authoritative documentation and the latest changes, refer to the GitHub repository. Plugins are third-party code that runs on your machine once installed; inclusion does not imply endorsement — review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin Hub FAQ