mlops-engine
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.
MLOps Model Context Protocol (MCP) Server
A production-grade Python Model Context Protocol (MCP) server built with the official mcp.server.fastmcp SDK, designed for local offline Machine Learning operations, dataset profiling, dynamic classification training, hyperparameter optimization, and evaluation metric visualization.
Key Architectural Principles
Protocol Standards: Implements the Model Context Protocol (MCP) over standard input/output (
stdio) transport.Stdout Framing Isolation: Standard output (
sys.stdout) is strictly reserved for JSON-RPC 2.0 frames (tools/call,tools/list, etc.). Zeroprint()statements are allowed.Stderr Operational Logging: All debugging information, training progress, and tracebacks are routed strictly to
sys.stderrvia Python's standardloggingand direct stream flushes.100% Offline Execution: Operates on local files using
pandas,numpy, andscikit-learnwithout external APIs.
Related MCP server: AutoDS Copilot
Implemented Tools Ecosystem (9 Production MLOps Tools)
# | Tool Signature | Description |
1 |
| Inspects CSV metadata, imputes missing values (median for numeric, mode for categorical), saves |
2 |
| One-hot encodes features, performs an 80/20 train/test split, fits Random Forest or Gradient Boosting, and generates precision, recall, F1, and accuracy tables. |
3 |
| Executes 3-fold cross-validated hyperparameter search over estimators and tree depth, logs progress to |
4 |
| Uses |
5 |
| Trains an Artificial Neural Network (ANN) using Keras/TensorFlow (or scikit-learn MLP fallback). Handles scaling, loss curves, milestone checkpoints, and test accuracy. |
6 |
| Builds a deep 3-layer MLP with Batch Normalization, Dropout (30%/20%), L2 regularization, and Early Stopping. Outputs macro/weighted F1 metrics and convergence epoch. |
7 |
| Synthesizes a ready-to-run interactive Streamlit web dashboard with CSV uploader, interactive hyperparameter tuning, model training, and confusion matrix visualization. |
8 |
| Generates a self-contained, responsive HTML website report with embedded base64 confusion matrix images, metric statistics, and MLOps recommendations. |
9 |
| Introspects and returns the comprehensive catalog of all 9 registered MCP tools, model architectures, hyperparameter spaces, and transport rules. |
Quickstart Setup
1. Create and Activate Virtual Environment
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate2. Install Dependencies
pip install -r requirements.txt3. Test with MCP Inspector
Inspect and interactively call the tools using the official MCP CLI:
npx @modelcontextprotocol/inspector python ml_server.py4. Configure in VS Code, Cursor, or Claude Desktop
A. VS Code (Cline / Roo Code / Continue)
Install Cline or Roo Code from the VS Code Extensions Marketplace (
Ctrl+Shift+X/Cmd+Shift+X).Open Cline settings > MCP Servers > Configure MCP Servers (
cline_mcp_settings.json).Add the server entry:
{
"mcpServers": {
"mlops-engine": {
"command": "/ABSOLUTE/PATH/TO/.venv/bin/python",
"args": [
"/ABSOLUTE/PATH/TO/ml_server.py"
],
"env": {
"PYTHONUNBUFFERED": "1"
},
"disabled": false
}
}
}(On Windows, use .venv\Scripts\python.exe with double backslashes \\).
B. Cursor IDE
Go to Settings (
Cmd+,orCtrl+,) > Features > MCP.Click + Add New MCP Server.
Set:
Name:
mlops-serverType:
commandCommand:
/ABSOLUTE/PATH/TO/.venv/bin/python /ABSOLUTE/PATH/TO/ml_server.py
Click Save. The status dot will turn green.
C. Claude Desktop
Add to your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mlops-engine": {
"command": "python",
"args": [
"/absolute/path/to/ml_server.py"
],
"env": {
"PYTHONUNBUFFERED": "1"
}
}
}
}5. Example Prompts to Ask in VS Code / Cursor
"Profile and clean 'sample_dataset.csv', impute any missing values, and report statistics."
"Train a Random Forest classifier on 'sample_dataset.csv' predicting 'churn' with 80/20 train/test split."
"Run 3-fold cross-validated hyperparameter optimization for tree depth and estimators."
"Train an Artificial Neural Network on 'sample_dataset.csv' for 30 epochs and output test accuracy."
"Generate a 300-DPI confusion matrix heatmap and export an HTML executive report."
"Synthesize a ready-to-run interactive Streamlit web dashboard 'app.py' for customer churn."
6. Running Generated Artifacts
Streamlit Web Dashboard: Run
streamlit run app.pyto open the interactive UI in your browser.Standalone HTML Report: Open
ml_report.htmlin any web browser to view embedded visualizations and metrics.Confusion Matrix: View
confusion_matrix.pngdirectly in VS Code.
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 and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables training and using machine learning models on local CSV datasets or data from other MCP servers, supporting tasks like forecasting, regression, classification, and anomaly detection.-
- 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
- AlicenseAqualityBmaintenanceEnables training and comparing Logistic Regression and KNN classifiers, generating predictions, confusion-matrix metrics, model selection, SHAP explanations, and Parquet audit exports through MCP tools.9GPL 3.0
- AlicenseAqualityCmaintenanceEnables training and comparing machine-learning models, generating predictions and SHAP explanations, evaluating performance, selecting the best model, and exporting Parquet audit logs through MCP tools.9GPL 3.0