Vision-Multi MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Vision-Multi MCP Server What's in this image? https://example.com/cat.jpg"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Vision-Multi MCP Server
多模型 / 多 API 供应商的视觉识图 MCP 服务器。一个 analyze_image 工具,可手动切换不同模型与 API 后端,并内置故障自动切换:主后端失败(401/403/429)时自动回退到可用后端,且把切换结果持久化,重启后依然生效。
协议:MCP(Model Context Protocol),stdio transport
语言:Node.js(>= 18)
适用客户端:Reasonix、Claude Code 等支持 MCP 的客户端
功能特性
多后端识图:
analyze_image一次注册,可切换多个模型/API 供应商(provider参数)故障自动切换:未手动指定
provider时,主后端连续失败达阈值(默认 1 次)自动切换到回退成功的后端状态持久化:切换结果写入状态文件(默认
<REASONIX_HOME>/mcp-state/vision-multi-state.json),重启后依然生效手动覆盖:
provider/model参数随时手动指定,不受自动切换影响只读声明:两个工具均声明
annotations.readOnlyHint: true,可在 Plan 模式与严格只读子代理中使用密钥安全:所有后端密钥仅经环境变量注入,代码与配置示例中不含真实密钥
Related MCP server: MCP Vision Server
工具
analyze_image —— 分析图片
参数 | 类型 | 必填 | 说明 |
| string | 是 | 本地图片路径或 http(s) 图片 URL |
| string | 否 | 问题(默认:请详细描述这张图片的内容) |
| string | 否 | 后端 id(用 |
| string | 否 | 模型名,覆盖该后端的默认模型 |
list_providers —— 查看当前可用后端
返回各后端的 id / 名称 / 模型 / 接口地址(不含密钥),切换前先查询。
安装
git clone https://github.com/snow930/reasonix-vision-multi.git
cd reasonix-vision-multi
npm install配置
后端来源有两种,可共存:
默认后端 dashscope:环境变量
DASHSCOPE_API_KEY/DASHSCOPE_BASE_URL/VISION_MODEL附加后端:环境变量
VISION_PROVIDERS(JSON 数组,可配任意多个 OpenAI 兼容端点)
环境变量
变量 | 必填 | 说明 |
| 是(至少一个后端) | 默认后端 API key |
| 否 | 默认后端接口地址(默认 |
| 否 | 默认后端模型(默认 |
| 否 | 默认后端 id(不传时按 |
| 否 | 附加后端 JSON 数组(见下) |
| 否 | 连续失败多少次后自动切换默认后端(默认 |
| 否 | 状态文件路径(默认 |
VISION_PROVIDERS 示例(密钥请用你自己的)
[
{
"id": "modelscope",
"name": "ModelScope 通义千问VL",
"baseUrl": "https://api-inference.modelscope.cn/v1",
"apiKey": "sk-xxx",
"model": "Qwen/Qwen3-VL-8B-Instruct"
},
{
"id": "siliconflow",
"name": "硅基流动",
"baseUrl": "https://api.siliconflow.cn/v1",
"apiKey": "sk-xxx",
"model": "Qwen/Qwen2.5-VL-72B-Instruct"
}
]客户端注册示例
Reasonix 全局配置 config.toml([[plugins]]):
[[plugins]]
name = "vision-multi"
command = "node"
args = ["/path/to/reasonix-vision-multi/index.js"]
env = {
DASHSCOPE_API_KEY = "sk-xxx",
VISION_MODEL = "qwen3.7-flash",
VISION_DEFAULT_PROVIDER = "dashscope",
VISION_PROVIDERS = "[{\"id\":\"modelscope\",\"name\":\"ModelScope\",\"baseUrl\":\"https://api-inference.modelscope.cn/v1\",\"apiKey\":\"sk-xxx\",\"model\":\"Qwen/Qwen3-VL-8B-Instruct\"}]"
}Claude Code 项目 .mcp.json:
{
"mcpServers": {
"vision-multi": {
"command": "node",
"args": ["/path/to/reasonix-vision-multi/index.js"],
"env": {
"DASHSCOPE_API_KEY": "sk-xxx"
}
}
}
}修改配置后需重启会话 / 重新注册 MCP server 生效。
自检
# 先设置测试图片路径与至少一个后端的 key
VISION_TEST_IMAGE=/path/to/test.png DASHSCOPE_API_KEY=sk-xxx npm test
# 或直接与 MCP 客户端连接后调用 list_providers / analyze_imagee2e-test.js 会依次验证 initialize / tools/list / list_providers / analyze_image(默认后端真实调用)。
许可证
MIT
Available Tools
2 toolsanalyze_image分析图片ARead-only
使用视觉大模型分析图片内容。传入本地图片文件路径或 http(s) 图片 URL,可附带问题。可用 provider 参数手动切换识别后端(用 list_providers 查看),可用 model 参数覆盖该后端的默认模型。
Inputs: image (required), model, prompt, provider.
list_providers列出可用识别后端ARead-only
列出当前配置的所有视觉识别后端(id / 名称 / 模型 / 接口地址),不含密钥。用于手动切换前查看可选后端。
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: list_providers shows available backend configurations, while analyze_image performs image analysis. There is no overlap or ambiguity between them.
Both tool names follow the consistent verb_noun pattern: list_providers and analyze_image. This is a predictable and uniform naming convention.
With only 2 tools, the set is minimal but well-suited to the server's focused purpose of image analysis with configurable providers. Each tool serves a distinct and necessary function, so the count feels appropriate rather than thin.
The core workflow is covered: list available providers and analyze an image, with the ability to select a provider or model. A minor gap is the lack of provider management operations, but these are typically handled by configuration files rather than MCP tools.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
MCP server for Qwen Image 3 AI image generation
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseBqualityDmaintenanceA lightweight MCP server for image analysis using any OpenAI-compatible API endpoint, enabling AI agents to analyze images via a single tool.117 npmMIT
- FlicenseNot gradedqualityDmaintenanceA versatile MCP server that adds vision capabilities (image analysis, OCR, image/video generation) to AI models lacking native vision, with support for multiple providers and automatic task routing.-
- AlicenseAqualityDmaintenanceMCP server that provides an analyze_image tool using OpenAI-compatible vision LLMs to describe images from file paths, URLs, or base64 data.127 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for analyzing images using multiple vision LLM providers (OpenCode, OpenAI, Anthropic, Google, and custom OpenAI-compatible endpoints). Provides tools to analyze single or multiple images, list providers, and test vision capabilities.MIT