Open Source Delphi MCP Server

Written by Marco Geuze
Director

29 July 2025

TL;DR: We’ve open-sourced our Model Context Protocol (MCP) server for Delphi, enabling seamless integration with Claude Code and other AI assistants for enhanced Delphi development workflows.

Delphi MCP Server provides:

    • Full MCP Protocol Support: Implements the Model Context Protocol specification for seamless AI integration
    • Tool System: Extensible tool system with RTTI-based discovery and execution
    • Resource Management: Modular resource system supporting various content types
    • JSON-RPC 2.0: Standards-compliant JSON-RPC implementation
    • Security: Built-in security features including CORS configuration
    • High Performance: Native implementation using Indy HTTP Server
    • Optional Parameters: Support for optional tool parameters using custom attributes
    • Cross-Platform: Supports Windows (Win32/Win64) and Linux (x64)

Quick Example

// Create a custom tool in minutes
TMyTool = class(TMCPToolBase<TMyToolParams>)
protected
  function ExecuteWithParams(const AParams: TMyToolParams): string; override;
public
  constructor Create; override;
end;

// Register it automatically
initialization
  TMCPRegistry.RegisterTool('my_tool', 
  function: IMCPTool 
  begin 
    Result := TMyTool.Create; 
  end);

Get Involved

  • ⭐ Star the project on GitHub
  • 🐛 Report issues or request features
  • 🔀 Submit pull requests – we especially welcome new tool contributions

Need Custom Development?

While Delphi MCP Server is free and open source, if you need custom Delphi development or AI integration for your business applications, let’s talk

Contact

Let us help you to realise your ambitions