Provides a NestJS-based framework for defining and managing Model Context Protocol (MCP) resources and tools through decorators and metadata scanning.
Sponsored
This library offers a robust solution for developers to build Model Context Protocol (MCP) servers using the NestJS framework. It simplifies the definition and management of MCP resources and tools by leveraging decorators and automated metadata scanning. With support for JSON-RPC 2.0, an extensible executor pattern, and session management, it provides a powerful foundation for creating modular and context-aware backend services.
Características Principales
01Extensible architecture using an Executor pattern
02Decorator-based definition of resources and tools
030 GitHub stars
04Session management via 'mcp-session-id' header
05Standard JSON-RPC 2.0 protocol support
06Automatic metadata scanning for classes and methods
Casos de Uso
01Building extensible applications where functionalities can be dynamically defined and managed
02Creating standardized API interfaces for diverse system interactions
03Developing modular backend services that expose specific tools and resources