DeepSeek Vision MCP Server
DeepSeek Vision MCP Server
FastMCP で構築された DeepSeek ビジョン MCP サーバーです。opencode などの MCP クライアント向けに、公式 vision guide の3つの画像入力インターフェースを実装しています。
モデル:
deepseek-v4-flash-vision-expAPI: OpenAI 互換形式、
base_url = https://api.deepseek.com
中文ドキュメントは README.zh.md を参照してください。
インターフェース
ツール | メソッド | 説明 |
| 1. Base64 インライン | ローカル画像を読み込み、リクエスト内に埋め込む data URL としてエンコードします。画像1枚あたり最大 32 MiB |
| 2. 外部 URL | サーバーがダウンロードする公開 http(s) リンクを渡します。URL は 8192 文字以下 |
| 3. Files API | アップロード済みファイルの file_id を参照します。画像1枚あたり最大 64 MiB、リクエスト間で再利用可能 |
| Files API ヘルパー | ローカル画像(purpose=user_data)をアップロードし、 |
detail オプション: low(512×512 にリサイズされ、高速かつ低コスト)、high、original、auto。
Related MCP server: Vision MCP Server
インストール
mkdir %HOMEPATH%\mcp\DeepSeek
python -m venv %HOMEPATH%\mcp\DeepSeek\.venv
%HOMEPATH%\mcp\DeepSeek\.venv\Scripts\pip install -r %HOMEPATH%\mcp\DeepSeek\requirements.txt依存パッケージは requirements.txt に固定されています: fastmcp==3.4.7、openai==3.3.1。
設定
%HOMEPATH%\.config\opencode\opencode.jsonc の mcp セクションに以下を追加してください:
GXP2
API キーは DeepSeek Platform から取得してください。
使用例
設定後は、会話で次のように質問するだけです:
"analyze_local_image を使って D:\pics\screenshot.png に何が映っているか説明してください"
"analyze_image_url を使って https://example.com/photo.jpg を確認し、そのシーンを説明してください"
"まず upload_image で big_photo.png をアップロードし、それから analyze_file_id で画像内のテキストを読み取ってください"
制限チートシート
制限 | 値 |
対応形式 | JPEG, PNG, GIF, WebP |
リクエストボディサイズ(インライン) | 48 MiB |
単一画像(base64 / 外部 URL) | 32 MiB |
単一画像(Files API) | 64 MiB |
外部 URL の長さ | 8192 文字 |
1リクエストあたりの最大画像数 | 600 |
注記:
画像は
userメッセージにのみ含めることができます。system/assistantメッセージ内に画像があると 400 が返ります。画像を受け付けられるのはビジョンモデルのみです。それ以外のモデルは「This model does not support image」を返します。
すべての画像はモデルに入る前にリサイズされます。画像1枚が消費するトークンは最大約384です。
検証
GXP3
エラーがなければ、サーバーは stdio モードで正常に起動します(実際の呼び出しには DEEPSEEK_API_KEY の設定が必要です)。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables image understanding using Doubao vision models via MCP, supporting local file paths and URLs with customizable prompts.1330MIT
- FlicenseNot gradedqualityDmaintenanceProvides image understanding capabilities for MCP clients (e.g., Claude Code) by analyzing images using vision models from providers like Alibaba Cloud Bailian, OpenAI, or OpenRouter, returning detailed descriptions in Markdown format.1
- 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.17MIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Analyze images from multiple angles to extract detailed insights or quick summaries. Describe visu…
Generate images with any major model — one API key, one prepaid balance, one MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vibe-token/DeepSeek-Vision-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server