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 -
Method Summary
Modifier and TypeMethodDescriptionList<io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification> Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getSyncToolSpecificationin interfaceorg.apache.sling.mcp.server.spi.McpServerContribution
-