DeepSeek Vision MCP Server
DeepSeek Vision MCP Server
Ein DeepSeek-Vision-MCP-Server, erstellt mit FastMCP, der die drei Bild-Eingabsschnittstellen aus dem offiziellen Vision-Leitfaden für MCP-Clients wie opencode implementiert.
Modell:
deepseek-v4-flash-vision-expAPI: OpenAI-kompatibles Format,
base_url = https://api.deepseek.com
Für die chinesische Dokumentation siehe README.zh.md.
Schnittstellen
Tool | Methode | Beschreibung |
| 1. Base64 Inline | Liest ein lokales Bild und kodiert es in eine Data-URL, die in die Anfrage eingebettet ist; max. 32 MiB pro Bild |
| 2. Externe URL | Übergibt einen öffentlich erreichbaren http(s)-Link, der vom Server heruntergeladen wird; URL ≤ 8192 Zeichen |
| 3. Files-API | Referenziert die |
| Files-API-Hilfsfunktion | Lädt eine lokale Bilddatei hoch ( |
detail-Optionen: low (auf 512×512 verkleinert, schneller und günstiger), high, original, auto.
Related MCP server: Look At Pic MCP
Installation
mkdir %HOMEPATH%\mcp\DeepSeek
python -m venv %HOMEPATH%\mcp\DeepSeek\.venv
%HOMEPATH%\mcp\DeepSeek\.venv\Scripts\pip install -r %HOMEPATH%\mcp\DeepSeek\requirements.txtDie Abhängigkeiten sind in requirements.txt festgelegt: fastmcp==3.4.7, openai==3.3.1.
Konfiguration
Füge Folgendes in den Abschnitt mcp von %HOMEPATH%\.config\opencode\opencode.jsonc ein:
"deepseek-vision": {
"type": "local",
"command": ["C:\\Users\\%USERNAME%\\mcp\\DeepSeek\\.venv\\Scripts\\python",
"C:\\Users\\%USERNAME%\\mcp\\DeepSeek\\server.py"],
"enabled": true,
"environment": {
"DEEPSEEK_API_KEY": "<your DeepSeek API key>"
}
}Erhalte deinen API-Schlüssel von der DeepSeek-Plattform.
Verwendungsbeispiele
Nach der Konfiguration kannst du einfach in der Konversation fragen:
"Verwende analyze_local_image, um zu beschreiben, was in D:\pics\screenshot.png zu sehen ist"
"Verwende analyze_image_url, um dir https://example.com/photo.jpg anzusehen und die Szene zu beschreiben"
"Lade zuerst big_photo.png mit upload_image hoch und verwende dann analyze_file_id, um den Text darin zu lesen"
Grenzwert-Spickzettel
Limit | Wert |
Unterstützte Formate | JPEG, PNG, GIF, WebP |
Größe des Anfragekörpers (Inline) | 48 MiB |
Einzelnes Bild (Base64 / Externe URL) | 32 MiB |
Einzelnes Bild (Files-API) | 64 MiB |
Maximale URL-Länge | 8192 Zeichen |
Maximale Anzahl an Bildern pro Anfrage | 600 |
Hinweise:
Bilder dürfen nur in
user-Nachrichten vorkommen; Bilder insystem- oderassistant-Nachrichten führen zu 400.Nur das Vision-Modell akzeptiert Bilder; andere Modelle antworten mit „This model does not support image".
Jedes Bild wird vor der Verarbeitung durch das Modell verkleinert; ein einzelnes Bild verbraucht höchstens ~384 Tokens.
Überprüfung
%HOMEPATH%\mcp\DeepSeek\.venv\Scripts\python %HOMEPATH%\mcp\DeepSeek\server.pyKeine Fehlermeldungen bedeutet, dass der Server im StdIO-Modus problemlos startet (für echte Aufrufe muss DEEPSEEK_API_KEY konfiguriert sein).
This server cannot be deployed
Maintenance
Related MCP Connectors
Search over 1.85 million captioned images using text, a reference image, or both. Upload a JPEG, PNG, or WebP image as base64, or provide a public HTTPS image URL. Find similar images from a Lightdrift asset ID and retrieve hosted file URLs, source licenses, and attribution. Connect with OAuth or an API key. Searches cost $0.005 ($5 per 1,000); image details are free. Setup: https://docs.lightdrift.ai/guides/images-mcp
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Image infrastructure for agents. Upload, transform, and deliver images through MCP, CLI, or API.
Generate images from Claude, ChatGPT, Cursor and Codex with 12 top AI image models. Up to 4 images per call, SVG vectorization, background removal, upscaling and image-to-video. Remote MCP with OAuth, no API keys.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables image understanding using Doubao vision models via MCP, supporting local file paths and URLs with customizable prompts.145 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables image analysis using GLM-4V multimodal model, supporting local files and base64 images with optional custom prompts.-
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible agents to analyze images via NVIDIA NIM vision models, supporting file paths, URLs, or base64 input to return actionable textual descriptions.79 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables to analyze images using GLM-4V vision model via the MCP protocol, supporting local file paths and Data URLs.170 npmMIT