Package com.xebialabs.xlrelease.mcp.config
package com.xebialabs.xlrelease.mcp.config
-
ClassesClassDescriptionOAuth 2.0 discovery for the MCP endpoint, active only under the
oidcAuthprofile — i.e.Keeps the MCP server's advertisedtools/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.BridgesMcpToolsetextensions - whichever plugin contributed them, and however it authored the contribution (a Spring plugin context bean or a Declarative Services component) - out into the runningMcpSyncServer, live and without restart, by subscribing toPluginExtensionRegistryImpl's add/remove events.