Ultralytics Platform MCP
概览
作者提供的说明(英文原文)
MCP server for Ultralytics Platform projects, datasets, training, prediction, exports, and models.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 318/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 数据库与数据集
- 你需要填写:ULTRALYTICS_API_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
ULTRALYTICS_API_KEY,ULTRALYTICS_API_BASE
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ultralytics": {
"command": "npx",
"args": [
"-y",
"ultralytics-mcp"
],
"env": {
"ULTRALYTICS_API_KEY": "your-value",
"ULTRALYTICS_API_BASE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add ultralytics --env ULTRALYTICS_API_KEY=your-value --env ULTRALYTICS_API_BASE=your-value -- npx -y ultralytics-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ultralytics": {
"command": "npx",
"args": [
"-y",
"ultralytics-mcp"
],
"env": {
"ULTRALYTICS_API_KEY": "your-value",
"ULTRALYTICS_API_BASE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ultralytics": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ultralytics-mcp"
],
"env": {
"ULTRALYTICS_API_KEY": "your-value",
"ULTRALYTICS_API_BASE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Ultralytics Platform API key.
ULTRALYTICS_API_BASEenvOptional Ultralytics API base URL override.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 amanharshx 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“数据库与数据集”中的其他服务器比较i
- 星标数多于此分类中其他 1152 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1152 个服务器的 43% 更新
- 基础检查结果等于或优于此分类中其他 1152 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Ultralytics Platform MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:ULTRALYTICS_API_KEY
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.1.14)于38天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Ultralytics Platform MCP
MCP server for Ultralytics Platform workflows: projects, datasets, models, training, prediction, exports, and dataset uploads.
[!IMPORTANT]
Independent community project. Not affiliated with or endorsed by Ultralytics.
Install · Tools · Safety · Troubleshooting
Try Asking
- "Show me my Ultralytics projects and which datasets are ready to train on."
- "Create a private project called
traffic-camsand upload./clips/junction.mp4as a dataset." - "Fine-tune
yolo11nontraffic-camsfor 50 epochs." - "How is that training going? Show me the last 10 epochs of metrics."
- "Run the trained model on
https://example.com/frame.jpg, then download the weights to./weights." - "Move my
scratchproject to trash." (restorable for 30 days)
https://github.com/user-attachments/assets/449d051b-d162-4539-93c5-94be478303f0
Installation
You need:
- Node.js
>=20 - An Ultralytics Platform API key
ffmpegandffprobeonPATH, to upload a dataset from a local video file- Claude Code, Codex, or another MCP client that can launch stdio servers
Get an API key
Sign in at Ultralytics Platform, open Settings -> API Keys, and create or copy a key. The official API key docs cover creation, usage, and revocation.
Environment variables
| Variable | Required | Description |
|---|---|---|
ULTRALYTICS_API_KEY | ✅ | Ultralytics API key. Expected format: ul_ followed by 40 hex characters |
ULTRALYTICS_API_BASE | ❌ | Advanced: override API base URL. Default: https://platform.ultralytics.com/api |
Treat ULTRALYTICS_API_KEY as a bearer token. Pass it through your MCP client's environment configuration only. Never paste real keys into prompts, scripts, or committed config files. Project-scoped .mcp.json files are ignored by this repo to reduce accidental key commits; if a key is exposed, revoke it in Ultralytics Platform and create a replacement.
Standard config
Works in MCP clients that accept JSON stdio server definitions.
{
"mcpServers": { "ultralytics": { "command": "npx", "args": ["-y", "ultralytics-mcp@latest"], "env": { "ULTRALYTICS_API_KEY": "ul_your_api_key_here" } } } }
These examples track the latest published npm release. Restart your MCP client or session after upgrading, so the new server process picks up the latest package.
Antigravity
Add the standard config above through Antigravity settings, or by editing your configuration file directly.
Claude Code
claude mcp add ultralytics --env ULTRALYTICS_API_KEY=ul_your_api_key_here -- npx -y ultralytics-mcp@latest
Or add a project-scoped server in repo-root .mcp.json:
{
"mcpServers": { "ultralytics": { "command": "npx", "args": ["-y", "ultralytics-mcp@latest"], "env": { "ULTRALYTICS_API_KEY": "ul_your_api_key_here" } } } }
Claude Desktop
Follow the MCP install guide with the standard config above.
Codex
codex mcp add ultralytics --env ULTRALYTICS_API_KEY=ul_your_api_key_here -- npx -y ultralytics-mcp@latest
Or add it directly to ~/.codex/config.toml:
[mcp_servers.ultralytics]
command = "npx" args = ["-y", "ultralytics-mcp@latest"]
[mcp_servers.ultralytics.env] ULTRALYTICS_API_KEY = "ul_your_api_key_here"
Cursor
Important
The install button writes a placeholder key. After installing, open your Cursor MCP config and replace
ul_your_api_key_herewith your Ultralytics API key, then restart Cursor.
To install manually, go to Cursor Settings -> MCP -> Add new MCP Server (or edit ~/.cursor/mcp.json) and use the standard config above.
Gemini CLI
Follow the MCP install guide with the standard config above.
VS Code / Copilot
Important
The install button writes a placeholder key. After installing, open your VS Code MCP config and replace
ul_your_api_key_herewith your Ultralytics API key, then restart VS Code.
To install manually, follow the MCP install guide, or use the VS Code CLI:
code --add-mcp '{"name":"ultralytics","command":"npx","args":["-y","ultralytics-mcp@latest"],"env":{"ULTRALYTICS_API_KEY":"ul_your_api_key_here"}}'
Verify
Run claude mcp list or codex mcp list. You should see ultralytics among the configured MCP servers.
Tools
See TOOLS.md for the full parameter reference, safety notes, local-path behavior, and examples for the tricky tools.
Safety
- Projects and datasets are created private by default, even though the platform itself defaults to public
export_createrequiresconfirm_cost: truetraining_startrequiresconfirm_cost: true, plusconfirm_history_loss: truewhen restarting training on an existing model that already has a recorded run. That path replaces its status, epoch count, and training result history irrecoverably- Starting a training job or an export is billable immediately, so the estimated cost and remaining balance are reported after the job starts, not before
training_startin checkpoint mode (a base checkpoint likeyolo11n.pt, not an existing model ref) creates the project model before the platform checks the checkpoint's task against the dataset's- If that check fails, the model it already created is not deleted automatically. The error names the model; review it and delete it with
models_deleteif it is unwanted - Cancelling a running training job preserves the latest checkpoint and keeps the model
export_cancelproceeds only when it observes an export asqueued,starting, orrunning, and refuses every other status, including unrecognized ones. Because the status check and the cancel request are not atomic, an export that finishes between them may have its artifact irreversibly deleted- Deleting a project or dataset is a soft delete to trash, restorable for 30 days. Deleting a project reports the cascade count; deleting a dataset moves its images and annotations with it and leaves models trained on it unaffected
- Ambiguous project or dataset refs fail instead of guessing
- Undeclared tool arguments fail instead of being silently ignored
- Signed upload and download URLs do not forward
Authorization - Local upload tools,
model_predictwithfile_path, anddeployment_predictread files from the MCP client host; approve calls only for paths you expect to share with Ultralytics model_downloadwrites to the requested local path; reviewoutput_pathandoverwritebefore approving- Adding a named YOLO ZIP (with
data.yamlclass names) to an existing dataset imports its labels and merges classes - Re-ingest does not re-label images already in the dataset (use the annotation editor); re-uploading the same image under a different split can create a duplicate
Troubleshooting
Invalid API key
ULTRALYTICS_API_KEY must start with ul_ and contain exactly 40 hex characters after the prefix.
Server not loading
Run claude mcp list or codex mcp list, then verify that npx and Node.js are installed and that ULTRALYTICS_API_KEY reached the client — passed with --env when adding the server, or set in ~/.codex/config.toml. In Claude Code, claude mcp get ultralytics shows the resolved config.
To smoke-test the server on its own:
ULTRALYTICS_API_KEY=ul_your_api_key_here npx -y ultralytics-mcp@latest
If the command exits immediately with a config error, fix the environment first.
Platform API errors
For authentication, rate-limit, or endpoint behavior, compare against the official Ultralytics Platform REST API docs. When asking for help, include the tool name, request summary, response status, redacted response body, and a minimal reproduction. Do not include real API keys, signed URLs, private dataset contents, or private model artifacts.
Contributing
See CONTRIBUTING.md for setup, the check suite, and the live smoke test.