Skip to content

server

diapason.mcp.server

MCP Server — wraps Diapason tools as MCP-discoverable tools.

MCPServer

MCP server that exposes Diapason tools via JSON-RPC.

Parameters

tools: List of BaseTool instances to expose. If None, auto-discovers all registered tools from ToolRegistry.

get_tools()

Return all tool instances (for use by SystemBuilder).

handle(request)

Dispatch an MCP request and return a response.