Delphi
Native Delphi Server implementation of the Model Context Protocol (MCP)
What is Delphi?
Delphi is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to native delphi server implementation of the model context protocol (mcp)
Native Delphi Server implementation of the Model Context Protocol (MCP)
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Native Delphi Server implementation of the Model Context Pro
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx delphi-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Delphi
The Delphi MCP Server is a native Pascal/Delphi implementation of the Model Context Protocol, providing a working HTTP and stdio MCP server built entirely with Delphi and Free Pascal. It ships with four example tools (echo, get_time, list_files, calculate) and four resources (project info, readme, recent logs, server status) to demonstrate the protocol, and serves as a foundation for Delphi developers who want to build MCP-compatible services using their existing Pascal codebase. Teams maintaining legacy Delphi applications can extend this server to expose business logic to any MCP-compatible AI client.
Prerequisites
- Delphi IDE (RAD Studio) or Free Pascal / Lazarus installed for compilation
- Git to clone the repository
- An MCP-compatible client such as Claude Desktop or Claude Code to connect
- Windows (primary target), with Linux 64-bit also supported via cross-compilation
Clone the repository
Clone the Delphi MCP Server repository to your development machine.
git clone https://github.com/GDKsoftware/Delphi-MCP-Server.git
cd Delphi-MCP-ServerBuild the server on Windows
Run the provided build script to compile the Delphi source into an executable.
build.batBuild for Linux 64-bit (optional)
Cross-compile a Linux binary using the build script with the Release Linux64 target.
build.bat Release Linux64Start the server in HTTP mode
Run the compiled executable without arguments to start the HTTP MCP server. It will listen on port 3000 by default.
.\DelphiMCPServer.exe
# Server will be available at: http://localhost:3000/mcpAdd the server to Claude Code via HTTP transport
Register the running Delphi MCP server with Claude Code using the HTTP transport flag.
claude mcp add --transport http delphi-mcp-server http://localhost:3000/mcpConfigure SSL (optional)
To enable HTTPS, edit the settings.ini file in the server directory and set Enabled=1 under the [SSL] section, providing paths to your CertFile and KeyFile.
Delphi Examples
Client configuration
Claude Desktop config connecting to the Delphi MCP server running in HTTP mode on localhost.
{
"mcpServers": {
"delphi-mcp-server": {
"command": "claude",
"args": ["mcp", "add", "--transport", "http", "delphi-mcp-server", "http://localhost:3000/mcp"]
}
}
}Prompts to try
These prompts test the four example tools and four resources included in the Delphi MCP Server.
- "Echo the message 'Hello from Delphi' back to me"
- "What is the current server time?"
- "List the files in the server's working directory"
- "Calculate 42 * 7 + 15"
- "Show me the project info resource"
- "Get the server status"
- "Show me the recent server logs"Troubleshooting Delphi
build.bat fails with 'compiler not found' or Delphi path errors
Ensure Delphi RAD Studio or Free Pascal is installed and the compiler (dcc32.exe or fpc) is on your system PATH. Update any path references in build.bat to match your installation directory.
MCP Inspector or Claude Code cannot connect to http://localhost:3000/mcp
Verify the server process is running (check Task Manager on Windows). Confirm port 3000 is not in use by another application: netstat -ano | findstr :3000. Check the settings.ini file for any configured port overrides.
STDIO mode not working with Claude Desktop
For stdio mode, run the executable with the --stdio flag: .\DelphiMCPServer.exe --stdio. In claude_desktop_config.json set 'command' to the full path of the executable and 'args' to ['--stdio'].
Frequently Asked Questions about Delphi
What is Delphi?
Delphi is a Model Context Protocol (MCP) server that native delphi server implementation of the model context protocol (mcp) It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Delphi?
Follow the installation instructions on the Delphi GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Delphi?
Delphi works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Delphi free to use?
Yes, Delphi is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Delphi Alternatives — Similar Developer Tools Servers
Looking for alternatives to Delphi? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Delphi in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Delphi?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.