McpAsyncServerConfiguration

class McpAsyncServerConfiguration(applicationContext: <Error class: unknown class>) : AbstractMcpServerConfiguration

Configuration for the asynchronous MCP server. Uses the template method pattern to provide beans and server strategy for async mode.

Parameters

applicationContext

the Spring application context

Constructors

Link copied to clipboard
constructor(applicationContext: <Error class: unknown class>)

Functions

Link copied to clipboard
fun asyncBannerCallback(): <Error class: unknown class>
Link copied to clipboard
open override fun convertToToolSpecifications(toolCallbacks: List<Any>): List<Any>

Converts a list of tool callback objects to async tool specifications.

Link copied to clipboard
open override fun createBannerTool(): <Error class: unknown class>

Creates a banner tool callback provider for the asynchronous MCP server.

Link copied to clipboard

Creates the server strategy specific to async mode. Retrieves the McpAsyncServer bean from the application context.

Link copied to clipboard

Event listener that triggers MCP server initialization after agent scanning.

Link copied to clipboard

Returns all async prompt publishers registered in the application context.

Link copied to clipboard

Returns all async resource publishers registered in the application context.

Link copied to clipboard

Returns all tool callback publishers registered in the application context.