Package su.onno.mcp

Interface McpToolProvider

All Known Implementing Classes:
MetadataToolFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface McpToolProvider
Programmatic extension point for contributing tools to the onno MCP server.

Applications normally use McpTool; implement this interface when direct access to the MCP Java SDK tool specification is needed.

  • Method Summary

    Modifier and Type
    Method
    Description
    List<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification>
     
  • Method Details

    • tools

      List<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification> tools()