Class OsgiBundleDiagnosticContribution

java.lang.Object
org.apache.sling.mcp.server.impl.contribs.OsgiBundleDiagnosticContribution
All Implemented Interfaces:
org.apache.sling.mcp.server.spi.McpServerContribution

public class OsgiBundleDiagnosticContribution extends Object implements org.apache.sling.mcp.server.spi.McpServerContribution
MCP Tool that diagnoses why OSGi bundles and components aren't starting. This tool provides detailed diagnostic information about: - Bundle state and resolution issues - Unsatisfied package imports - Missing service dependencies for components - Configuration problems
  • Constructor Summary

    Constructors
    Constructor
    Description
    OsgiBundleDiagnosticContribution(org.osgi.framework.BundleContext ctx)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification>
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.sling.mcp.server.spi.McpServerContribution

    getSyncCompletionSpecification, getSyncPromptSpecification, getSyncResourceSpecification, getSyncResourceTemplateSpecification
  • Constructor Details

    • OsgiBundleDiagnosticContribution

      public OsgiBundleDiagnosticContribution(org.osgi.framework.BundleContext ctx)
  • Method Details

    • getSyncToolSpecification

      public List<io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification> getSyncToolSpecification()
      Specified by:
      getSyncToolSpecification in interface org.apache.sling.mcp.server.spi.McpServerContribution