Skip to main content
Glama

Delphi Compiler MCP

Delphi Compiler MCP

A lightweight Model Context Protocol (MCP) server that wraps the native Delphi (RAD Studio) compilers. It enables automatic Debug/Release builds for Win32 and Win64 projects written in Object Pascal.

Installation

From PyPI

pip install delphi-compiler-mcp

From local source

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

MCP configuration example

Create (or update) your MCP client configuration, e.g. .cursor/mcp.json:

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

Usage

CLI

# Default compile (Debug / Win32) mcp call delphi-compiler compile # Release build for Win64 mcp call delphi-compiler build --platform Win64

Through an AI MCP client

If your MCP client supports natural-language commands (e.g. via an AI assistant), it is enough to say:

  • «build project» — to run a Release build
  • «compile project» — to run a Debug compile

The client will translate the phrase into the corresponding MCP call shown above.

License

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Enables compilation of Delphi (RAD Studio) Object Pascal projects through natural language commands. Supports automatic Debug/Release builds for Win32 and Win64 platforms using the native Delphi compiler toolchain.

  1. Installation
    1. From PyPI
    2. From local source
  2. MCP configuration example
    1. Usage
      1. CLI
      2. Through an AI MCP client
    2. License

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        Provides code completion, bug fixing, and test generation for multiple programming languages, integrating with the Mistral Codestral API to enhance code development processes.
        Last updated -
        2
      • -
        security
        F
        license
        -
        quality
        Provides code generation and completion capabilities using the DeepSeek API, with support for tool chaining and cost optimization.
        Last updated -
        3
      • -
        security
        A
        license
        -
        quality
        Enables controlling CAD software (AutoCAD, GstarCAD, ZWCAD) through natural language instructions, allowing users to create and modify drawings without manually operating the CAD interface.
        Last updated -
        164
        MIT License
      • A
        security
        A
        license
        A
        quality
        Enables building and cleaning Delphi projects (.dproj/.groupproj) on Windows using MSBuild with RAD Studio environment initialization. Supports both individual projects and group projects with configurable build configurations and platforms.
        Last updated -
        5
        4
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/unununununununun/delphi-compiler-mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server