GD 

gdksoftware/delphi-mcp-server 是从 https://github.com/gdksoftware/delphi-mcp-server. 导入的 MCP 服务器候选
概览
gdksoftware/delphi-mcp-server 是从 https://github.com/gdksoftware/delphi-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
-绿色)
Delphi 中的模型上下文协议(MCP)服务器实现,旨在与 Claude Code、Codex 及其他兼容 MCP 的客户端集成,用于 AI 驱动的 Delphi 开发工作流。
目录
- 特色
- 要求
- 安装
- 交通方式
- 协议版本与双时代行为
- 作为库使用
- 与 Claude 代码的集成
- 与Codex的集成
- 使用MCP检测器进行测试
- 可用的示例工具
- 可用的示例提示词
- 可用示例资源
- 配置
- 认证
- 网络与安全
- 许可证
- 贡献
- 关于GDK软件
- 支持
- 商业支持
特色
- 双时代MCP:在同一端点和同一标准进程上,服务MCP 2026-07-28(按请求
_meta,server/discover)及基于初始化的修订版2025-06-18和2025-11-25;参见协议版本 - 双重传输支持:HTTP(带SSE的可流式HTTP)和STDIO(stdin/stdout)
- 双响应模式:支持同一服务器内的JSON-RPC和服务器发送事件
- 工具系统:可扩展的工具系统,基于RTTI的发现和执行
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Delphi MCP Server
A Model Context Protocol (MCP) server implementation in Delphi, designed to integrate with Claude Code, Codex, and other MCP-compatible clients for AI-powered Delphi development workflows.
Table of Contents
- Features
- Requirements
- Installation
- Transport Modes
- Protocol Versions and Dual-Era Behaviour
- Using as a Library
- Integration with Claude Code
- Integration with Codex
- Testing with MCP Inspector
- Available Example Tools
- Available Example Prompts
- Available Example Resources
- Configuration
- License
- Contributing
- About GDK Software
- Support
- Commercial Support
Features
- Dual-era MCP: Serves MCP 2026-07-28 (per-request
_meta,server/discover) and the initialize-based revisions 2025-06-18 and 2025-11-25 on the same endpoint and the same stdio process; see Protocol versions - Dual Transport Support: HTTP (Streamable HTTP with SSE) and STDIO (stdin/stdout)
- Dual Response Mode: Supports both JSON-RPC and Server-Sent Events in the same server
- Tool System: Extensible tool system with RTTI-based discovery and execution
- Resource Management: Modular resource system supporting various content types
- Security:
OriginandHostvalidation against DNS rebinding on every request, loopback binding by default, CORS headers for browser clients, request size and nesting limits, opt-in bearer authentication with OAuth 2.1 resource-server discovery - Multi round-trip requests, streaming and subscriptions:
InputRequiredResultwith signedrequestState, progress and log notifications on the response stream,subscriptions/listenfor change notifications - Native HTTP stack: Indy HTTP server with keep-alive, no external runtime
- Optional Parameters: Support for optional tool parameters using custom attributes
- Cross-Platform: Supports Windows (Win32/Win64) and Linux (x64)
Requirements
- Delphi 11 Alexandria or later. The source uses no language feature beyond inline variables (10.3) and no RTL unit newer than Delphi 11; development happens on Delphi 12 Athens, which is what the default project files target.
安装
npx @modelcontextprotocol/inspector