Microsoft has released the Binlog MCP Server, a Model Context Protocol server that gives AI assistants like GitHub Copilot direct access to MSBuild binary log files (.binlog). It exposes 15 specialized tools covering build failure investigation, property tracing, performance analysis, and build comparison. Setup is available for Visual Studio (17.14+), VS Code, and CLI tools like Claude Code. The server is built on the MSBuild StructuredLogger library and supports natural language queries such as 'Why did my build fail?' or 'What's making my build slow?' Telemetry is on by default but can be opted out via DOTNET_CLI_TELEMETRY_OPTOUT.

6m read timeFrom devblogs.microsoft.com
Post cover image
Table of contents
Why MCP for Build Logs? Copy link15 Tools at Your AI Assistant’s Disposal Copy linkGetting Started Copy linkExample: Diagnosing a Build Failure Copy linkTry It Yourself: Compare Two Builds Copy linkBuilt on StructuredLogger Copy linkTelemetry Copy linkWhat’s Next Copy link
48.4K Impressions