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.
Compile a C++ DLL with specific export settings using MSBuild.
The tool uses Visual Studio's MSBuild to compile the DLL, providing:
Analyze exports from a compiled DLL using dumpbin.
The analysis provides:
git clone https://github.com/yourusername/cpp-builder-mcp-server.git
cd cpp-builder-mcp-server
npm install
npm run build
Add the server to your MCP settings file:
{
"mcpServers": {
"cpp-builder": {
"command": "node",
"args": ["path/to/cpp-builder-mcp-server/dist/index.js"],
"env": {}
}
}
}
// 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"
});
await mcp.use("cpp-builder", "analyze_exports", {
dllPath: "./bin/Release/MyLibrary.dll"
});
npm test
npm run build
MIT
{
"mcpServers": {
"cpp-builder": {
"env": {},
"args": [
"path/to/cpp-builder-mcp-server/dist/index.js"
],
"command": "node"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.