C++ Builder MCP Server logo

C++ Builder MCP Server

by MCP-Mirror

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.

View on GitHub

Last updated: N/A

What is C++ Builder MCP Server?

This is an MCP server designed to facilitate C++ DLL compilation and export analysis using Visual Studio build tools. It provides tools to compile DLLs with custom export settings and analyze the exports of compiled DLLs.

How to use C++ Builder MCP Server?

To use this server, you need to add it to your MCP settings file. You can then use the 'compile_dll' tool to compile C++ DLLs with specific project paths, configurations, platforms, and .def files. The 'analyze_exports' tool allows you to analyze the exports of a compiled DLL by providing the DLL path. Refer to the README for installation and configuration instructions.

Key features of C++ Builder MCP Server

  • 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

Use cases of C++ Builder MCP Server

  • Automated C++ DLL building in a CI/CD pipeline

  • Analyzing DLL exports to ensure proper function exposure

  • Building DLLs with specific export requirements for compatibility

  • Debugging and troubleshooting DLL export issues

FAQ from C++ Builder MCP Server

What are the requirements for using this server?

You need Visual Studio 2022 Community Edition or higher, Visual C++ build tools, and the Windows SDK.

How do I compile a DLL with specific export settings?

Use the 'compile_dll' tool and provide the project path, configuration, platform, and .def file (if needed).

How do I analyze the exports of a DLL?

Use the 'analyze_exports' tool and provide the path to the DLL file.

What is a .def file?

A .def file specifies exported functions and their attributes, allowing you to control which functions are exposed by the DLL.

What does the export analysis provide?

The analysis provides a list of all exported functions, export ordinals, function names and addresses, and export forwarding information.