Delphi Build Tools

•
19
•

Provides a Model Context Protocol (MCP) server for building and cleaning Delphi, Free Pascal, and Lazarus projects.

Delphi Build Tools acts as an MCP server, providing a robust interface for compiling and cleaning projects developed with Embarcadero RAD Studio (Delphi), Free Pascal Compiler (FPC), and Lazarus. It leverages MSBuild for Delphi projects on Windows, correctly initializing the RAD Studio environment via rsvars.bat. This tool simplifies the integration of these Pascal-based build processes into automated workflows or custom development environments, offering standardized operations across different project types.

Key Features

01Integrates with RAD Studio's rsvars.bat for proper build environment setup
02Compile Free Pascal programs (.lpr, .pas) with FPC
03Configurable build parameters (e.g., configuration, platform, paths) via arguments or environment variables
040 GitHub stars
05Build and clean Lazarus projects (.lpi) using lazbuild
06Build and clean Delphi projects (.dproj, .groupproj) using MSBuild

Use Cases

01Integrating Delphi, FPC, and Lazarus build capabilities into custom IDEs or development tools
02Automating continuous integration and deployment (CI/CD) pipelines for Delphi and Lazarus applications
03Remotely managing and triggering builds of Pascal-based projects