Skip to content
@archipel/platform-mcp Auto-generated

@breadstone/archipel-platform-mcp

Classes

ClassDescription
McpDiscoveryServiceDiscovers all NestJS providers that have methods decorated with @McpTool, @McpResource, or @McpPrompt and registers them in the McpRegistryService.
McpModuleNestJS dynamic module that bootstraps an MCP server.
McpRegistryServiceCentral registry that stores all MCP tool, resource, and prompt handlers discovered from NestJS providers.
McpServerServiceManages the MCP server lifecycle. Creates the McpServer instance, registers all discovered handlers from the registry, and provides methods to connect various transports.

Interfaces

InterfaceDescription
IMcpHandlerMetadataInternal metadata stored for each decorated handler method.
IMcpModuleAsyncOptionsAsync options for configuring the MCP module via a factory.
IMcpModuleOptionsOptions for configuring the MCP module.
IMcpModuleOptionsFactoryFactory interface for creating MCP module options.
IMcpPromptMetadataMetadata describing an MCP prompt registration.
IMcpResourceMetadataMetadata describing an MCP resource registration.
IMcpToolMetadataMetadata describing an MCP tool registration.
IRegisteredPromptEntry for a registered prompt handler.
IRegisteredResourceEntry for a registered resource handler.
IRegisteredToolEntry for a registered tool handler.
ISseTransportOptionsOptions for creating an SSE transport.
IStreamableHttpTransportOptionsOptions for creating a Streamable HTTP transport.

Variables

VariableDescription
MCP_MODULE_OPTIONSInjection tokens used by the MCP module.

Functions

FunctionDescription
McpPromptMarks a method as an MCP prompt handler.
McpResourceMarks a method as an MCP resource handler.
McpToolMarks a method as an MCP tool handler.

Released under the MIT License.