Abstract Mcp Server Configuration
Abstract base configuration for MCP server modes (sync/async).
Implements the template method pattern to share initialization logic between sync and async server configurations. Handles tool, resource, and prompt exposure, and provides hooks for subclass customization.
Inheritors
Functions
Link copied to clipboard
Converts tool callback objects to tool specifications for the server.
Link copied to clipboard
Creates the banner tool callback provider.
Link copied to clipboard
Creates the server strategy for sync or async mode.
Link copied to clipboard
Event listener that triggers MCP server initialization after agent scanning.
Link copied to clipboard
Retrieves all prompt publishers registered in the application context.
Link copied to clipboard
Retrieves all resource publishers registered in the application context.
Link copied to clipboard
Retrieves all tool publishers registered in the application context.