visionMCP
visionMCP 👁️
より大きな推論LLMの目。
visionMCP は Model Context Protocol サーバーであり、MCP対応エージェントに真の 視覚 を提供します。テキストのみの推論モデルは、自分では見えないあらゆるタスクをこのサーバーに委譲できます。スクリーンショットの説明、写真に関する質問への回答、ドキュメントのOCR、2つの画像の比較など、サーバーが代わりに「見て」、テキストを返します。
単一の config.json から実行時に選択可能な 3つの主要ビジョンバックエンド すべてで動作します。
プロバイダー | API | モデル例 |
Ollama | OpenAI互換 ( |
|
OpenAI | Chat Completions ビジョンAPI |
|
Anthropic | Claude Messages ビジョンAPI |
|
機能
🔍 4つのビジョンツール を推論LLMが呼び出せます:
describe_image— 自然言語による完全な説明ask_about_image— 任意の画像についての特定Q&Aextract_text— OCR / 文字起こしcompare_images— 横並び比較
🖼️ すべてのソースに対応: ローカルファイルパス、
http(s)URL、base64data:URI。📦 画像の事前処理不要: 過大な画像は自動的に縮小・JPEG再エンコードされ、プロバイダーのペイロード制限に適合します。
🔌 3つのトランスポート:
stdio(デフォルト、ローカルMCPクライアント向け)、http(Streamable HTTP、リモートホスティング用)、sse(レガシーServer-Sent Events)。⚙️ 単一の
config.jsonでプロバイダー、APIキー、API URL、モデルを制御。環境変数やCLIフラグで任意の項目を上書き可能。🚀
uv管理、インストール・実行・ホスティングが容易。
Related MCP server: depu-img-mcp
クイックスタート
1. インストール
uv および Python ≥ 3.10 が必要です。
cd visionMCP
uv sync2. 設定
同梱の config.json は既にローカルのOllamaで動作します。ファイルを編集してプロバイダーを切り替えます。
// config.json
{
"provider": "openai", // "ollama" | "openai" | "anthropic"
"api_key": "sk-...", // or leave "" and export OPENAI_API_KEY
"api_url": "", // "" = provider default
"model": "" // "" = provider default
}すべてのオプションについては docs/configuration.md を、プロバイダーごとのセットアップについては docs/providers.md を参照してください。
セキュリティ: 実際のAPIキーをgitに含めないでください —
config.jsonをconfig.local.jsonにコピーするか(自動無視)、環境変数を使用してください。サーバーはキーをログに記録しません。
3. 実行
uv run vision-mcp # stdio transport (default)
uv run vision-mcp --transport http --host 0.0.0.0 --port 8100 # host remotely
uv run vision-mcp --show-config # print resolved config (key masked)MCPクライアントへの組み込み
opencode (opencode.json)
{
"mcpServers": {
"visionMCP": {
"type": "stdio",
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/visionMCP", "vision-mcp"]
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"visionMCP": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/visionMCP", "vision-mcp"]
}
}
}汎用MCPクライアント (stdio)
{
"mcpServers": {
"visionMCP": {
"command": "/path/to/visionMCP/.venv/bin/vision-mcp",
"args": ["--config", "/path/to/visionMCP/config.json"]
}
}
}サーバーは、ツール呼び出しで提供された範囲を超えて画像 コンテンツ をビジョンAPIに送信することはありません。画像バイトはメモリ内に保持され、ディスクに書き込まれることはありません。
ツールリファレンス
ツール | 引数 | 戻り値 |
|
| プレーンテキストの完全な説明 |
|
| 焦点を絞った回答 |
|
| 文字起こし/OCRテキスト |
|
| プレーンテキストの比較結果 |
| — | プロバイダー、モデル、トランスポート |
image 引数は以下を受け入れます:
/path/to/photo.png # local file
https://example.com/x.jpg # URL (downloaded at call time)
data:image/png;base64,iVBORw0KGgo... # base64 data URI仕組み
すべては src/vision_mcp/pipeline.py の1つの関数に集約されます。
image (path / URL / data URI) → base64 + mime → vision model → text
_read() _encode() API[provider] look()サーバーツールは薄いラッパーです: pipeline.look(cfg, [image], prompt)。
ドキュメント
設定リファレンス — すべての設定オプション、環境変数、優先順位ルール
プロバイダーセットアップ — Ollama、OpenAI、Anthropic をステップバイステップで
デプロイメント — HTTP/SSEでのホスティング、Docker、セキュリティ強化
開発
uv sync --group dev
uv run ruff check .
uv run pytestライセンス
MIT
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
- AlicenseAqualityCmaintenanceGive MCP-compatible AI agents image analysis, metadata inspection, cropping, OCR, and image comparison through any OpenAI-compatible vision model.6MIT
- AlicenseAqualityBmaintenanceEnables text-only language models to understand images by forwarding image and prompt requests to vision model backends via MCP, returning descriptive text. Supports multiple OpenAI-compatible providers with task routing and safety checks.1MIT
- AlicenseAqualityBmaintenanceEnables non-multimodal models to see images by providing MCP tools for image understanding and OCR, backed by any OpenAI-compatible vision model.2MIT
- AlicenseAqualityBmaintenanceEnables any MCP client to perform image understanding and OCR via any OpenAI-compatible vision-language model. Supports local, private inference without images leaving the machine.256MIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Generate on-brand images from your AI agent: design, edit, and render templates over MCP.
Social media analytics, video analysis, and competitor intel for any MCP-compatible AI agent.
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/ThisUserIsRandom/visionMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server