DINO-X Image Detection MCP Server

DINO-X Image Detection MCP Server

Empower LLMs with fine-grained visual understanding — detect, localize, and describe anything in images with natural language prompts.

Category
Visit Server

README

DINO-X MCP

English | 中文

<p align="center">

Enables large language models to perform fine-grained object detection and image understanding, powered by DINO-X and Grounding DINO 1.6 API.

</p>

💡 Why DINO-X MCP?

Although multimodal models can understand and describe images, they often lack precise localization and high-quality structured outputs for visual content.

With DINO-X MCP, you can:

🧠 Achieve fine-grained image understanding — both full-scene recognition and targeted detection based on natural language.

🎯 Accurately obtain object count, position, and attributes, enabling tasks such as visual question answering.

🧩 Integrate with other MCP Servers to build multi-step visual workflows.

🛠️ Build natural language-driven visual agents for real-world automation scenarios.

🎬 Use Case

🎯 Scenario 📝 Input ✨ Output
Detection & Localization 💬 Prompt:<br>Detect the fire areas in the forest and visualize with Canvas<br><br>🖼️ Input Image:<br><img src="/assets/examples/1-1.jpg" width="280" alt="Original forest fire image"/> <img src="/assets/examples/1-2.png" width="400" alt="Fire detection visualization result"/>
Object Counting 💬 Prompt:<br>Please analyze this warehouse image, detect all the cardboard boxes, count the total number, and create a complete Canvas visualization webpage.<br><br>🖼️ Input Image:<br><img src="/assets/examples/2-1.jpeg" width="280" alt="Warehouse image"/> <img src="/assets/examples/2-2.png" width="400" alt="Box detection result"/>
Feature Detection 💬 Prompt:<br>Find all red cars in the image and visualize with Canvas<br><br>🖼️ Input Image:<br><img src="/assets/examples/4-1.jpg" width="280" alt="Cars image"/> <img src="/assets/examples/4-3.png" width="400" alt="Red car detection result"/>
Attribute Reasoning 💬 Prompt:<br>Find the tallest person in the image, describe their clothing, and visualize the result with Canvas<br><br>🖼️ Input Image:<br><img src="/assets/examples/5-1.jpg" width="280" alt="People image"/> <img src="/assets/examples/5-3.png" width="400" alt="Person detection result"/>
Full Scene Detection 💬 Prompt:<br>Find the fruit with the highest vitamin C content in the image<br><br>🖼️ Input Image:<br><img src="/assets/examples/6-1.png" width="280" alt="Fruits image"/> <img src="/assets/examples/6-3.png" width="400" alt="Fruit detection result"/><br><br>Answer: Kiwi fruit (93mg/100g)
Pose Analysis 💬 Prompt:<br>Please analyze what yoga pose this is and overlay the keypoints on the original image using canvas<br><br>🖼️ Input Image:<br><img src="/assets/examples/3-1.jpg" width="280" alt="Yoga pose image"/> <img src="/assets/examples/3-3.png" width="400" alt="Pose detection result"/>

🚀 Quick Start

1. Prerequisites

Make sure you have Node.js installed. If you don't have Node.js, download it from nodejs.org.

Also, choose an AI assistants and applications that support the MCP Client, including but not limited to:

2. Configure MCP Sever

You can use DINO-X MCP server in two ways:

Option A: Using NPM Package 👍

Add the following configuration in your MCP client:

{
  "mcpServers": {
    "dinox-mcp": {
      "command": "npx",
      "args": ["-y", "@deepdataspace/dinox-mcp"],
      "env": {
        "DINOX_API_KEY": "your-api-key-here"
      }
    }
  }
}

Option B: Using Local Project

First, clone and build the project:

# Clone the project
git clone https://github.com/IDEA-Research/DINO-X-MCP.git
cd DINO-X-MCP

# Install dependencies
pnpm install

# Build the project
pnpm run build

Then configure your MCP client:

{
  "mcpServers": {
    "dinox-mcp": {
      "command": "node",
      "args": ["/path/to/DINO-X-MCP/build/index.js"],
      "env": {
        "DINOX_API_KEY": "your-api-key-here"
      }
    }
  }
}

3. Get API Key

Get your API key from DINO-X Platform (A free quota is available for new users).

Replace your-api-key-here in the configuration above with your actual API key.

4. Available Tools

Restart your MCP client, and you should be able to use the following tools:

Method Name Description Input Output
detect-all-objects Detects and localizes all recognizable objects in an image. Image Category names + bounding boxes + captions
object-detection-by-text Detects and localizes objects in an image based on a natural language prompt. Image + Text prompt Bounding boxes + object captions
detect-human-pose-keypoints Detects 17 human body keypoints per person in an image for pose estimation. Image Keypoint coordinates and captions

📝 Usage

Supported Image Formats

  • Remote URLs starting with https:// 👍
  • Local file paths (starting with file://)
  • Common image formats: jpg, jpeg, png, webp

API Docs

Please refer to DINO-X Platform for API usage limits and pricing information.

🛠️ Development

Watch Mode

During development, you can use watch mode for automatic rebuilding:

pnpm run watch

Debugging

Use MCP Inspector to debug the server:

pnpm run inspector

License

Apache License 2.0

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured