Skip to main content
Glama

vision-mcp

Visueller MCP-Server basierend auf Alibaba Cloud Bailian DashScope (Qwen-VL). Bietet Bildverständnisfunktionen für Clients wie Claude Code, Trae, CodeBuddy über das MCP-Protokoll.

Funktionen

  • analyze_image — Allgemeine Bildanalyse (unterstützt lokale Dateipfade / öffentliche URLs / Data-URLs)

  • screenshot_analyze — UI-/Bildschirmfotoanalyse

Related MCP server: image-mcp

Unterstützte Modelle

Modell

Beschreibung

qwen-vl-max

Beste Ergebnisse, geeignet für komplexe Bildverständnisse

qwen-vl-plus

Ausgewogen zwischen Ergebnis und Geschwindigkeit (Standard)

qwen2.5-vl-72b-instruct

72B Anweisungsbefolgung

qwen2.5-vl-7b-instruct

7B leichtgewichtig und schnell

Schnellstart

1. Abhängigkeiten installieren

python -m venv .venv
# Windows
.venv\Scripts\pip install -r requirements.txt
# Linux / macOS
.venv/bin/pip install -r requirements.txt

2. API-Schlüssel konfigurieren

Erstellen Sie eine .env-Datei im Projektstammverzeichnis (wird beim Start des MCP-Servers automatisch gelesen):

DASHSCOPE_API_KEY=sk-你的密钥

Antragsadresse: Alibaba Cloud Bailian-Konsole

3. Starten

# Windows
.venv\Scripts\python vision_mcp_server.py
# Linux / macOS
.venv/bin/python vision_mcp_server.py

Unterstützte Modelle auflisten:

python vision_mcp_server.py --list

In MCP-Client einbinden

Fügen Sie in der MCP-Konfiguration des Clients (z. B. mcp.json oder .mcp.json) Folgendes hinzu:

{
  "mcpServers": {
    "vision": {
      "command": "/path/to/vision-mcp/.venv/bin/python",
      "args": ["/path/to/vision-mcp/vision_mcp_server.py"],
      "env": {}
    }
  }
}

Testen

# 协议冒烟测试(无需 API Key)
.venv/bin/python smoke_test.py

# 真实调用测试(需配置 API Key,使用本地测试图)
.venv/bin/python live_test.py

Hinweise

  • Der DashScope-Server kann beim Herunterladen öffentlicher Bild-URLs aus dem Ausland zeitüberschreiten. Verwenden Sie lokale Dateipfade oder in China erreichbare URLs.

  • Der API-Schlüssel wird über die .env-Datei bereitgestellt und nicht in der Konfigurationsdatei gespeichert.

Lizenz

MIT

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Multi-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.
      1
      512 npm
      116
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP 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
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP 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.
      -