Class ChenileMCPInitializer

java.lang.Object
org.chenile.mcp.init.ChenileMCPInitializer
All Implemented Interfaces:
org.springframework.ai.tool.ToolCallbackProvider, InitializingBean

public class ChenileMCPInitializer extends Object implements org.springframework.ai.tool.ToolCallbackProvider, InitializingBean
Detects the ChenileMCP annotated services and operations in the Chenile configuration and exposes them as MCP tools. Each tool is a ChenileToolCallback, which invokes the operation through the Chenile entry point so that MCP calls pass through the chenile-highway like every other transport.