Skip to main content

MCP server for YOLOE zero-shot object detection and segmentation

Project description

MCP-YOLO

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.

Model Based On mAP (COCO) Speed (T4/ms) Params (M)
YOLOE26-N YOLO26-N 40.9 1.7 ~3.0
YOLOE26-S YOLO26-S 48.6 2.5 ~10.0
YOLOE26-L YOLO26-L 55.0 6.2 ~40.0
YOLOE-L YOLO11-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

uv pip install mcp-yolo

Running the Server

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_yolo-0.1.5.tar.gz (76.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_yolo-0.1.5-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file mcp_yolo-0.1.5.tar.gz.

File metadata

  • Download URL: mcp_yolo-0.1.5.tar.gz
  • Upload date:
  • Size: 76.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_yolo-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e5fd68ff74c4af50851811b7fe6fbc2a1745d80f945c604f28063d676e1cbcc6
MD5 f89ac65f7d8d43c6b980d6f49da16721
BLAKE2b-256 e552decce517c94c2b48329d2fe9c07b1aaccfc8e82e1d95a03767b6e076be21

See more details on using hashes here.

File details

Details for the file mcp_yolo-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: mcp_yolo-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_yolo-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6a3a6c14a2009d8812ff4c2e3e540ac0fab2819a56950ea9ac0507d360513a74
MD5 6a4b9e1c209b060084f0bcae79689e73
BLAKE2b-256 5d52d26557f840ae4220950dac82775eb520d01ae3d5df119a5758747c9dc1b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page