DeepSeek Vision MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
DeepSeek Vision MCP Server
A DeepSeek vision MCP server built with FastMCP, implementing the three image-input interfaces from the official vision guide for MCP clients such as opencode.
Model:
deepseek-flashAPI: OpenAI-compatible format,
base_url = https://api.deepseek.com
中文文档请参见 README.zh.md。
Interfaces
Tool | Method | Description |
| 1. Base64 inline | Reads a local image, encodes it as a data URL embedded in the request; max 32 MiB per image |
| 2. External URL | Passes a public http(s) link downloaded by the server; URL ≤ 8192 chars |
| 3. Files API | References an uploaded file's file_id; up to 64 MiB per image, reusable across requests |
| Files API helper | Uploads a local image (purpose=user_data), returns a |
detail options: low (resized to 512×512, faster and cheaper), 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.txtDependencies are pinned in requirements.txt: fastmcp==3.4.7, openai==3.3.1.
Configuration
Add the following to the mcp section of %HOMEPATH%\.config\opencode\opencode.jsonc:
"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>"
}
}Get your API key from the DeepSeek Platform.
Usage Examples
Once configured, you can simply ask in conversation:
"Use analyze_local_image to describe what's in D:\pics\screenshot.png"
"Use analyze_image_url to look at https://example.com/photo.jpg and describe the scene"
"First upload big_photo.png with upload_image, then use analyze_file_id to read the text in it"
Limits Cheat Sheet
Limit | Value |
Supported formats | JPEG, PNG, GIF, WebP |
Request body size (inline) | 48 MiB |
Single image (base64 / external URL) | 32 MiB |
Single image (Files API) | 64 MiB |
External URL length | 8192 characters |
Max images per request | 600 |
Notes:
Images may only appear in
usermessages; images insystem/assistantmessages return 400.Only the vision model accepts images; other models return "This model does not support image".
Every image is resized before entering the model; a single image consumes at most ~384 tokens.
Verification
%HOMEPATH%\mcp\DeepSeek\.venv\Scripts\python %HOMEPATH%\mcp\DeepSeek\server.pyNo errors means the server starts fine in stdio mode (actual calls require DEEPSEEK_API_KEY configured).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Run AI-powered analysis on images including moderation, captioning, tagging, and more.
Generate images and videos with Seedance, Veo, Wan, Grok, GPT-Image and Nano Banana via one MCP.
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.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables image understanding using Doubao vision models via MCP, supporting local file paths and URLs with customizable prompts.1596 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables image analysis using GLM-4V multimodal model, supporting local files and base64 images with optional custom prompts.-
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible agents to analyze images via NVIDIA NIM vision models, supporting file paths, URLs, or base64 input to return actionable textual descriptions.9 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables to analyze images using GLM-4V vision model via the MCP protocol, supporting local file paths and Data URLs.55 npmMIT