MSBuild Project Analyzer
STDIOMCP server that exposes tools and prompts for analyzing MSBuild projects.
MCP server that exposes tools and prompts for analyzing MSBuild projects.
This is a simple demo of a Model Context Protocol Server (MCP) that exposes tools and prompts for analyzing MSBuild binlogs to any MCP server.
To configure this:
dotnet build
in the msbuild.mcp
directoryTo locally debug, use npx to run the Model Context Protocol inspector::
npx @modelcontextprotocol/inspector ./bin/Debug/net9.0/msbuild.mcp
{ "mcpServers": { "msbuild": { "command": "<your repo root>\\binlog.mcp\\bin\\Debug\\net9.0\\binlog.mcp.exe" } } }
If you have Claude configured already, you can tell VSCode to use the same settings by adding the following to your settings.json
:
"chat.mcp.discovery.enabled": true,
otherwise, you can configure the server directly:
{ "mcp": { "inputs": [], "servers": { "msbuild": { "command": "<repo root>\\binlog.mcp\\bin\\Debug\\net9.0\\binlog.mcp.exe", "args": [], "env": {} } } } }