Package com.xebialabs.xlrelease.mcp.config


package com.xebialabs.xlrelease.mcp.config
  • Classes
    Class
    Description
    Keeps the MCP server's advertised tools/list in sync with the "read-only mode" feature setting, cluster-wide and without a restart.
    Acknowledges and discards notifications/roots/list_changed before it reaches the MCP servlet.
    Stands up an MCP server on the bare MCP Java SDK (no Spring AI starter): a Jackson JsonMapper carrying XlrMcpJacksonModule, the SDK's Servlet transport, the McpSyncServer with tool specs built by McpToolSpecifications from the McpToolset beans, and a ServletRegistrationBean mounting the transport (default /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.
    The bundle-to-host half of OSGi whiteboard: OsgiHostServiceBridge (core/xlr-server) already bridges host APIs INTO bundles; this bridges McpToolset services a bundle registers back OUT into the running McpSyncServer, live, no restart.