mlops-mcp-server 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mlops_mcp_server-0.1.0/.gitignore +28 -0
- mlops_mcp_server-0.1.0/.python-version +1 -0
- mlops_mcp_server-0.1.0/LICENSE +21 -0
- mlops_mcp_server-0.1.0/PKG-INFO +174 -0
- mlops_mcp_server-0.1.0/README.md +121 -0
- mlops_mcp_server-0.1.0/pyproject.toml +121 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/__init__.py +4 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/__main__.py +7 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/_types.py +5 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/analysis.py +417 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/archive.py +188 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/cleanup.py +188 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/datasets.py +448 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/docgen.py +291 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/dvc_ops.py +152 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/envs.py +329 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/experiments.py +501 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/fileops.py +466 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/git_ops.py +200 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/lineage.py +222 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/mlflow_ops.py +220 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/models.py +540 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/pipelines.py +265 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/projects.py +277 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/router.py +692 -0
- mlops_mcp_server-0.1.0/src/mlops_mcp/server.py +11 -0
- mlops_mcp_server-0.1.0/tests/conftest.py +171 -0
- mlops_mcp_server-0.1.0/tests/test_analysis.py +330 -0
- mlops_mcp_server-0.1.0/tests/test_archive.py +314 -0
- mlops_mcp_server-0.1.0/tests/test_cleanup.py +260 -0
- mlops_mcp_server-0.1.0/tests/test_datasets.py +342 -0
- mlops_mcp_server-0.1.0/tests/test_docgen.py +275 -0
- mlops_mcp_server-0.1.0/tests/test_dvc_ops.py +208 -0
- mlops_mcp_server-0.1.0/tests/test_envs.py +317 -0
- mlops_mcp_server-0.1.0/tests/test_experiments.py +284 -0
- mlops_mcp_server-0.1.0/tests/test_fileops.py +256 -0
- mlops_mcp_server-0.1.0/tests/test_git_ops.py +254 -0
- mlops_mcp_server-0.1.0/tests/test_lineage.py +170 -0
- mlops_mcp_server-0.1.0/tests/test_mlflow_ops.py +266 -0
- mlops_mcp_server-0.1.0/tests/test_models.py +273 -0
- mlops_mcp_server-0.1.0/tests/test_pipelines.py +383 -0
- mlops_mcp_server-0.1.0/tests/test_projects.py +202 -0
- mlops_mcp_server-0.1.0/tests/test_router.py +171 -0
- mlops_mcp_server-0.1.0/tests/test_server.py +21 -0
- mlops_mcp_server-0.1.0/tests/test_types.py +19 -0
- mlops_mcp_server-0.1.0/uv.lock +2437 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Python-generated files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.pyc
|
|
4
|
+
*.py[oc]
|
|
5
|
+
build/
|
|
6
|
+
dist/
|
|
7
|
+
wheels/
|
|
8
|
+
*.egg-info/
|
|
9
|
+
.env
|
|
10
|
+
.mypy_cache/
|
|
11
|
+
.ruff_cache/
|
|
12
|
+
.pytest_cache/
|
|
13
|
+
mlruns/
|
|
14
|
+
wandb/
|
|
15
|
+
.ipynb_checkpoints/
|
|
16
|
+
.DS_Store/
|
|
17
|
+
.DS_Store
|
|
18
|
+
**/.DS_Store
|
|
19
|
+
repo_tree.md
|
|
20
|
+
|
|
21
|
+
# Virtual environments
|
|
22
|
+
.venv/
|
|
23
|
+
|
|
24
|
+
# practice and scratch code files
|
|
25
|
+
scratch_pad/
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Anant Patankar
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mlops-mcp-server
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: MCP server for common MLOps workflows
|
|
5
|
+
Project-URL: Homepage, https://github.com/anant-patankar/mlops-mcp-server
|
|
6
|
+
Project-URL: Source, https://github.com/anant-patankar/mlops-mcp-server
|
|
7
|
+
Project-URL: Bug Tracker, https://github.com/anant-patankar/mlops-mcp-server/issues
|
|
8
|
+
Author-email: Anant Patankar <patankar.anant123@gmail.com>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: dvc,experiment-tracking,llm-tools,machine-learning,mcp,mlflow,mlops,model-context-protocol,model-registry
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
|
+
Requires-Dist: fastmcp>=3.0.1
|
|
24
|
+
Requires-Dist: gitpython>=3.1.46
|
|
25
|
+
Requires-Dist: pandas>=3.0.1
|
|
26
|
+
Requires-Dist: pydantic>=2.12.5
|
|
27
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
28
|
+
Provides-Extra: compare
|
|
29
|
+
Requires-Dist: deepdiff>=8.6.1; extra == 'compare'
|
|
30
|
+
Provides-Extra: dev
|
|
31
|
+
Requires-Dist: mypy>=1.19.1; extra == 'dev'
|
|
32
|
+
Requires-Dist: pre-commit>=4.5.1; extra == 'dev'
|
|
33
|
+
Requires-Dist: pytest-cov>=7.0.0; extra == 'dev'
|
|
34
|
+
Requires-Dist: pytest-mock>=3.15.1; extra == 'dev'
|
|
35
|
+
Requires-Dist: pytest>=9.0.2; extra == 'dev'
|
|
36
|
+
Requires-Dist: ruff>=0.15.2; extra == 'dev'
|
|
37
|
+
Provides-Extra: mlflow
|
|
38
|
+
Requires-Dist: mlflow>=1.27.0; extra == 'mlflow'
|
|
39
|
+
Provides-Extra: models
|
|
40
|
+
Requires-Dist: joblib>=1.5.3; extra == 'models'
|
|
41
|
+
Requires-Dist: onnx>=1.20.1; extra == 'models'
|
|
42
|
+
Requires-Dist: safetensors>=0.7.0; extra == 'models'
|
|
43
|
+
Provides-Extra: notebooks
|
|
44
|
+
Requires-Dist: nbformat>=5.10.4; extra == 'notebooks'
|
|
45
|
+
Provides-Extra: parquet
|
|
46
|
+
Requires-Dist: pyarrow>=23.0.1; extra == 'parquet'
|
|
47
|
+
Provides-Extra: templates
|
|
48
|
+
Requires-Dist: jinja2>=3.1.6; extra == 'templates'
|
|
49
|
+
Provides-Extra: validation
|
|
50
|
+
Requires-Dist: pandera>=0.29.0; extra == 'validation'
|
|
51
|
+
Requires-Dist: scipy>=1.17.0; extra == 'validation'
|
|
52
|
+
Description-Content-Type: text/markdown
|
|
53
|
+
|
|
54
|
+
## MLOps MCP Server
|
|
55
|
+
|
|
56
|
+
[](https://pypi.org/project/mlops-mcp-server/)
|
|
57
|
+

|
|
58
|
+

|
|
59
|
+
|
|
60
|
+
**MCP server for common MLOps workflows**
|
|
61
|
+
|
|
62
|
+
An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that gives AI assistants like Claude direct access to MLOps workflows — experiment tracking, model registry, dataset management, pipeline orchestration, lineage tracing, and more. Wraps DVC, MLflow, and Git rather than replacing them.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Features
|
|
67
|
+
|
|
68
|
+
- **Experiment tracking** — create runs, log params/metrics/artifacts, compare runs, find best run, export to CSV
|
|
69
|
+
- **Model registry** — register, promote, tag, deprecate, and compare model versions; generate model cards
|
|
70
|
+
- **Dataset management** — profile datasets, validate schemas, detect statistical drift (KS-test), split, merge, and generate dataset cards
|
|
71
|
+
- **Pipeline management** — create, validate, and visualize DAG pipelines as Mermaid diagrams; cycle detection via Kahn's algorithm
|
|
72
|
+
- **Data lineage** — record artifact lineage, trace provenance with BFS, visualize as Mermaid graphs, check integrity
|
|
73
|
+
- **File operations** — full file/directory CRUD, content search, disk usage, batch operations
|
|
74
|
+
- **Project scaffolding** — 7 ML project templates with component injection and structure validation
|
|
75
|
+
- **Documentation generation** — model cards, dataset cards, experiment reports, pipeline docs, project READMEs, API docs
|
|
76
|
+
- **MLflow integration** — optional; wraps tracking, registry, and artifact operations
|
|
77
|
+
- **DVC integration** — optional; wraps data versioning and pipeline reproduction
|
|
78
|
+
- **Git operations** — optional; status, add, commit, log, .gitignore generation
|
|
79
|
+
- **Environment tools** — scan imports, generate requirements, check conflicts, create conda env files
|
|
80
|
+
|
|
81
|
+
Tools are registered in two tiers: a small set of always-on tools for quick file ops and discovery, and 15 domain modules you activate on demand to avoid flooding the agent context window.
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Installation
|
|
86
|
+
|
|
87
|
+
### Install directly from GitHub (available now)
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
pip install git+https://github.com/anant-patankar/mlops-mcp-server.git
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Using `uv`:
|
|
94
|
+
```bash
|
|
95
|
+
uv add git+https://github.com/anant-patankar/mlops-mcp-server.git
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Install from PyPI (coming soon)
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
# Core install
|
|
102
|
+
pip install mlops-mcp-server
|
|
103
|
+
|
|
104
|
+
# With optional extras
|
|
105
|
+
pip install mlops-mcp-server[mlflow]
|
|
106
|
+
pip install mlops-mcp-server[mlflow,compare,notebooks,parquet]
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Using `uv`:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
uv add mlops-mcp-server
|
|
113
|
+
uv add "mlops-mcp-server[mlflow,compare,notebooks,parquet]"
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Usage
|
|
119
|
+
|
|
120
|
+
### Claude Desktop
|
|
121
|
+
|
|
122
|
+
Add to your Claude Desktop MCP config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
|
|
123
|
+
|
|
124
|
+
First install the package, then add to your Claude Desktop config:
|
|
125
|
+
|
|
126
|
+
```json
|
|
127
|
+
{
|
|
128
|
+
"mcpServers": {
|
|
129
|
+
"mlops": {
|
|
130
|
+
"command": "mlops-mcp-server"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Restart Claude Desktop. The server starts automatically when Claude connects.
|
|
137
|
+
|
|
138
|
+
### Example prompts
|
|
139
|
+
|
|
140
|
+
Once connected, you can ask Claude things like:
|
|
141
|
+
|
|
142
|
+
> "Show me all experiment runs, find the one with the best validation accuracy, and register that model in the registry."
|
|
143
|
+
|
|
144
|
+
> "Profile `data/train.csv`, check it against `schema.yaml`, then split it 70/15/15 and save to `data/splits/`."
|
|
145
|
+
|
|
146
|
+
> "Create a pipeline with three stages: preprocess → train → evaluate, validate it for cycles, and show me the Mermaid diagram."
|
|
147
|
+
|
|
148
|
+
### Running directly
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
mlops-mcp-server
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Optional Dependencies
|
|
157
|
+
|
|
158
|
+
| Extra | Installs | Enables |
|
|
159
|
+
|-------|----------|---------|
|
|
160
|
+
| `mlflow` | mlflow | MLflow tracking and registry tools |
|
|
161
|
+
| `compare` | deepdiff | Structured diff in `compare_runs` |
|
|
162
|
+
| `notebooks` | nbformat | Notebook summary in `get_notebook_summary` |
|
|
163
|
+
| `parquet` | pyarrow | Parquet read/write in dataset tools |
|
|
164
|
+
| `models` | joblib, onnx, safetensors | Model file format support |
|
|
165
|
+
| `validation` | pandera, scipy | Schema validation and drift statistics |
|
|
166
|
+
| `templates` | jinja2 | Jinja2 templates in `create_model_card` |
|
|
167
|
+
|
|
168
|
+
All extras are optional — the server runs without them and returns clear errors if a missing dependency is needed.
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## License
|
|
173
|
+
|
|
174
|
+
MIT — see [LICENSE](LICENSE).
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
## MLOps MCP Server
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/mlops-mcp-server/)
|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
**MCP server for common MLOps workflows**
|
|
8
|
+
|
|
9
|
+
An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that gives AI assistants like Claude direct access to MLOps workflows — experiment tracking, model registry, dataset management, pipeline orchestration, lineage tracing, and more. Wraps DVC, MLflow, and Git rather than replacing them.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Features
|
|
14
|
+
|
|
15
|
+
- **Experiment tracking** — create runs, log params/metrics/artifacts, compare runs, find best run, export to CSV
|
|
16
|
+
- **Model registry** — register, promote, tag, deprecate, and compare model versions; generate model cards
|
|
17
|
+
- **Dataset management** — profile datasets, validate schemas, detect statistical drift (KS-test), split, merge, and generate dataset cards
|
|
18
|
+
- **Pipeline management** — create, validate, and visualize DAG pipelines as Mermaid diagrams; cycle detection via Kahn's algorithm
|
|
19
|
+
- **Data lineage** — record artifact lineage, trace provenance with BFS, visualize as Mermaid graphs, check integrity
|
|
20
|
+
- **File operations** — full file/directory CRUD, content search, disk usage, batch operations
|
|
21
|
+
- **Project scaffolding** — 7 ML project templates with component injection and structure validation
|
|
22
|
+
- **Documentation generation** — model cards, dataset cards, experiment reports, pipeline docs, project READMEs, API docs
|
|
23
|
+
- **MLflow integration** — optional; wraps tracking, registry, and artifact operations
|
|
24
|
+
- **DVC integration** — optional; wraps data versioning and pipeline reproduction
|
|
25
|
+
- **Git operations** — optional; status, add, commit, log, .gitignore generation
|
|
26
|
+
- **Environment tools** — scan imports, generate requirements, check conflicts, create conda env files
|
|
27
|
+
|
|
28
|
+
Tools are registered in two tiers: a small set of always-on tools for quick file ops and discovery, and 15 domain modules you activate on demand to avoid flooding the agent context window.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
### Install directly from GitHub (available now)
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install git+https://github.com/anant-patankar/mlops-mcp-server.git
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Using `uv`:
|
|
41
|
+
```bash
|
|
42
|
+
uv add git+https://github.com/anant-patankar/mlops-mcp-server.git
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Install from PyPI (coming soon)
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
# Core install
|
|
49
|
+
pip install mlops-mcp-server
|
|
50
|
+
|
|
51
|
+
# With optional extras
|
|
52
|
+
pip install mlops-mcp-server[mlflow]
|
|
53
|
+
pip install mlops-mcp-server[mlflow,compare,notebooks,parquet]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Using `uv`:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
uv add mlops-mcp-server
|
|
60
|
+
uv add "mlops-mcp-server[mlflow,compare,notebooks,parquet]"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Usage
|
|
66
|
+
|
|
67
|
+
### Claude Desktop
|
|
68
|
+
|
|
69
|
+
Add to your Claude Desktop MCP config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
|
|
70
|
+
|
|
71
|
+
First install the package, then add to your Claude Desktop config:
|
|
72
|
+
|
|
73
|
+
```json
|
|
74
|
+
{
|
|
75
|
+
"mcpServers": {
|
|
76
|
+
"mlops": {
|
|
77
|
+
"command": "mlops-mcp-server"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Restart Claude Desktop. The server starts automatically when Claude connects.
|
|
84
|
+
|
|
85
|
+
### Example prompts
|
|
86
|
+
|
|
87
|
+
Once connected, you can ask Claude things like:
|
|
88
|
+
|
|
89
|
+
> "Show me all experiment runs, find the one with the best validation accuracy, and register that model in the registry."
|
|
90
|
+
|
|
91
|
+
> "Profile `data/train.csv`, check it against `schema.yaml`, then split it 70/15/15 and save to `data/splits/`."
|
|
92
|
+
|
|
93
|
+
> "Create a pipeline with three stages: preprocess → train → evaluate, validate it for cycles, and show me the Mermaid diagram."
|
|
94
|
+
|
|
95
|
+
### Running directly
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
mlops-mcp-server
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Optional Dependencies
|
|
104
|
+
|
|
105
|
+
| Extra | Installs | Enables |
|
|
106
|
+
|-------|----------|---------|
|
|
107
|
+
| `mlflow` | mlflow | MLflow tracking and registry tools |
|
|
108
|
+
| `compare` | deepdiff | Structured diff in `compare_runs` |
|
|
109
|
+
| `notebooks` | nbformat | Notebook summary in `get_notebook_summary` |
|
|
110
|
+
| `parquet` | pyarrow | Parquet read/write in dataset tools |
|
|
111
|
+
| `models` | joblib, onnx, safetensors | Model file format support |
|
|
112
|
+
| `validation` | pandera, scipy | Schema validation and drift statistics |
|
|
113
|
+
| `templates` | jinja2 | Jinja2 templates in `create_model_card` |
|
|
114
|
+
|
|
115
|
+
All extras are optional — the server runs without them and returns clear errors if a missing dependency is needed.
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## License
|
|
120
|
+
|
|
121
|
+
MIT — see [LICENSE](LICENSE).
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "mlops-mcp-server"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "MCP server for common MLOps workflows"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
keywords = [
|
|
8
|
+
"mlops", "mcp", "model-context-protocol", "mlflow", "dvc",
|
|
9
|
+
"experiment-tracking", "model-registry", "machine-learning", "llm-tools",
|
|
10
|
+
]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Development Status :: 3 - Alpha",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Intended Audience :: Science/Research",
|
|
15
|
+
"License :: OSI Approved :: MIT License",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
"Programming Language :: Python :: 3.12",
|
|
19
|
+
"Programming Language :: Python :: 3.13",
|
|
20
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
21
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
authors = [
|
|
25
|
+
{ name = "Anant Patankar", email = "patankar.anant123@gmail.com" }
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
requires-python = ">=3.11"
|
|
29
|
+
|
|
30
|
+
dependencies = [
|
|
31
|
+
"fastmcp>=3.0.1",
|
|
32
|
+
"gitpython>=3.1.46",
|
|
33
|
+
"pandas>=3.0.1",
|
|
34
|
+
"pydantic>=2.12.5",
|
|
35
|
+
"pyyaml>=6.0.3",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[project.urls]
|
|
39
|
+
Homepage = "https://github.com/anant-patankar/mlops-mcp-server"
|
|
40
|
+
Source = "https://github.com/anant-patankar/mlops-mcp-server"
|
|
41
|
+
"Bug Tracker" = "https://github.com/anant-patankar/mlops-mcp-server/issues"
|
|
42
|
+
|
|
43
|
+
[project.scripts]
|
|
44
|
+
mlops-mcp-server = "mlops_mcp.__main__:main"
|
|
45
|
+
|
|
46
|
+
[project.optional-dependencies]
|
|
47
|
+
mlflow = [
|
|
48
|
+
"mlflow>=1.27.0",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
models = [
|
|
52
|
+
"joblib>=1.5.3",
|
|
53
|
+
"onnx>=1.20.1",
|
|
54
|
+
"safetensors>=0.7.0",
|
|
55
|
+
]
|
|
56
|
+
|
|
57
|
+
validation = [
|
|
58
|
+
"pandera>=0.29.0",
|
|
59
|
+
"scipy>=1.17.0",
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
templates = [
|
|
63
|
+
"jinja2>=3.1.6",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
# deepdiff is used in compare_runs with a manual-diff fallback if not installed
|
|
67
|
+
compare = [
|
|
68
|
+
"deepdiff>=8.6.1",
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
# nbformat is used in get_notebook_summary with a graceful error if not installed
|
|
72
|
+
notebooks = [
|
|
73
|
+
"nbformat>=5.10.4",
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
# pyarrow is required for parquet read/write in analysis.py and datasets.py
|
|
77
|
+
parquet = [
|
|
78
|
+
"pyarrow>=23.0.1",
|
|
79
|
+
]
|
|
80
|
+
|
|
81
|
+
dev = [
|
|
82
|
+
"mypy>=1.19.1",
|
|
83
|
+
"pre-commit>=4.5.1",
|
|
84
|
+
"pytest>=9.0.2",
|
|
85
|
+
"pytest-cov>=7.0.0",
|
|
86
|
+
"pytest-mock>=3.15.1",
|
|
87
|
+
"ruff>=0.15.2",
|
|
88
|
+
]
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
[build-system]
|
|
92
|
+
requires = ["hatchling"]
|
|
93
|
+
build-backend = "hatchling.build"
|
|
94
|
+
|
|
95
|
+
# PEP 735 dependency groups — supported by uv and newer pip; kept alongside
|
|
96
|
+
# [project.optional-dependencies] dev above for maximum tool compatibility
|
|
97
|
+
[dependency-groups]
|
|
98
|
+
dev = [
|
|
99
|
+
"mypy>=1.19.1",
|
|
100
|
+
"pre-commit>=4.5.1",
|
|
101
|
+
"pytest>=9.0.2",
|
|
102
|
+
"pytest-cov>=7.0.0",
|
|
103
|
+
"pytest-mock>=3.15.1",
|
|
104
|
+
"ruff>=0.15.2",
|
|
105
|
+
]
|
|
106
|
+
|
|
107
|
+
[tool.pytest.ini_options]
|
|
108
|
+
pythonpath = ["src"]
|
|
109
|
+
testpaths = ["tests"]
|
|
110
|
+
|
|
111
|
+
[tool.ruff]
|
|
112
|
+
line-length = 88
|
|
113
|
+
target-version = "py311"
|
|
114
|
+
|
|
115
|
+
[tool.mypy]
|
|
116
|
+
python_version = "3.11"
|
|
117
|
+
strict = false
|
|
118
|
+
mypy_path = "src"
|
|
119
|
+
|
|
120
|
+
[tool.hatch.build.targets.wheel]
|
|
121
|
+
packages = ["src/mlops_mcp"]
|