mlflowAgent

mlflowAgent

用于mlflow的MCP Server。

MLflow 代理是一个 MCP (Model Control Plane) 服务器,用于简化 MLflow 模型的部署和管理。

安装

pip install mlflow-proxy

基本使用

  1. 启动 MLflow 代理服务器:
mlflow-proxy start --port 5000
  1. 配置客户端连接:
import mlflow

mlflow.set_tracking_uri("http://localhost:5000")

主要功能

  • 模型版本管理
  • 实验跟踪
  • 模型部署
  • 指标监控

配置选项

通过环境变量或配置文件自定义代理行为:

export MLFLOW_PROXY_STORAGE=/path/to/storage
export MLFLOW_PROXY_LOG_LEVEL=INFO

详细文档请访问 MLflow 官方文档