Skip to main content

Module mcp

Module mcp 

Source
Expand description

MCP (Model Context Protocol) Server Module

Exposes batuta functionality as MCP tools for Claude Code and other MCP clients. Uses JSON-RPC 2.0 over stdio transport.

§Tools

  • hf_search - Search HuggingFace Hub for models, datasets, spaces
  • hf_info - Get metadata for a HuggingFace asset
  • hf_tree - Show HuggingFace ecosystem component tree
  • hf_integration - Show PAIML ↔ HuggingFace integration map
  • stack_status - Show PAIML stack component status
  • stack_check - Run stack health check

Structs§

ContentBlock
Content block in tool result
InputSchema
JSON Schema for tool input
JsonRpcError
JSON-RPC 2.0 error
JsonRpcRequest
JSON-RPC 2.0 request
JsonRpcResponse
JSON-RPC 2.0 response
McpServer
MCP Server for batuta HuggingFace tools
PropertySchema
Property schema for tool parameters
ServerCapabilities
MCP server capabilities
ToolCallResult
MCP tool call result
ToolDefinition
MCP tool definition
ToolsCapability
Tools capability declaration