McpSyncServerConfiguration

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

Spring configuration for the MCP sync server.

Uses the template method pattern to provide sync-specific server strategy, tool, resource, and prompt publishers, and tool specification conversion.

Parameters

applicationContext

the Spring application context

Constructors

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

Functions

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

Converts tool callback objects to sync tool specifications.

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

Creates the banner tool callback provider for the sync server.

Link copied to clipboard

Creates the sync server strategy.

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.

Link copied to clipboard
fun syncBannerCallback(): <Error class: unknown class>

Registers the banner tool callback bean for the sync server.