vision-mcp-ms
Allows analyzing images via OpenAI-compatible vision APIs, enabling text-based models to 'see' images by sending image URLs or base64 data and receiving textual descriptions.
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-mcp-ms Describe this image: https://example.com/photo.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-mcp-ms
云端视觉 MCP 服务:通过 OpenAI 兼容接口(默认硅基流动 SiliconFlow)分析图片, 为 DeepSeek 这类纯文本大模型提供「看图」能力。
单一工具
analyze_image(image, prompt)支持 HTTP(S) 图片 URL 和 base64 data URL
多模型按顺序自动 fallback(限流 / 超时 / 5xx 时切下一个)
纯 API 调用、不依赖本地环境,可部署到魔搭 MCP 广场云端托管
环境变量
变量 | 必填 | 默认值 | 说明 |
| 是* | - | API Key(也兼容 |
| 否 |
| OpenAI 兼容接口地址 |
| 否 |
| 逗号分隔的有序模型列表,靠前的优先 |
| 否 |
| 单次模型请求超时(毫秒) |
* 部署时在魔搭 / MCP 客户端的 env 里配置。
Related MCP server: vision-mcp
本地使用(stdio)
在 MCP 客户端(Cherry Studio 桌面版等)里添加:
{
"mcpServers": {
"vision-mcp-ms": {
"command": "uvx",
"args": ["vision-mcp-ms"],
"env": {
"OPENAI_API_KEY": "sk-你的硅基流动Key",
"OPENAI_BASE_URL": "https://api.siliconflow.cn/v1",
"VISION_MODELS": "Qwen/Qwen2.5-VL-7B-Instruct,Qwen/Qwen2.5-VL-72B-Instruct"
}
}
}
}本地 stdio 模式下,
image参数也支持本地文件绝对路径(如D:\Pictures\a.png)。 云端托管模式下仅支持 URL / data URL(服务端读不到你的本地文件)。
开发 / 测试
uv sync # 建环境
uv run python -m vision_mcp # 以 stdio 模式启动
uv run python -c "from vision_mcp.server import _to_data_url; print(_to_data_url('https://httpbin.org/image/jpeg')[:40])"发布到 PyPI
cd vision-mcp-ms
uv run python -m build
uv run twine upload dist/*.whl部署到魔搭 MCP 广场(云端托管)
把代码推到 GitHub 仓库(或发布到 PyPI 后)。
打开 https://www.modelscope.cn/mcp/servers/create?template=customize
托管类型选「可托管部署」,来源选你的 GitHub 仓库 / PyPI 包。
配置
command/args(如uvx/vision-mcp-ms),在 env 里填OPENAI_API_KEY、OPENAI_BASE_URL、VISION_MODELS。创建后魔搭会自动部署,得到一个 HTTP 地址,填入手机 MCP 客户端即可。
Available Tools
1 toolanalyze_imageA
分析一张图片,返回视觉模型给出的文字结果。
image 可以是:HTTP/HTTPS 图片 URL、base64 data URL(data:image/...)。 按 VISION_MODELS 配置的顺序调用模型,遇限流/超时/5xx 自动切换到下一个。
Inputs: image (required), prompt. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only a single tool, there is no possibility of confusion between tools. Analyze_image is the sole operation, so selection is trivially unambiguous.
The tool name follows a clear verb_noun pattern (analyze_image). With only one tool, consistency is inherent and the name accurately describes the operation.
The server is named vision-mcp-ms, implying a broader vision scope, yet it exposes only one tool. This feels too few for the apparent domain, as typical vision MCPs offer multiple operations (e.g., OCR, object detection, image generation).
The analyze_image tool covers the core need of image analysis and returns text, but there are minor gaps such as no support for batch processing, no explicit model selection, or output format options. These are workarounds but leave the surface slightly incomplete.
Maintenance
Related MCP Connectors
MCP server for Qwen Image 3 AI image generation
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
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
- 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
- FlicenseAqualityDmaintenanceOpenAI-compatible vision MCP server with 14 provider presets that enables MCP clients to analyze images, including screenshots, text, and UI mockups, via a single analyze_image tool.2-
- AlicenseNot gradedqualityDmaintenanceEnables text-only models to understand images through a conversational MCP server, supporting multi-turn follow-ups, URL inputs, and OpenAI-compatible vision APIs.1MIT