vision-mcp
vision-mcp
阿里云百炼 DashScope(Qwen-VL) をベースとしたビジョンMCPサーバーです。MCPプロトコルを介して、Claude Code、Trae、CodeBuddyなどのクライアントに画像認識機能を提供します。
機能
analyze_image— 汎用画像解析(ローカルファイルパス / 公開URL / data URL に対応)screenshot_analyze— UI / 画面スクリーンショット解析
Related MCP server: image-mcp
対応モデル
モデル | 説明 |
| 最も効果的で、複雑な画像理解に最適 |
| 効果と速度のバランス(デフォルト) |
| 72B 命令追従 |
| 7B 軽量高速 |
クイックスタート
1. 依存関係のインストール
python -m venv .venv
# Windows
.venv\Scripts\pip install -r requirements.txt
# Linux / macOS
.venv/bin/pip install -r requirements.txt2. API Key の設定
プロジェクトのルートディレクトリに .env ファイルを作成します(MCPサーバー起動時に自動的に読み込まれます):
DASHSCOPE_API_KEY=sk-你的密钥申請先:阿里云百炼控制台
3. 起動
# Windows
.venv\Scripts\python vision_mcp_server.py
# Linux / macOS
.venv/bin/python vision_mcp_server.py対応モデルの一覧表示:
python vision_mcp_server.py --listMCP クライアントへの接続
クライアントの MCP 設定(mcp.json または .mcp.json など)に以下を追加します:
{
"mcpServers": {
"vision": {
"command": "/path/to/vision-mcp/.venv/bin/python",
"args": ["/path/to/vision-mcp/vision_mcp_server.py"],
"env": {}
}
}
}テスト
# 协议冒烟测试(无需 API Key)
.venv/bin/python smoke_test.py
# 真实调用测试(需配置 API Key,使用本地测试图)
.venv/bin/python live_test.py注意
DashScope サーバーが海外の公開画像 URL をダウンロードする際にタイムアウトする可能性があります。ローカルファイルパスまたは国内からアクセス可能なURLを使用することをお勧めします。
API Key は
.envファイルで提供され、設定ファイルには書き込まれません。
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Qwen Image 3 AI image generation
MCP server for visual regression testing: triage a PR's UI diffs from your coding agent.
MCP server for ByteDance Seedream AI image generation
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseAqualityAmaintenanceMulti-model vision understanding MCP server that provides unified image analysis for AI assistants without native vision, supporting models like GLM-4.6V, DeepSeek-OCR, Qwen3-VL-Flash, and more.1529 npm115MIT
- AlicenseAqualityCmaintenanceMCP server for image recognition, supporting multiple vision backends (Anthropic, Zhipu, Ollama) to describe, answer questions, and analyze images.327 npm1MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that adds Qwen3-VL vision capabilities to Claude Code or any MCP client, enabling OCR, UI/screenshot recognition, and chart understanding. It provides tools for analyzing single or batch images via DashScope's OpenAI-compatible API, with caching and fast mode.MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides a 'borrowed eye' for text-only LLMs, enabling them to identify and describe local images via the Qwen VL vision model, including face recognition, scene description, OCR, and targeted visual questioning.7 npmApache 2.0