mcp/mcp_tool library

MCP Tool interface and base implementations

Classes

McpSchema
Common JSON Schema helpers for tool input schemas
McpSyncTool
Simple synchronous tool (for operations that don't need async)
McpTool
Base interface for all MCP tools
McpToolBase
Base class for tools that simplify implementation
McpToolRegistry
Tool registry for managing multiple tools