#25798·mlflow

[FR] Make the MLflow MCP server available on remote tracking servers

Author: mprahlCreated Sep 11, 2026Updated Sep 30, 2026
Labelsenhancementarea/docsarea/trackingarea/tracingarea/evaluationdomain/genaidomain/platformready

[!WARNING] Before submitting a PR, please make sure that:

  • A maintainer has triaged this issue and applied the ready label
  • This issue has no assignee
  • No duplicate PR exists

PRs not meeting these requirements may be automatically closed.

Willingness to contribute

No. I cannot contribute this feature at this time.

Proposal Summary

Add a supported, production-ready Streamable HTTP MCP endpoint to the MLflow tracking server. This would let MCP clients connect directly to a remotely hosted MLflow tracking server and use a curated set of server-safe GenAI tracking tools, rather than requiring every client to start a colocated mlflow mcp run stdio process.

The endpoint should be opt-in, integrate with the tracking server's existing authentication and authorization model, and be suitable for production deployments.

Motivation

What is the use case for this feature?

Teams commonly host MLflow as a shared remote tracking server. An IDE, agent, or other MCP client should be able to connect to that server over HTTPS and query or update the MLflow resources the caller is permitted to access such as experiments, runs, traces, assessments, and registered scorers.

Why is this use case valuable to support for MLflow users in general?

It makes MLflow's GenAI observability and evaluation context available to MCP clients without distributing a tracking-server URI, credentials, and local MCP-process setup to each developer or runtime. Centralizing the endpoint also lets administrators apply the same access controls, auditing, and operational standards they already use for MLflow's tracking API.

Why is this use case valuable to support for your project(s) or organization?

We want developers and agents to interact with shared MLflow traces, runs, and scorers through a single managed endpoint, while preserving the resource-level permissions configured on the shared tracking server.

Why is it currently difficult to achieve this use case?

mlflow mcp run is a local stdio server. It is well suited to tools that need local execution or client-side credentials, but it does not give an MCP client a supported remote endpoint on a shared tracking server. Running an ad hoc MCP process beside each client duplicates configuration and makes consistent authentication, authorization, deployment, and observability harder to manage.

Acceptance Criteria

  • An administrator can opt in with mlflow server --enable-mcp or MLFLOW_SERVER_ENABLE_MCP=true, which exposes a documented /mcp endpoint on a remote MLflow tracking server. The endpoint is disabled by default, requires the mlflow[mcp] extra, and supports standard Streamable HTTP MCP clients over HTTPS.
  • MCP tools execute against the tracking server's configured tracking store; they do not rely on a local MCP process or loop back through the tracking API.
  • Requests are authenticated and authorized equivalently to the corresponding tracking operations, using the tracking server's existing credentials; callers cannot discover or mutate resources outside their permissions.
  • The supported remote tool set is documented, stable, and excludes local-execution tools by design. It includes remote-safe GenAI tracking operations for experiments, runs, traces and assessments, and scorers.

Domains

  • domain/genai: LLMs, Agents, and other GenAI-related use cases
  • domain/platform: MLflow platform foundation, not specific to a particular machine learning domain.

Areas

  • area/tracking: Tracking Service, tracking client APIs, autologging
  • area/tracing: MLflow Tracing features, tracing APIs, and LLM tracing functionality
  • area/evaluation: MLflow model evaluation features, evaluation metrics, and evaluation workflows
  • area/docs: MLflow documentation pages