Mcp Yolo

io.github.rjn32s由 GitHub 账号 rjn32s 发布v0.1.2更新于 Oct 24, 2026

An MCP server providing zero-shot object detection and segmentation using Ultralytics YOLOE.

已验证STDIO仅桌面媒体与设计AI 与机器学习

概览

AI 生成的概览

本地 MCP 服务器,基于 Ultralytics YOLOE,按文本提示对图像做零样本目标检测与实例分割。

可以做什么
  • 用任意自然语言类别提示在图像中检测目标,无需重新训练。
  • 对检测到的目标做实例分割并返回多边形掩码。
  • 支持本地文件路径、远程 URL 和 Base64 编码字符串作为图像输入。
适用场景
适合需要助手用文字描述来找出或勾勒图像中物体的场景,例如在照片中定位某个特定物品,或为后续图像处理生成掩码。更适用于本地桌面端的图像分析,而非托管或网页环境。
运行要求
以本地进程方式在用户机器上运行(仅桌面端,不可在网页执行),通过 PyPI 包 mcp-yolo 安装并用 uv 启动。会下载并运行 YOLOE 模型权重(默认 yoloe-26l-seg.pt),因此需要模型下载和本地算力;未声明任何账号、API 密钥或环境变量。
安装前请注意
以远程 URL 提供的图像会通过网络获取,图像内容会发送到该主机。检测效果和速度取决于硬件与输入分辨率。不索取任何凭据,也未描述写入、发送或删除类操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Yolo,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MCP-YOLO

[PyPI] [Downloads] mcp-name: io.github.rjn32s/mcp-yolo

MCP-YOLO is an agent-first development platform that provides Zero-Shot Object Detection and Segmentation as a Model Context Protocol (MCP) server. Powered by Ultralytics YOLOE, it enables developers and AI agents to detect and segment objects using arbitrary text prompts without retraining.

Key Features

  • Zero-Shot Detection: Detect any object using natural language (e.g., "the blue coffee cup next to the spoon").
  • Instance Segmentation: Precise polygon masks for discovered objects.
  • Flexible Image Inputs: Supports local file paths, remote URLs, and Base64 encoded strings.
  • Agent Optimized: Includes custom "Skills" for autonomous deployment and benchmarking.

YOLOE Performance Reference

YOLOE builds upon the latest YOLO architectures (like YOLO11 and YOLO26) to provide state-of-the-art open-vocabulary performance.

ModelBased OnmAP (COCO)Speed (T4/ms)Params (M)
YOLOE26-NYOLO26-N40.91.7~3.0
YOLOE26-SYOLO26-S48.62.5~10.0
YOLOE26-LYOLO26-L55.06.2~40.0
YOLOE-LYOLO11-L~52.0~5.0~26.0

Note: Performance varies depending on the hardware and input resolution. mcp-yolo uses yoloe-26l-seg.pt by default for high precision.

Quick Start

Installation

bash
uv pip install mcp-yolo

Running the Server

bash
uv run mcp-yolo

MCP Tools

detect_objects

Performs zero-shot detection.

  • Arguments:
    • image_source (str): Path, URL, or Base64.
    • classes (list[str], optional): Custom text prompts to detect.

segment_objects

Performs zero-shot instance segmentation.

  • Arguments:
    • image_source (str): Path, URL, or Base64.
    • classes (list[str], optional): Custom text prompts to segment.

Publishing

This project is configured for automated PyPI publishing. See the pypi_setup_guide.md for details.

来源:README.md,提交 0df8eb7

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。