Package com.xebialabs.xlrelease.mcp.config
package com.xebialabs.xlrelease.mcp.config
-
ClassesClassDescriptionKeeps the MCP server's advertised
tools/listin sync with the "read-only mode" feature setting, cluster-wide and without a restart.Acknowledges and discardsnotifications/roots/list_changedbefore it reaches the MCP servlet.Stands up an MCP server on the bare MCP Java SDK: a JacksonJsonMapperwithXlrMcpJacksonModule, the SDK's Servlet transport, and theMcpSyncServerwith tool specs from theMcpToolsetbeans, mounted at/s/mcp.Runtime gate: answers 404 while the "MCP server" feature setting is disabled, so the endpoint can be toggled from the UI without a restart.BridgesMcpToolsetservices a bundle registers out into the runningMcpSyncServer, live and without restart, via aServiceTracker.