JM

javierustk/mormot-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

22 stars 4 forks 품질 72 트렌드 24MIT

전체 MCP 2025-06-18 사양 구현 Delphi mORMot2

개요

MORMot2 프레임 워크를 사용하여 고성능 모델 Context Protocol (MCP) 서버 구현. (stateless per-request model, server/discover, subscriptions/listen)는 SSE를 통해 초기 클라이언트 (2024-11-05를 통해 2025-11-25) 및 양방향 알림과 완벽한 백워드 호환성을 갖추고 있습니다. - - mORMot2 - - SSE - - - TDocVariant를 사용하여 전체 프로토콜 지원 - 사용자 정의 도구, 리소스 및 프롬프트로 확장하기 쉬운 - - Delphi 및 Free Pascal와 호환 - JSON Schema validation 및 listChanged 알림을 사용하여 사용자 정의 도구를 등록하십시오 - 목록, 읽기, 템플릿 및 URI 기반 액세스와 구독 - 목록 및 여러 콘텐츠 유형 (텍스트, 이미지, 오디오, 리소스) - - RFC 5424 로그 레벨이있는 설정 레벨 방법 - 신속한 및 리소스를위한 Argument 자동 컴파일 - JSON-RPC newline-delimited, stderr에 로그 - - Server-Sent Events (SSE), CORS 및 TLS 지원이있는 REST API - Cryptographic 세션 ID ...

개요(AI 번역)

카지노사이트

mORMot2 프레임 워크를 사용하여 고성능 모델 Context Protocol (MCP) 서버 구현.

** 발효 MCP 사양 2026-07-28** (stateless per-request model, server/discover], subscriptions/listen]) 초기 클라이언트와 완전 백워드 호환성 (2024-11-05 through 2025-11-25) 및 SSE를 통해 양방향 알림.

특징

핵심

-Pure mORMot2 구현 - mORMot2를 넘어 외부 의존성 없음

  • Dual Transport support - SSE를 가진 stdio 및 HTTP
  • JSON-RPC 2.0 - TDocVariant를 이용한 전체 프로토콜 지원
  • Modular Architecture - 사용자 정의 도구, 리소스 및 프롬프트로 확장하기 쉬운
  • Cross-platform - Delphi 및 Free Pascal과 호환

MCP 능력

-Tools - JSON Schema 검증 및 listChanged 알림을 사용하여 사용자 정의 도구 등록 -Resources - URI 기반 액세스와 목록, 읽기, 템플릿 및 구독

  • Prompts - 목록 및 여러 내용 유형 (텍스트, 이미지, 오디오, 리소스)
  • **로깅 ** - setLevel RFC 5424 로그 레벨의 방법
  • ** 완료 ** - 신속한 및 리소스에 대한 Argument 자동 컴파일

수송 층

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

mORMot2 MCP Server

🇪🇸 Leer en español

High-performance Model Context Protocol (MCP) server implementation using the mORMot2 framework.

Implements MCP Specification 2026-07-28 (stateless per-request model, server/discover, subscriptions/listen) with full backward compatibility with initialize-based clients (2024-11-05 through 2025-11-25) and bidirectional notifications via SSE.

Features

Core

  • Pure mORMot2 implementation - No external dependencies beyond mORMot2
  • Dual transport support - stdio and HTTP with SSE
  • JSON-RPC 2.0 - Full protocol support using TDocVariant
  • Modular architecture - Easy to extend with custom tools, resources, and prompts
  • Cross-platform - Compiles with Delphi and Free Pascal

MCP Capabilities

  • Tools - Register custom tools with JSON Schema validation and listChanged notifications
  • Resources - List, read, templates, and subscriptions with URI-based access
  • Prompts - List and get with multiple content types (text, image, audio, resource)
  • Logging - setLevel method with RFC 5424 log levels
  • Completion - Argument auto-completion for prompts and resources

Transport Layer

  • stdio transport - JSON-RPC newline-delimited, logs to stderr
  • HTTP transport - REST API with Server-Sent Events (SSE), CORS, and TLS support
  • Session management - Cryptographic session IDs (128-bit)
  • SSE notifications - Real-time bidirectional communication
  • Keepalive - Configurable SSE keepalive (default 30s)
  • Graceful shutdown - SIGTERM/SIGINT handling with 5s timeout
  • Event bus - Thread-safe pub/sub for internal notification routing

Notifications

  • notifications/tools/list_changed - Tool registration changes
  • notifications/resources/list_changed - Resource changes
  • notifications/resources/updated - Subscribed resource updates
  • notifications/prompts/list_changed - Prompt changes
  • notifications/message - Log messages
  • notifications/progress - Progress updates
  • notifications/cancelled - Request cancellation

Requirements

  • mORMot2 framework
  • Delphi 10.3+ (tested) or Free Pascal 3.2+ (not yet tested)

Project Structure

mORMot-MCP-Server/
├── MCPServer.dpr           # Delphi project
├── MCPServer.lpr           # Free Pascal project
├── MCPServer.lpi           # Lazarus project
├── src/
│   ├── Core/
│   │   ├── MCP.Manager.Registry.pas   # Manager registration
│   │   └── MCP.Events.pas             # Event bus (pub/sub)
│   ├── Protocol/
│   │   └── MCP.Types.pas              # Core types and settings
│   ├── Transport/
│   │   ├── MCP.Transport.Base.pas     # Transport abstraction
│   │   ├── MCP.Transport.Stdio.pas    # stdio transport
│   │   └── MCP.Transport.Http.pas     # HTTP + SSE transport
│   ├── Server/
│   │   └── MCP.Server.pas             # Legacy HTTP server
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mormot-server": { "command": "C:\\path\\to\\MCPServer.exe", "args": ["--transport=stdio"] } } }