LLM Integration for TuiML.
Run the MCP server:
python -m tuiml.agent.mcp.server
Or configure in Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"tuiml": {
"command": "tuiml-mcp"
}
}
}>>> from tuiml.agent import execute_tool
>>>
>>> # Train any algorithm by name
>>> result = execute_tool(
... "tuiml_train",
... algorithm="RandomForestClassifier",
... data="iris",
... target="class",
... cv=10
... )
>>>
>>> # List available algorithms
>>> result = execute_tool("tuiml_list", category="algorithm")