MLflow提示模板注册表
STDIO访问MLflow提示模板的MCP服务器
访问MLflow提示模板的MCP服务器
Model Context Protocol (MCP) Server for MLflow Prompt Registry, enabling access to prompt templates managed in MLflow.
This server implements the MCP Prompts specification for discovering and using prompt templates from MLflow Prompt Registry. The primary use case is to load prompt templates from MLflow in Claude Desktop, allowing users to instruct Claude conveniently for repetitive tasks or common workflows.
list-prompts
cursor
(optional string): Cursor for paginationfilter
(optional string): Filter for promptsget-prompt
name
(string): Name of the prompt to retrievearguments
(optional object): JSON object with prompt variablesInstall and start an MLflow server if you haven't already to host the Prompt Registry:
pip install mlflow>=2.21.1 mlflow server --port 5000
If you haven't already, create a prompt template in MLflow following this guide.
npm install npm run build
Configure Claude for Desktop by editing claude_desktop_config.json
:
{ "mcpServers": { "mlflow": { "command": "node", "args": ["<absolute-path-to-this-repository>/dist/index.js"], "env": { "MLFLOW_TRACKING_URI": "http://localhost:5000" } } } }
Make sure to replace the MLFLOW_TRACKING_URI
with your actual MLflow server address.