mcp-binlog-tool
A Model Context Protocol server binary that exposes information inside an MSBuild Binary Log to LLMs to aid build analysis.
Documentation
Binlog MCP Server
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.
Features
The server provides comprehensive tools for analyzing MSBuild binary logs, including:
- Diagnostic Analysis: Extract warnings and errors from binlogs with filtering by severity, project, target, and task
- Search Analysis: Powerful freetext search with MSBuild Structured Log Viewer query syntax support
- Target Analysis: Identify expensive targets, search for specific targets across projects, and analyze target execution times
- Project Analysis: Calculate project build times, find the most expensive projects, and analyze all targets in a project at once
- Evaluation Analysis: List project evaluations, inspect global properties, and identify potential overbuilding issues
- File Access: List and retrieve source files embedded in binary logs
- Performance: Intelligent caching ensures fast queries even on large binlogs
See PACKAGE_README.md for detailed tool documentation.
Setup
Using the NuGet package
Claude
> claude mcp add binlog -- dnx baronfel.binlog.mcp -y
Added stdio MCP server binlog with command: dnx baronfel.binlog.mcp -y to local configVSCode
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:
{
"servers": {
"binlog-mcp": {
"type": "stdio",
"command": "dnx",
"args": ["-y", "baronfel.binlog.mcp"]
}
}
}Using local builds
To configure this:
1. build the repo with `dotnet build` in the solution root directory
2. configure Claude or VSCode to use the server
3. launch your server app and have fun!
To locally debug, use npx to run the Model Context Protocol inspector::
npx @modelcontextprotocol/inspector ./artifacts/bin/binlog.mcp/debug/binlog.mcp.exeClaude
{
"mcpServers": {
"msbuild": {
"command": "\\artifacts\\bin\\binlog.mcp\\debug\\binlog.mcp.exe"
}
}
}VSCode
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:
{
"servers": {
"binlog-mcp": {
"type": "stdio",
"command": "\\artifacts\\bin\\binlog.mcp\\debug\\binlog.mcp.exe",
"args": []
}
}
}Frequently asked questions
What is mcp-binlog-tool?
mcp-binlog-tool is A Model Context Protocol server binary that exposes information inside an MSBuild Binary Log to LLMs to aid build analysis.
How do I install mcp-binlog-tool?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-binlog-tool open source?
Yes — it is hosted on GitHub at https://github.com/baronfel/mcp-binlog-tool and has 5 stars.
Related MCP tools
An MCP server that allows MCP clients like Claude Desktop or Cursor to perform actions in the Unity Editor C#-based implementation.
Model Context Protocol (MCP) plugin to connect with Unity Editor — designed for OpenAI, Gemini, Claude, Deepseek and Grok interoperability
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft. Trusted by 3500+ developers.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
:robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement for OpenAI, running on consumer-gra...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP