Delphi MCP Server
An MCP server written in Delphi that connects Claude Code, Codex and other MCP clients to Delphi projects, with an extensible RTTI-based tool system, HTTP and stdio transport, and built-in security checks.
Delphi MCP Server is a Model Context Protocol server implemented natively in Delphi. It exposes an extensible, RTTI-based tool system and a modular resource system so MCP clients such as Claude Code and Codex can inspect and act on a Delphi codebase.
It serves both HTTP (Streamable HTTP with SSE) and STDIO transports from the same process, and supports JSON-RPC and Server-Sent Events side by side. Security features include Origin and Host validation against DNS rebinding, loopback binding by default, CORS headers, request size and nesting limits, and optional bearer authentication with OAuth 2.1 resource-server discovery. It also supports multi round-trip tool calls, streaming, and change-notification subscriptions.
It runs on Windows and Linux, uses Delphi's native Indy HTTP stack with no external runtime, and requires Delphi 11 Alexandria or later with no dependencies beyond the included libraries.