
skybuckflying/delphi-lsp-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Delphi 11, 12, 13 LSP 서버 (DelphiLSP.exe <- 유효한 Delphi/Embarcadero 면허를 요구하십시오!)
개요
AI 조수 및 기타 MCP 클라이언트에 Language Server Protocol (LSP) 기능을 노출하는 Model Context Protocol (MCP) 서버. - Embarcadero Delphi (DelphiLSP.exe) - 무료 Pascal (pasls.exe) - MCP 명세: - LSP 명세: - JSON-RPC 2.0을 사용하여 MCP ↔ LSP 브리지 - 스트로디 기반 교통 - 동적 작업 공간 발견 - AI 에이전트를위한 Semantic 코드 인텔리전스 - Delphi 및 무료 Pascal 지원 - Debugger 동기화 지원 (---wait) - 자동 프로젝트 발견 (.dpr / .lpr) - LSP 리트리 논리 및 자동 문서 오픈 - 호환 : - Claude 데스크톱 - Gemini-CLI - 격판 - 기타 MCP 호환 클라이언트 - 정의로 이동 - 참조 찾기 - Hover Information - Code Completion - Workspace Symbol Search - MCP 사양 (2025-11-25) https://modelcontextprotocol.io/specification/2025-11-25 - 언어 서버 프로토콜 명세 3.17 https://microsoft.github.io/language-server-protocol/specifications/lsp/3.
개요(AI 번역)
AI 조수 및 기타 MCP 클라이언트에 Language Server Protocol (LSP) 기능을 노출하는 Model Context Protocol (MCP) 서버.
둘 다 지원:
- 엠바카데로 델파이(
DelphiLSP.exe) - 무료 파스칼 (
pasls.exe)
목표 명세
- MCP 사양 : ** 2025-11-25 **
- LSP 사양: 3.17
특징
- JSON-RPC 2.0을 이용한 MCP ↔ LSP 브리지
- stdio 기반 운송
- 동적 작업 공간 discovery
- AI Agent를 위한 Semantic 부호 정보
- Delphi 및 무료 Pascal 지원
- Debugger 동기화 지원 (
--wait) - 자동 프로젝트 발견 (
.dpr] /.lpr) - LSP 리트리 논리 및 자동 문서 오픈
- 호환 :
- Claude 데스크탑
- 보석
- 방사성
- 기타 MCP 호환 클라이언트
지원된 가동
- 정의로 이동
- 참조
- Hover 정보
- 코드 완료
- Workspace Symbol 검색
프로젝트 정보
| 상품 | 상세 | 인포메이션 | 작성자 | 스카이벅 비행 | | 연락처 | [email protected] | | 버전 | 0.08 | 인포메이션 | [T5] |
명세
- MCP 명세 (2025-11-25) https://modelcontextprotocol. https://modelcontextprotocol.] [T6]] [T6]] [T6]] [T6]] [T6]] [T6]] [T6]] [T6] [T6] [T6]] [T6]] [T6]] [T6] [T6]] [T6] [T6]] [T6]] [T6] [T6]] [T6] [T6] [T6]] [T6]] [T6]] [T6] [T6]] [T6]] [T6] [T6] [T6] [T6] https://modelcontextprotocol.]]] [T6]]] https://modelcontextprotocol. https://modelcontextprotocol.] https://modelcontextprotocol.]]] https://modelcontextprotocol.] https://modelcontextprotocol.]]] https://modelcontextprotocol. [[https://modelcontextprotocol.]]]]]]]]] https://modelcontextprotocol.]]]]]]]]]]]]]]]]]]
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Delphi LSP MCP Server
A Model Context Protocol (MCP) server that exposes Language Server Protocol (LSP) capabilities to AI assistants and other MCP clients.
Supports both:
- Embarcadero Delphi (
DelphiLSP.exe) - Free Pascal (
pasls.exe)
Target Specifications
- MCP Specification: 2025-11-25
- LSP Specification: 3.17
Features
- MCP ↔ LSP bridge using JSON-RPC 2.0
- stdio-based transport
- Dynamic workspace discovery
- Semantic code intelligence for AI agents
- Delphi and Free Pascal support
- Debugger synchronization support (
--wait) - Automatic project discovery (
.dpr/.lpr) - LSP retry logic and auto-document-open
- Compatible with:
- Claude Desktop
- Gemini-CLI
- Antigravity
- Other MCP-compatible clients
Supported Operations
- Go to Definition
- Find References
- Hover Information
- Code Completion
- Workspace Symbol Search
Project Information
| Item | Details |
|---|---|
| Author | Skybuck Flying |
| Contact | [email protected] |
| Version | 0.08 |
| Repository | https://github.com/SkybuckFlying/Delphi-LSP-MCP-Server |
Specifications
-
MCP Specification (2025-11-25)
https://modelcontextprotocol.io/specification/2025-11-25 -
Language Server Protocol Specification 3.17
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/
Requirements
- Windows OS
- Delphi 13 (RAD Studio 13.0+) or Free Pascal
DelphiLSP.exeorpasls.exe
Building
Delphi IDE
- Open
DelphiLSPMCPServer.dpr - Select Project → Build
Command Line
dcc64 DelphiLSPMCPServer.dpr
Usage
Command Line Options
DelphiLSPMCPServer [options]
Options:
--lsp-path Path to LSP executable
--workspace Workspace root or file:// URI
--log-level debug, info, warning, error
--debug Enable verbose diagnostics
--wait Wait for debugger before startup
--help Show help
Dynamic Workspace Discovery
Starting with v0.05, the server can automatically determine the active workspace.
Detection Strategy
-
MCP
initializerequest- Reads
rootUriorrootPath
- Reads
-
Current Working Directory fallback
-
Automatic
.dpr/.lprproject detection
This allows AI agents to switch projects dynamically without restarting the server configuration.
AI Optimization
The repository includes:
DelphiLSP.md
This file instructs AI agents to prioritize semantic tools such as:
hovergoto_definition
instead of relying on text-based searches.
Recommended GEMINI.md Setup
# Project Context
Refer to DelphiLSP.md for semantic code analysis instructions.
Use LSP semantic tools instead of grep/text searching whenever possible.
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"delphi-lsp": {
"command": "C:\\Tools\\DelphiLSPMCPServer.exe",
"args": [
"--log-level",
"info",
"--lsp-path",
"G:\\Tools\\PascalLanguageServer\\pasls.exe"
]
}
}
}