MCPServer

mcp.spad line 1 [edit on github]

This domain provide an interface to start the MCP (Model Context Protocol) server.

sendDisplay: (String, String) -> Void

sendDisplay(kind, data) sends a display notification to the MCP client.

start: () -> Void

start() starts the MCP server in a background thread.

stop: () -> Void

stop() stops the active MCP server thread.