Cpp Builder
FreeNot checkedMCP server providing C++ DLL compilation and analysis capabilities
About
MCP server providing C++ DLL compilation and analysis capabilities
README
An MCP server providing C++ DLL compilation and analysis capabilities. This server enables building C++ DLLs with specific export settings and analyzing DLL exports using Visual Studio build tools.
Features
- C++ DLL compilation with MSBuild
- Custom export settings via .def files
- DLL export analysis using dumpbin
- Configurable build settings
- Platform and configuration targeting
- Detailed build output
Tools
DLL Compilation
compile_dll
Compile a C++ DLL with specific export settings using MSBuild.
- projectPath: Path to the .vcxproj file (required)
- configuration: Build configuration (optional)
- Values: 'Debug' or 'Release'
- Default: 'Release'
- platform: Target platform (optional)
- Values: 'x86' or 'x64'
- Default: 'x86'
- defFile: Path to .def file for exports (optional)
- Specifies exported functions and their attributes
- Used to control which functions are exposed by the DLL
The tool uses Visual Studio's MSBuild to compile the DLL, providing:
- Full build output with warnings and errors
- Support for different configurations and platforms
- Module definition file integration
- Detailed build logs
Export Analysis
analyze_exports
Analyze exports from a compiled DLL using dumpbin.
- dllPath: Path to the DLL file (required)
The analysis provides:
- List of all exported functions
- Export ordinals
- Function names and addresses
- Export forwarding information
- Detailed export table analysis
Requirements
- Visual Studio 2022 Community Edition or higher
- Visual C++ build tools
- Windows SDK
Installation
- Clone the repository:
git clone https://github.com/yourusername/cpp-builder-mcp-server.git
cd cpp-builder-mcp-server
- Install dependencies:
npm install
- Build the project:
npm run build
Configuration
Add the server to your MCP settings file:
{
"mcpServers": {
"cpp-builder": {
"command": "node",
"args": ["path/to/cpp-builder-mcp-server/dist/index.js"],
"env": {}
}
}
}
Usage Examples
Compile DLL
// Basic compilation
await mcp.use("cpp-builder", "compile_dll", {
projectPath: "./src/MyLibrary.vcxproj"
});
// Compilation with specific settings
await mcp.use("cpp-builder", "compile_dll", {
projectPath: "./src/MyLibrary.vcxproj",
configuration: "Debug",
platform: "x64",
defFile: "./src/exports.def"
});
Analyze DLL Exports
await mcp.use("cpp-builder", "analyze_exports", {
dllPath: "./bin/Release/MyLibrary.dll"
});
Development
- Make changes to the source code
- Run tests:
npm test
- Build the project:
npm run build
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
MIT
Installing Cpp Builder
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/peterparker57/cpp-builder-mcp-serverFAQ
Is Cpp Builder MCP free?
Yes, Cpp Builder MCP is free — one-click install via Unyly at no cost.
Does Cpp Builder need an API key?
No, Cpp Builder runs without API keys or environment variables.
Is Cpp Builder hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Cpp Builder in Claude Desktop, Claude Code or Cursor?
Open Cpp Builder on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Cpp Builder with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
