- Home
- MCP servers
- C++ Builder
C++ Builder
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"mcp-mirror-peterparker57_cpp-builder-mcp-server": {
"command": "node",
"args": [
"path/to/cpp-builder-mcp-server/dist/index.js"
],
"env": {
"ENV": "placeholder"
}
}
}
}You run an MCP server that builds and analyzes C++ DLLs, enabling you to compile DLLs with custom exports and inspect their export tables using standard Visual Studio tooling. This server streamlines C++ DLL workflows by exposing two core actions you can invoke from an MCP client.
How to use
You interact with the server through an MCP client by calling two main capabilities: compile_dll to build a DLL with your specified export settings, and analyze_exports to inspect the exports of a compiled DLL. Use compile_dll when you need precise control over which functions are exported, including module-definition file integration. Use analyze_exports to verify function names, ordinals, addresses, and any forwarding information in the DLL.
How to install
Prerequisites you need before running the server:
-
Node.js (with npm) installed on your machine
-
Visual Studio 2022 Community Edition or higher and Visual C++ build tools
Configuration
Add the server to your MCP settings with the following example configuration.
{
"mcpServers": {
"cpp-builder": {
"command": "node",
"args": ["path/to/cpp-builder-mcp-server/dist/index.js"],
"env": {}
}
}
}
Usage examples
Compile DLL with basic settings:
await mcp.use("cpp-builder", "compile_dll", {
projectPath: "./src/MyLibrary.vcxproj"
});
Analyze DLL Exports
Analyze the exports of a compiled DLL:
await mcp.use("cpp-builder", "analyze_exports", {
dllPath: "./bin/Release/MyLibrary.dll"
});
Available tools
compile_dll
Compile a C++ DLL with MSBuild using a supplied .def file to control exports. Includes support for configuration, platform target, and detailed build logs.
analyze_exports
Analyze exports from a compiled DLL using dumpbin to list functions, ordinals, addresses, and forwarding information.