flydev-fr/mcp-delphi

View on GitHub ↗

Delphi and Lazarus/FPC MCP server: build/clean pascal projects via MCP tools.

19 ★6 forksTypeScriptUpdated 1y ago

What you need to know

Windows MCP server that builds and cleans Delphi, Free Pascal, and Lazarus projects using MSBuild, fpc, and lazbuild.

Install

pnpm install && pnpm run build
npm install && npm run build

Usage

  • node --env-file=.env dist/server.js, then call delphi.build, delphi.clean, fpc.build, lazarus.build, lazarus.clean

Key features

  • Build Delphi projects (.dproj/.groupproj) via MSBuild with rsvars.bat env
  • Clean Delphi projects
  • Compile Free Pascal programs (fpc.build)
  • Build and clean Lazarus projects via lazbuild
  • Config via env vars (RSVARS_BAT, MSBUILD_PATH, DELPHI_CONFIG, DELPHI_PLATFORM)

Best for

Building Delphi and Pascal projects from an AI assistant

Caveats

  • Windows only
  • Requires RAD Studio, MSBuild, and Node.js >= 18
Platforms: Windows

Reviewed 2026-08-11

Topics

build-toolsdelphifpclazarusmcpmodel-context-protocol
Stars
19★
Forks
6
Language
TypeScript
License
MIT
Created
2025-08-13
Last push
2025-08-22