Package-level declarations

Types

Link copied to clipboard
class McpTool(mcpClient: Client, descriptor: ToolDescriptor, metadata: Map<String, String>) : Tool<JSONObject, CallToolResult?>

A Tool implementation that calls an MCP (Model Context Protocol) tool.

Link copied to clipboard

Parsers tool definition from MCP SDK to our tool descriptor format.

Link copied to clipboard

A provider for creating tool registries that connect to Model Context Protocol (MCP) servers.

Functions

Link copied to clipboard

Creates a default standard input/output transport for a provided process.

Link copied to clipboard
suspend fun McpToolRegistryProvider.fromProcess(process: Process, clientInfo: Implementation = Implementation(DEFAULT_MCP_CLIENT_NAME, DEFAULT_MCP_CLIENT_VERSION), mcpToolParser: McpToolDescriptorParser = DefaultMcpToolDescriptorParser): ToolRegistry

Creates a Mcp ToolRegistry instance from a process using default standard input/output transport.