MCP Binlog Tool

v1.0.0Developer Toolsstable

A Model Context Protocol server binary that exposes information inside an MSBuild Binary Log to LLMs to aid build analysis.

binlogmcpmsbuild
Share:
23
Stars
0
Downloads
0
Weekly
0/5

What is MCP Binlog Tool?

MCP Binlog Tool is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol server binary that exposes information inside an msbuild binary log to llms to aid build analysis.

A Model Context Protocol server binary that exposes information inside an MSBuild Binary Log to LLMs to aid build analysis.

This server falls under the Developer Tools and Monitoring & Observability categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Model Context Protocol server binary that exposes informat

Use Cases

Analyze MSBuild Binary Log files to understand build processes.
Debug build failures and performance issues with LLM-assisted analysis.
baronfel

Maintainer

LicenseMIT
Languagec#
Versionv1.0.0
UpdatedMay 4, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-binlog-tool

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCP Binlog Tool

MCP Binlog Tool exposes the contents of MSBuild Binary Log (.binlog) files to AI assistants, enabling LLM-assisted build analysis directly from Claude or VS Code. It parses the structured log produced by dotnet build -bl or msbuild /bl and surfaces diagnostics, target execution times, project evaluations, and embedded source files as queryable MCP tools. .NET developers and build engineers use it to diagnose intermittent build failures, identify slow targets, and detect overbuilding without manually reading dense binary log output.

Prerequisites

  • .NET SDK installed (the server is written in C# and distributed as a NuGet tool via dnx)
  • dnx tool runner installed (used to execute the NuGet package)
  • An MSBuild Binary Log file (.binlog) produced by running dotnet build -bl or msbuild /bl
  • An MCP-compatible client such as Claude Desktop or VS Code with MCP support enabled
1

Install the binlog MCP server via Claude MCP add

The easiest installation method uses the claude mcp add command which registers the server using dnx to fetch and run the baronfel.binlog.mcp NuGet package.

claude mcp add binlog -- dnx baronfel.binlog.mcp -y
2

Produce a binary log from your build

Generate a .binlog file from your .NET project. The file captures the full build graph, timing data, diagnostics, and evaluated properties.

dotnet build -bl
# or:
msbuild /bl
# Default output: msbuild.binlog in the current directory
3

Configure VS Code to use the server

For VS Code users, enable MCP discovery and add the binlog server entry to your settings or workspace configuration.

// .vscode/settings.json
{
  "chat.mcp.discovery.enabled": true,
  "mcp": {
    "servers": {
      "binlog-mcp": {
        "type": "stdio",
        "command": "dnx",
        "args": ["-y", "baronfel.binlog.mcp"]
      }
    }
  }
}
4

Open the MCP Inspector for local builds (optional)

During development or testing, use the MCP Inspector to interact with the server and verify it can read a local .binlog file.

npx @modelcontextprotocol/inspector ./artifacts/bin/binlog.mcp/debug/binlog.mcp.exe
5

Load a binlog and start querying

Point the server at your .binlog file and ask Claude to analyze it. The server supports diagnostics, target timing, project cost analysis, and freetext search using MSBuild Structured Log Viewer syntax.

MCP Binlog Tool Examples

Client configuration

Claude Desktop configuration for the binlog MCP server using dnx.

{
  "mcpServers": {
    "binlog": {
      "command": "dnx",
      "args": ["-y", "baronfel.binlog.mcp"]
    }
  }
}

Prompts to try

Example prompts for MSBuild binary log analysis.

- "List all errors and warnings in the msbuild.binlog file"
- "Which targets took the longest to execute in this build?"
- "Show me all projects that were built and their individual build times"
- "Search the binlog for any mention of NuGet restore failures"
- "Are there any projects being overbuild (built more than once unnecessarily)?"

Troubleshooting MCP Binlog Tool

dnx command not found after installation

Ensure you have a compatible .NET SDK installed and that global .NET tools are on your PATH. Run dotnet tool install -g dnx or check the project README for the correct dnx installation steps for your platform.

Server cannot read the .binlog file

Verify the .binlog file path is accessible to the server process. Pass the full absolute path to the file when querying, or ensure the working directory is set correctly in your MCP client configuration.

Build analysis returns no results for a large binlog

Large binary logs can be slow to parse on first access. The server uses intelligent caching so subsequent queries on the same file will be faster. Ensure you have sufficient memory available for the file being parsed.

Frequently Asked Questions about MCP Binlog Tool

What is MCP Binlog Tool?

MCP Binlog Tool is a Model Context Protocol (MCP) server that model context protocol server binary that exposes information inside an msbuild binary log to llms to aid build analysis. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCP Binlog Tool?

Follow the installation instructions on the MCP Binlog Tool GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MCP Binlog Tool?

MCP Binlog Tool works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCP Binlog Tool free to use?

Yes, MCP Binlog Tool is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-binlog-tool": { "command": "npx", "args": ["-y", "mcp-binlog-tool"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCP Binlog Tool?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides