
kitlau86/agent-vision-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ノンビジョンLLMを「参照」する機能を与えるMCPサーバー。 OpenAI互換ビジョンAPI(Gemini、Qwen-VL、OpenAI、またはセルフホスト)と、DeepSeekのようなテキスト専用のモデルをプラグインします.
概要
◀ 映像を分析することができない非ビジョンAIモデルを与えるMCPサーバー 多くのユーザーは、Claude Codeのようなコーディングアシスタントを、視覚的な機能を持たないようなテキストのみのモデルに接続します。 その結果、会話で画像を送ると、メインモデルはその内容を理解できません。 これを解決します。:それはあなたが任意の(例えば、Gemini Flash、Alibaba Qwen-VL、OpenAI、またはあなた自身のホスト型ビジョンモデルなど)を設定することができますMCP(モデルコンテキストプロトコル)サーバーです。 メインモデルが画像に遭遇すると、このツールが自動的に呼び出して、画像のテキスト解析を取得します。 OpenAI 互換ビジョン API が必要です。 いくつかの一般的なオプションがあります。 — この MCP サーバーは、JSON-RPC を使用して、標準入力/出力 (stdin/stdout) を介して、子プロセスとして実行され、クライアントと通信します。 Claude コード/Claude デスクトップ MCP の設定に以下を追加します。 設定したら、会話に画像を送信します。 main モデルは、解析するために、自動的に analytics image ツールを呼び出します.
概要(AI 翻訳)
English** 日本語
◀ 映像を分析することができない非ビジョンAIモデルを与えるMCPサーバー
これは何ですか?
多くのユーザーは、Claudeコードのようなコーディングアシスタントを、視覚機能のないDeepSeek v4などのテキストのみモデルに接続します。 その結果、会話で画像を送ると、メインモデルはその内容を理解できません。
agent-vision-mcp はこれを解決します。MCP (Model Context Protocol) サーバで、OpenAI 互換ビジョン API (例: Gemini Flash、Alibaba Qwen-VL、OpenAI、または独自のセルフホストビジョンモデル) を設定できます。 メインモデルが画像に遭遇すると、このツールが自動的に呼び出して、画像のテキスト解析を取得します。
要するに:あなたのテキストモデルの目を与える。
使い方
クイックスタート
##1. インストール
##2. ビジョンAPIを用意する
OpenAI 互換ビジョン API が必要です。 いくつかの一般的なオプションがあります。
| 提供者 | コスト | 構成 | お問い合わせ |Gemini Flash | 格安(無料) | APIキーを入手し、OpenAI対応エンドポイントを利用 | |Alibaba Qwen-VL | Pay-as-you-go | DashScopeプラットフォームからAPIキーを入手 | |OpenAI | より高価な | ≪[[T0] の利用
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
agent-vision-mcp
🖼️ An MCP server that gives non-vision AI models the ability to analyze images
What is this?
Many users connect coding assistants like Claude Code to text-only models such as DeepSeek v4 that have no vision capability. As a result, when you send an image in a conversation, the main model can’t understand its content.
agent-vision-mcp solves this: it’s an MCP (Model Context Protocol) server that lets you configure any OpenAI-compatible vision API (e.g. Gemini Flash, Alibaba Qwen-VL, OpenAI, or your own self-hosted vision model). When the main model encounters an image, it automatically calls this tool to get a text analysis of the image.
In short: give your text model eyes.
How it works
You: Please analyze the error in this screenshot [uploads screenshot.png]
↓
Claude Code (DeepSeek v4) sees an image but can't understand it
↓
Claude Code calls the MCP tool: analyze_image(image="screenshot.png", prompt="Read the error in the screenshot")
↓
agent-vision-mcp sends the image to your configured vision API (e.g. Gemini Flash)
↓
The vision model returns: "The screenshot shows terminal output with a TypeError: Cannot read property 'map' of undefined error at src/app.ts line 42..."
↓
Claude Code receives the text description and replies: "Your code has a TypeError at src/app.ts:42..."
Quick start
1. Install
npm install -g @kitlau/agent-vision-mcp
2. Prepare a vision API
You need an OpenAI-compatible vision API. Here are some common options:
| Provider | Cost | Configuration |
|---|---|---|
| Gemini Flash | Cheap (free tier available) | Get an API key, use the OpenAI-compatible endpoint |
| Alibaba Qwen-VL | Pay-as-you-go | Get an API key from the DashScope platform |
| OpenAI | More expensive | Use https://api.openai.com/v1 directly |
| Self-hosted vLLM/LiteLLM | Depends on hardware | Runs locally, no external cost |
3. Configure the MCP client
Transport: stdio — This MCP server runs as a child process and communicates with the client via standard input/output (stdin/stdout) using JSON-RPC.
Add the following to your Claude Code / Claude Desktop MCP configuration:
{
"mcpServers": {
"agent-vision": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@kitlau/agent-vision-mcp"],
"env": {
"VISION_API_KEY": "your-api-key",
"VISION_BASE_URL": "https://api.openai.com/v1",
"VISION_MODEL_NAME": "gpt-4o"
}
}
}
}
4. Use it
Once configured, just send an image in the conversation. The main model will automatically call the analyze_image tool to analyze it.
インストール
npx -y @kitlau/agent-vision-mcp設定
{
"mcpServers": {
"agent-vision": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@kitlau/agent-vision-mcp"],
"env": {
"VISION_API_KEY": "your-api-key",
"VISION_BASE_URL": "https://api.openai.com/v1",
"VISION_MODEL_NAME": "gpt-4o"
}
}
}
}