A collection of MCP (Model Context Protocol) servers and libraries for AI-assisted development workflows. All servers communicate via JSON-RPC 2.0 over stdio and are built on the shared McpSharp protocol library.
| Project | Description |
|---|---|
| McpSharp | Lightweight MCP server library for .NET — JSON-RPC 2.0 transport, tool/resource/prompt registry |
| HyperVMcp | Hyper-V VM management — lifecycle, remote execution, file transfers, diagnostics |
| CiDebugMcp | CI/CD failure investigation — log search, failure triage, artifact downloads, binary analysis |
| MsBuildMcp | MSBuild project exploration — solution/project evaluation, dependency graphs, build execution |
- .NET 9 SDK
- Visual Studio 2022 with C++ workload (for MsBuildMcp)
- Hyper-V enabled (for HyperVMcp, Windows only)
dotnet builddotnet test # 540 tests across all projects| Project | Tests |
|---|---|
| McpSharp | 61 |
| HyperVMcp | 188 |
| CiDebugMcp | 135 |
| MsBuildMcp | 156 |
Each server can be published independently:
dotnet publish src/HyperVMcp -c Release -o publish/hyperv-mcp
dotnet publish src/CiDebugMcp -c Release -o publish/ci-debug-mcp
dotnet publish src/MsBuildMcp -c Release -o publish/msbuild-mcpmcp-tools/
├── mcp-tools.sln # Unified solution (all projects)
├── src/
│ ├── McpSharp/ # Shared MCP protocol library
│ ├── HyperVMcp/ # Hyper-V MCP server
│ ├── CiDebugMcp/ # CI debug MCP server
│ └── MsBuildMcp/ # MSBuild MCP server
├── tests/
│ ├── McpSharp.Tests/
│ ├── HyperVMcp.Tests/
│ ├── CiDebugMcp.Tests/
│ └── MsBuildMcp.Tests/
├── docs/ # Guides (creating a new server, etc.)
├── .github/
│ ├── skills/ # Copilot skill definitions
│ ├── prompts/ # VS Code prompt wrappers
│ └── workflows/ # CI/CD pipelines
└── publish/ # Pre-built server binaries
Add servers to your MCP client configuration (e.g., ~/.copilot/mcp-config.json):
{
"mcpServers": {
"hyperv": {
"command": "C:\\path\\to\\publish\\hyperv-mcp\\hyperv-mcp.exe"
},
"ci-debug": {
"command": "C:\\path\\to\\publish\\ci-debug-mcp\\ci-debug-mcp.exe"
},
"msbuild": {
"command": "C:\\path\\to\\publish\\msbuild-mcp\\msbuild-mcp.exe"
}
}
}CiDebugMcp resolves authentication lazily on first API call from multiple sources in priority order:
GitHub: GITHUB_TOKEN env var → GH_TOKEN env var → Git Credential Manager (supports SSO/AAD/OAuth) → GitHub CLI (gh auth token)
Azure DevOps: AZURE_DEVOPS_PAT env var → SYSTEM_ACCESSTOKEN env var → Azure CLI (az account get-access-token) → Git Credential Manager
No explicit configuration is needed if Git Credential Manager or the GitHub/Azure CLIs are already authenticated. See the CiDebugMcp README for details.
HyperVMcp and MsBuildMcp include policy-based guardrails that require user approval for state-modifying operations. The servers use MCP elicitation to prompt the user directly — the agent never sees the approval flow.
- HyperVMcp: VM lifecycle, command execution, and file transfers require confirmation. Commands are analyzed against pattern lists (blocked/warned/allowed). See the HyperVMcp guardrails docs.
- MsBuildMcp: Build and cancel operations require confirmation with target/configuration-scoped approval. See the MsBuildMcp guardrails docs.
- CiDebugMcp: All tools are read-only and require no approval.
To disable all confirmation prompts, set "mode": "unrestricted" (HyperVMcp) or pre-approve all builds in the policy file (MsBuildMcp). See each server's README for details.
See CONTRIBUTING.md for development guidelines.
See SECURITY.md for vulnerability reporting.