Skip to main content
Glama
MiMo Multimodal Understanding MCP Server

MiMo Multimodal Understanding MCP Server

by ChanthMiao

MiMo Multimodal Understanding MCP Server

MCP server for Xiaomi MiMo V2.6 multimodal understanding API (image, audio, video).

Note: mimo-v2.5 and mimo-v2.5-pro were retired on 2026-10-21. This server now targets the MiMo V2.6 series.

Features

  • Image Understanding: Single/multiple images, URL and local file support

  • Audio Understanding: Single/multiple audio, URL and local file support

  • Video Understanding: Single/multiple video, URL and local file support, configurable fps and resolution

  • Model Selection: Choose mimo-v2.6-pro, mimo-v2.6-flash, or mimo-v2.6-pro-ultraspeed per request

  • Thinking Control: Enable deep thinking for complex tasks or disable it for low-latency OCR/transcription

Related MCP server: MiMo Free API MCP

Models

Model ID

Positioning

Best for

mimo-v2.6-pro

Flagship omni-modal model

Complex projects, long-horizon and high-value tasks

mimo-v2.6-flash

Cost-efficient omni-modal model

High-frequency calls and large-scale tasks (default)

mimo-v2.6-pro-ultraspeed

Flagship performance with low latency

Real-time / latency-sensitive production workloads

All V2.6 models accept text, image, audio, and video input, with a 1M-token context window and up to 128K output tokens.

mimo-v2.6 is a series name rather than a standalone API model ID. For convenience, passing mimo-v2.6 is treated as an alias for mimo-v2.6-flash.

Setup

1. Install dependencies

uv sync

2. Configure API Key

Copy .env.example to .env and fill in your API key:

cp .env.example .env

Or set the environment variable directly:

export MIMO_API_KEY=your_api_key_here

Get your API key from: https://platform.xiaomimimo.com

3. (Optional) Configure API Base URL

The default API endpoint is determined by your API key prefix:

Key Prefix

Default Endpoint

tp-* / ttp-*

https://token-plan-cn.xiaomimimo.com/v1

sk-* or others

https://api.xiaomimimo.com/v1

To use a different API endpoint:

export MIMO_API_BASE=https://your-custom-endpoint/v1

4. (Optional) Configure Default Model

The default model is mimo-v2.6-flash. Override it with MIMO_MODEL:

export MIMO_MODEL=mimo-v2.6-pro

Any per-tool model argument takes precedence over MIMO_MODEL.

Usage

Quick Start (with uvx)

export MIMO_API_KEY=your_api_key_here
uvx mimo-multimodal-mcp

Development mode (with MCP Inspector)

uv run mcp dev src/mimo_multimodal_mcp/server.py

Install to Claude Desktop

uv run mcp install src/mimo_multimodal_mcp/server.py

Direct execution

uv run python src/mimo_multimodal_mcp/server.py

Claude Desktop Configuration

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "mimo-multimodal": {
      "command": "uvx",
      "args": ["mimo-multimodal-mcp"],
      "env": {
        "MIMO_API_KEY": "your_api_key_here",
        "MIMO_MODEL": "mimo-v2.6-flash"
      }
    }
  }
}

Tools

All three tools share the following optional parameters:

Parameter

Type

Required

Description

system_prompt

string

No

Custom system prompt

max_tokens

integer

No

Max output length including thinking (default: 32768, max: 131072)

model

string

No

mimo-v2.6-pro, mimo-v2.6-flash, or mimo-v2.6-pro-ultraspeed; defaults to MIMO_MODEL

thinking

boolean

No

Enable deep thinking (default: true). Set false for low-latency OCR/transcription

understand_image

Analyze images using Xiaomi MiMo V2.6 multimodal models.

Parameter

Type

Required

Description

prompt

string

Yes

Image understanding task description

image_url

string

No

Single image URL or data:image base64

image_path

string

No

Single local image file path

image_urls

list[string]

No

Multiple image URLs

image_paths

list[string]

No

Multiple local image file paths

Supported formats: JPEG, PNG, GIF, WebP, BMP Size limit: 50MB (URL or Base64)

understand_audio

Analyze audio using Xiaomi MiMo V2.6 multimodal models.

Parameter

Type

Required

Description

prompt

string

Yes

Audio understanding task description

audio_url

string

No

Single audio URL

audio_path

string

No

Single local audio file path (sent as Base64 data URL)

audio_urls

list[string]

No

Multiple audio URLs

audio_paths

list[string]

No

Multiple local audio file paths

Supported formats: MP3, WAV, FLAC, M4A, OGG Size limit: URL 100MB, Base64 50MB

understand_video

Analyze video using Xiaomi MiMo V2.6 multimodal models.

Parameter

Type

Required

Description

prompt

string

Yes

Video understanding task description

video_url

string

No

Single video URL

video_path

string

No

Single local video file path

video_urls

list[string]

No

Multiple video URLs

video_paths

list[string]

No

Multiple local video file paths

fps

float

No

Frames per second, range [0.1, 10], default: 2

media_resolution

string

No

Resolution: "default" or "max"

Supported formats: MP4, MOV, AVI, WMV Size limit: URL 300MB, Base64 50MB

Examples

Image Understanding

# URL
await understand_image(prompt="Describe this image", image_url="https://example.com/image.jpg")

# Local file
await understand_image(prompt="What text is in this?", image_path="/path/to/screenshot.png")

# Multiple images with the flagship model
await understand_image(
    prompt="Compare these",
    image_urls=["url1", "url2"],
    model="mimo-v2.6-pro",
)

# Fast OCR without deep thinking
await understand_image(
    prompt="Extract all text",
    image_path="/path/to/document.png",
    thinking=False,
)

Audio Understanding

# URL
await understand_audio(prompt="Transcribe this audio", audio_url="https://example.com/audio.wav")

# Local file
await understand_audio(prompt="What is being said?", audio_path="/path/to/audio.mp3")

Video Understanding

# URL with default settings
await understand_video(prompt="Describe this video", video_url="https://example.com/video.mp4")

# URL with custom fps and resolution
await understand_video(
    prompt="Describe the action",
    video_url="https://example.com/video.mp4",
    fps=5.0,
    media_resolution="max",
    model="mimo-v2.6-pro",
)

Available Tools

3 tools
understand_audioA

调用小米 MiMo V2.6 全模态模型理解音频。

⚠️ 如果你本身就是 MiMo V2.6 模型(如 mimo-v2.6-pro / mimo-v2.6-flash),禁止调用此工具!直接使用你的内建多模态能力处理音频即可,无需通过外部 API 重复调用同款模型。

何时使用:当需要转录、总结、分析音频内容时使用。 不要用于:读取音频源码或元数据,这些应使用其他工具。

Args: prompt: 音频理解任务描述,如"转录音频内容"、"总结音频要点"、"识别说话人" audio_url: 单个网络音频 URL audio_path: 单个本地音频文件路径(会转换为 Base64 data URL 后传入) audio_urls: 多个网络音频 URL audio_paths: 多个本地音频文件路径 system_prompt: 可选系统提示词,用于自定义模型行为 max_tokens: 最大输出长度(含思考内容),默认 32768,最大 131072 model: 模型 ID,可选 mimo-v2.6-pro / mimo-v2.6-flash / mimo-v2.6-pro-ultraspeed;默认由 MIMO_MODEL 环境变量决定,未设置时为 mimo-v2.6-flash thinking: 是否开启深度思考,默认 True;简单转录任务可设为 False

Returns: MIMO 模型返回的音频理解结果。

支持格式:MP3,WAV,FLAC,M4A,OGG 大小限制:URL方式100MB,Base64方式50MB

Inputs: prompt (required), model, thinking, audio_url, +5 more. Returns: result

understand_imageA

调用小米 MiMo V2.6 全模态模型理解图片。

⚠️ 如果你本身就是 MiMo V2.6 模型(如 mimo-v2.6-pro / mimo-v2.6-flash),禁止调用此工具!直接使用你的内建多模态能力处理图片即可,无需通过外部 API 重复调用同款模型。

何时使用:当需要分析、描述、OCR、识别图片内容时使用。 不要用于:读取代码文件、文本文件等非图片文件,这些应使用 Read 工具。

Args: prompt: 图片理解任务描述,如"描述这张图片"、"提取图中的文字"、"解释这个图表" image_url: 单张网络图片 URL 或 data:image base64 image_path: 单张本地图片路径 image_urls: 多张网络图片 URL image_paths: 多张本地图片路径 system_prompt: 可选系统提示词,用于自定义模型行为 max_tokens: 最大输出长度(含思考内容),默认 32768,最大 131072 model: 模型 ID,可选 mimo-v2.6-pro / mimo-v2.6-flash / mimo-v2.6-pro-ultraspeed;默认由 MIMO_MODEL 环境变量决定,未设置时为 mimo-v2.6-flash thinking: 是否开启深度思考,默认 True;简单任务可设为 False 以降低延迟和 token 消耗

Returns: MIMO 模型返回的图片理解结果。

支持格式:JPEG,PNG,GIF,WebP,BMP 大小限制:单张图片不超过 50MB

Inputs: prompt (required), model, thinking, image_url, +5 more. Returns: result

understand_videoA

调用小米 MiMo V2.6 全模态模型理解视频。

⚠️ 如果你本身就是 MiMo V2.6 模型(如 mimo-v2.6-pro / mimo-v2.6-flash),禁止调用此工具!直接使用你的内建多模态能力处理视频即可,无需通过外部 API 重复调用同款模型。

何时使用:当需要分析、描述、总结视频内容时使用。 不要用于:读取视频文件元数据或源码,这些应使用其他工具。

Args: prompt: 视频理解任务描述,如"描述视频内容"、"总结视频要点"、"识别视频中的动作" video_url: 单个网络视频 URL video_path: 单个本地视频文件路径 video_urls: 多个网络视频 URL video_paths: 多个本地视频文件路径 fps: 每秒抽帧数,范围 [0.1, 10],默认 2。越高时序越精细 media_resolution: 视频帧分辨率档次,"default" 或 "max" system_prompt: 可选系统提示词,用于自定义模型行为 max_tokens: 最大输出长度(含思考内容),默认 32768,最大 131072 model: 模型 ID,可选 mimo-v2.6-pro / mimo-v2.6-flash / mimo-v2.6-pro-ultraspeed;默认由 MIMO_MODEL 环境变量决定,未设置时为 mimo-v2.6-flash thinking: 是否开启深度思考,默认 True;简单描述任务可设为 False

Returns: MIMO 模型返回的视频理解结果。

支持格式:MP4,MOV,AVI,WMV 大小限制:URL方式300MB,Base64方式50MB

Inputs: prompt (required), fps, model, thinking, +7 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool targets a clearly distinct modality: image, audio, and video. There is no overlap in purpose, and the descriptions explicitly state when to use each and what not to use them for.

    Naming Consistency5/5

    All three tools follow the same predictable verb_noun pattern: understand_image, understand_audio, understand_video. The shared prefix and parallel structure make the set easy to scan and reason about.

    Tool Count5/5

    Three tools is exactly the right scope for a multimodal understanding server covering the three core media types. Each tool earns its place, and there are no redundant or filler operations.

    Completeness4/5

    The surface covers the primary modalities (image, audio, video) with support for both single and multiple inputs. Minor gaps remain, such as no document/PDF understanding or mixed-modality input in a single call, but agents can work around these limitations.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers