msbuild-mcp-server
Allows building Unreal Engine projects by using MSBuild to compile Unreal Engine solutions and projects with specified configurations and platforms.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@msbuild-mcp-serverBuild C:\MyProject\MyApp.sln with Release|x64"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MSBuild MCP Server
A lightweight MCP (Model Context Protocol) server for automating MSBuild projects and solutions builds. It dynamically locates MSBuild and provides customizable build configuration options.
Features
Dynamic MSBuild Discovery: Automatically detects the MSBuild executable, ensuring compatibility with various Visual Studio installations.
Customizable Build Settings: Easily configure build options such as configuration, platform, verbosity level, parallel build CPU count, NuGet restore, and additional command-line arguments through LLM-driven tool invocation.
Clear Error Reporting: Filters and presents concise, relevant error messages upon build failures.
MCP Client Compatibility: Supports seamless integration with popular MCP clients such as VSCode, Cursor, Windsurf, and more. Configuration snippets for these clients are provided in the documentation.
Cross-Language Support: Supports MSBuild-compatible projects, including .sln, .csproj, and .vcxproj files, enabling builds for languages like C#, C++, and more across Windows platforms.
Related MCP server: XcodeMCP
Prerequisites
Ensure the following prerequisites are installed:
Python 3.11 or higher
Visual Studio or Visual Studio Build Tools (for MSBuild)
uv(recommended)
Registering the MCP Server
Ensure uv is installed.
In the MCP settings of your AI tools (e.g., Cursor, Windsurf, Claude Desktop, etc.), add the following configuration:
{
"mcpServers": {
"msbuild-mcp-server": {
"command": "uvx",
"args": [
"msbuild-mcp-server@latest"
]
}
}
}Place this snippet in your client configuration file:
VSCode:
.vscode/mcp.jsonCursor:
~/.cursor/mcp.jsonor<project-root>/.cursor/mcp.jsonWindsurf:
~/.codeium/windsurf/mcp_config.json
Restart your tool to ensure that the msbuild-mcp-server and its provided tools are properly registered.
Agent Prompt Examples
AI agents can trigger builds using natural language like:
Basic Project Build
"Build this solution at
C:/Path/To/Project.slnusingRelease|x64."Unreal Engine Build
"Build the solution located at
C:/Projects/MyGame/MyGame.slnusingDevelopment Editor|Win64."
License
This project is licensed under the MIT License.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityDmaintenanceConnects to Xcode's build system to extract, parse, and display errors and warnings from your Swift projects, helping AI assistants quickly identify code issues without manually searching through build logs.Last updated6MIT
- AlicenseAqualityCmaintenanceMCP server for Xcode build automation and log parsing that opens Xcode projects, triggers builds directly in Xcode, and parses build logs to extract errors and warnings.Last updated268657Apache 2.0
- AlicenseAqualityBmaintenanceEnables building and cleaning Delphi projects (.dproj/.groupproj) on Windows using MSBuild with RAD Studio environment initialization. Supports both individual projects and group projects with configurable build configurations and platforms.Last updated519MIT
- Alicense-qualityAmaintenanceEnables AI assistants to compile Delphi projects and single units directly through the Model Context Protocol. It features automatic compiler detection via the Windows registry and supports MSBuild with full build event integration.Last updated94MIT
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Build, deploy, and operate hosted web apps on VibeKit (vibekit.bot) from any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zenoengine/msbuild-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server