Delphi Compiler

Provides automated Delphi Debug/Release builds for Win32/Win64 via an MCP server that wraps the Delphi compilers.
  • python

1

GitHub Stars

python

Language

6 months ago

First Indexed

2 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": {
    "unununununununun-delphi-compiler-mcp": {
      "command": "delphi-compiler-mcp",
      "args": [],
      "env": {
        "DELPHI_PATH": "C:\\Program Files (x86)\\Embarcadero\\Studio\\23.0"
      }
    }
  }
}

You can automate Delphi (RAD Studio) compilation for Win32 and Win64 projects with a lightweight MCP server that wraps the native Delphi compilers. It lets you run Debug and Release builds from any MCP client, streamlining your build workflow.

How to use

Use an MCP client to send commands to the Delphi Compiler MCP server. You can perform a Debug compile for Win32 by invoking the compile action, or a Release build for Win64 by using the build action with the appropriate platform. When you integrate with an AI MCP client, you can say simple phrases like “compile project” to trigger a Debug compile or “build project” to trigger a Release build, and the client translates those into the corresponding MCP calls.

How to install

Prerequisites: you need Python and a functioning internet connection to install the MCP server package.

Install from PyPI using the following command:

pip install delphi-compiler-mcp

If you prefer to run from local source, clone the repository and install it in editable mode:

git clone https://github.com/yourusername/delphi-compiler-mcp.git
pip install .

Configuration example

Create or update your MCP client configuration to point to the Delphi Compiler MCP server. The example below shows how to set the command and the Delphi path environment variable.

{
  "mcpServers": {
    "delphi-compiler": {
      "command": "delphi-compiler-mcp",
      "env": {
        "DELPHI_PATH": "C:\\Program Files (x86)\\Embarcadero\\Studio\\23.0"
      }
    }
  }
}

Notes and setup tips

The server wrapper expects Delphi to be installed on the same machine and uses the Delphi installation path to locate the compilers. Ensure the DELPHI_PATH points to your RAD Studio installation. If you change the Delphi version, update the path accordingly.

If you run the server locally, you can adjust the environment variable to reflect your Delphi installation directory. The MCP client will use the configured command to start the compiler wrapper.

Troubleshooting

If builds fail, verify that your Delphi installation is accessible at the DELPHI_PATH specified in the configuration. Check that the delphi-compiler-mcp command is available in your system PATH or provide a full path to the executable in the configuration.

Security considerations

Limit access to the MCP server to trusted clients. Use secure channels where possible and avoid exposing the server to untrusted networks. Keep your Delphi installation up to date to minimize exposure to known vulnerabilities.

Available tools

compile

Run a Debug compile for Win32 to generate build artifacts from your Delphi project.

build

Run a Release build for Win64 to produce optimized executables and libraries for distribution.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
Delphi Compiler MCP Server - unununununununun/delphi-compiler-mcp | VeilStrat