BlaxML MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
BlaxML MCP
Autonomous Machine Learning MCP server powered by Blaxel
1. Demo Video
Related MCP server: Kaggle Dataset Analyst
2. What is 🏀 BlaxML MCP Server?
BlaxML MCP Server = Blaxel + Autonomous Machine Learning + MCP Server
The BlaxML MCP Server is a fully autonomous machine learning system built on top of Blaxel's sandboxing infrastructure, enabling AI agents to transform raw CSV datasets into completely trained and deployed machine learning models. And it doesn’t stop there; every deployed model comes with a built-in interactive Gradio GUI and a REST API endpoint, making inference accessible for both humans and applications.
3. Key Features
Automated ML Workflow: BlaxML handles everything except the agent’s reasoning. Once the agent decides what needs to be done, BlaxML takes over the entire workflow from profiling the CSV, training the model, managing sandboxes, and deploying the model automatically. Each deployed model runs inside its own isolated Blaxel sandbox, ensuring strong security and clean separation.
Powerful Dataset Profiler: BlaxML includes a dedicated CSV profiler that provides rich statistical insights, distributions, missing-value reports, outlier detection reports, and schema summaries. These insights give the agent the precise context it needs to choose the most effective training strategy.
Flexible Model Trainer: BlaxML includes a dedicated model trainer that supports Random Forest, SVM, and linear models for both regression and classification tasks. Agents define the task type, target column, feature set, and additional configuration options related to preprocessing, dataset splitting, and model-specific settings.
Automatic Model Deployment: BlaxML doesn’t just train models; it deploys them on demand. When the agent requests a deployment, BlaxML provisions a fresh, isolated Blaxel sandbox, transfers all model artifacts into it, launches an inference server, and creates a preview URL that is returned to the user.
Powerful Gradio Inference UI: BlaxML’s inference UI is fully type-aware and schema-driven and is exposed through both an interactive Gradio UI and a REST API. When a model is trained, BlaxML saves metadata for every feature's data types, valid categorical values, numeric ranges, and smart imputed defaults, which allows the deployed Gradio interface to automatically adapt; for example, if your CSV had a gender column with values male and female, the UI automatically renders a dropdown instead of a text box. Numeric fields display their observed training ranges, ideal for production use. The result is a self-adapting, intelligent inference UI with no manual setup required.
Optimized for Speed: You might think creating sandboxes, transferring files, profiling a CSV, training a model, and spinning up an inference server would take a lot of time, but it doesn’t. Blaxel sandboxes are lightweight, Docker-based environments that start up extremely fast, and both the profiler and trainer are built to run quickly even in non-GPU environments. The whole BlaxML workflow feels surprisingly snappy from start to finish.
4. Architecture
BlaxML uses a two-sandbox architecture built on Blaxel.
Components
BlaxML is built around three core components:
CSV Profiler: Profiles the dataset and generates rich statistical insights.
Model Trainer: Trains machine learning models based on agent-provided configuration options.
Inference Server: Serves the trained model with an intelligent, schema-aware UI and REST inference endpoint.
Sandbox Design
BlaxML runs using two sandbox images:
BlaxML Model Trainer Image: This image contains both the CSV profiler and model trainer. It runs inside a shared training sandbox reused across workflows. This sandbox handles:
CSV profiling
Model training
Metadata generation
Transfer of artifacts for deployment
BlaxML Model Server Image: This image contains the inference server. The model server runs inside a new sandbox created per deployment. Each deployed model runs in its own isolated server environment with:
Trained model artifacts
Dynamic Gradio UI
Workflow
Agent Requests a New Workflow: The agent calls
generate_request_id, and BlaxML prepares a fresh workspace.Agent Uploads the CSV: The agent calls
upload_and_profile_csv, sending the dataset to the training sandbox. BlaxML validates the file and stores it under/blaxel/<request_id>/dataset.csv.BlaxML Profiles the Dataset: The CSV profiler runs and produces
csv_profile.json, containing column summaries, data types, distributions, and missing-value insights.Agent Decides Training Parameters: Using the profiler’s output, the agent selects the configuration (task type, features, target, preprocessing options, etc.) and calls
train_model.BlaxML Trains the Model: The model trainer loads the dataset, applies preprocessing, trains the model, saves artifacts, and generates metadata for the inference UI.
Agent Requests Deployment: The agent calls
deploy_model, and BlaxML provisions a new model server sandbox for deployment.BlaxML Deploys the Model: The trained model and metadata are transferred to the server sandbox, the Gradio inference server launches, and a public preview URL is returned.
User Runs Inference: The deployed model is accessible through a schema-aware Gradio web UI and a REST inference endpoint, both powered by the isolated model server sandbox.
Agent thinks. BlaxML does the work. Blaxel runs the work safely and fast.
5. Quick Start
Install Blaxel CLI
Follow the official guide:
https://docs.blaxel.ai/cli-reference/introduction
Login to Blaxel
bl loginClone the Repository
git clone https://github.com/aniketppanchal/blax-ml-mcp
cd blax-ml-mcpDeploy Sandbox Images
bl deploy -d sandboxes/blax-ml-model-trainer
bl deploy -d sandboxes/blax-ml-model-serverSetup Environment Variables
export BL_API_KEY=your-api-key
export BL_WORKSPACE=your-workspace-nameInstall Python Dependencies
pip install -r requirements.txtRun the MCP Server
python -m blax_ml_mcp.mainYour MCP server will now be available at:
http://<your-public-mcp-url>/gradio_api/mcp/6. Configuration
BlaxML can be configured using environment variables.
Environment Variable | Default | Description |
| required | Blaxel API key. |
| required | Blaxel workspace name. |
|
| Blaxel region. Allowed values: |
|
| Host name used by the MCP server. Set to |
|
| Port used by the MCP server. |
|
| Whether to generate a public shareable URL for the MCP server. |
|
| Name of the model trainer sandbox. |
|
| Container image used to create the model trainer sandbox. |
|
| Memory allocation (MB) for the model trainer sandbox. Allowed values: |
|
| Container image used to create the model server sandbox. |
|
| Memory allocation (MB) for the model server sandbox. Allowed values: |
|
| Lifetime of the model server sandboxes before automatic shutdown. Supported units: |
|
| Maximum time (seconds) allowed for downloading a CSV dataset. |
|
| Maximum time (milliseconds) allowed for the dataset profiling. |
|
| Maximum time (milliseconds) allowed for the model training. |
7. Integrations
Claude Desktop (Requires npx)
Add/update your claude_desktop_config.json:
{
"mcpServers": {
"py-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://<your-public-mcp-url>/gradio_api/mcp/"
]
}
}
}LangChain
pip install langchain langchain-mcp-adapters langchain-openaiimport asyncio
from langchain.agents import create_agent
from langchain_mcp_adapters.client import MultiServerMCPClient
async def main() -> None:
client = MultiServerMCPClient(
{
"blax-ml-mcp": {
"transport": "http",
"url": "https://<your-public-mcp-url>/gradio_api/mcp/",
},
}
)
tools = await client.get_tools()
agent = create_agent(
model="openai:gpt-5.1",
tools=tools,
)
query = "Train and deploy a model using this CSV: https://<your-dataset-url>.csv"
response = await agent.ainvoke({"messages": query})
print(response["messages"][-1].content)
if __name__ == "__main__":
asyncio.run(main())8. License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Build and publish full-stack apps from your coding agent: models, rules, pages, auth, per-app MCP.
The cloud for agents. Tools for AI agents to register, build, and deploy other agents. Zero human required.
Deploy and manage your apps, databases, storage, and scheduled jobs from your AI agent
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables autonomous data exploration on .csv-based datasets, providing intelligent insights with minimal effort.2544MIT
- FlicenseAqualityDmaintenanceEnables exploratory data analysis and machine learning on CSV datasets with tools for profiling, missing values, correlation, plotting, model training, and prediction.8-
- AlicenseNot gradedqualityCmaintenanceEnables any MCP client to run a complete data-science pipeline on a CSV: exploration, cleaning, model comparison, training, tuning, and plain-language analysis. Exposes nine tools that turn raw data into trained models and reports.1MIT
- FlicenseNot gradedqualityCmaintenanceExposes an agentic AutoML pipeline as a callable tool so any MCP client can upload a CSV and natural language goal and receive a full ML analysis report with SHAP visualizations. Enables autonomous problem understanding, data cleaning, feature engineering, model training, and explainability through a single remote tool call.-