Interface McpResource

All Known Implementing Classes:
DiagnosticsResource, SymbolsResource

public interface McpResource
Interface for individual MCP resource implementations.
  • Method Details

    • definitions

      List<ResourceDefinition> definitions()
      The resource definitions this provider exposes.
    • handles

      boolean handles(String uri)
      Whether this provider handles the given URI.
    • read

      Read the resource at the given URI.