opencode-vision-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@opencode-vision-mcpdescribe this image"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
opencode-vision-mcp
MCP-сервер для распознавания изображений. Отправляет картинку в OpenRouter AI и возвращает текстовое описание.
Использует две модели для надёжности: быструю (primary) и запасную (fallback).
Быстрая установка
Linux / macOS:
curl -sL https://github.com/avdivo/opencode-vision-mcp/raw/main/install.sh | bashWindows (PowerShell):
iwr https://github.com/avdivo/opencode-vision-mcp/raw/main/install.ps1 | iexСкрипты установят uv (если нет), скачают пакет из GitHub и установят команду opencode-vision-mcp в систему. После установки ключ нужно будет указать в конфиге.
Related MCP server: image-mcp
Ручная установка
1. Установите uv
curl -LsSf https://astral.sh/uv/install.sh | sh2. Установите пакет
uv tool install --from git+https://github.com/avdivo/opencode-vision-mcp opencode-vision-mcp3. Добавьте в opencode.jsonc
{
"mcp": {
"vision": {
"command": "opencode-vision-mcp",
"args": [],
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-..."
},
"timeout": 120000
}
}
}Настройка (опционально)
Модели можно переопределить через переменные окружения:
Переменная | По умолчанию | Описание |
| — | Обязательно. Ключ API OpenRouter |
|
| Основная модель |
|
| Запасная модель |
OPENROUTER_API_KEY="sk-or-v1-..." \
VISION_MODEL="google/gemma-4-31b-it" \
VISION_FALLBACK_MODEL="qwen/qwen3-vl-32b-instruct" \
uvx --from git+https://github.com/avdivo/opencode-vision-mcp opencode-vision-mcpКак это работает
Сервер читает stdin/stdout по протоколу JSON-RPC (MCP).
Инструмент: read_image(file_path, prompt?)
file_path— путь к изображениюprompt— вопрос по картинке (по умолчанию "Опиши, что изображено на картинке")
Сервер:
Кодирует изображение в base64
Отправляет в OpenRouter (primary модель)
Если primary не ответила за 30 секунд — шлёт fallback модели
Возвращает текстовый ответ
Цена
Primary модель: ~$0.0002 за скриншот
Fallback модель: ~$0.0004 за скриншот
primary срабатывает в большинстве случаев
Available Tools
1 toolread_imageA
Анализирует изображение: распознаёт текст, объекты, сцены. Принимает путь к файлу и опциональный вопрос.
Inputs: file_path (required), prompt.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
TDQS
Scored across 1 tool
With only one tool, there is no ambiguity between tools. The purpose is clear and distinct.
A single tool name follows a clear verb_noun pattern (read_image) and there is no inconsistency.
The server has a single tool, which feels thin for a vision-oriented server. While it can handle multiple tasks within one tool, the scope suggests more tools would be expected for a complete set.
The single tool covers text, object, and scene recognition with optional questions, but lacks other common operations like listing images, generating descriptions, or handling multiple images in batch. There are moderate gaps for typical vision use cases.
Maintenance
Related MCP Connectors
Focused MCP server for OpenAI image/audio generation (v2.0.0). Wraps endpoints via HAPI CLI.
MCP server for Qwen Image 3 AI image generation
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for generating images using OpenRouter API, supporting models like Gemini 2.5 Flash. Enables image generation with flexible options like saving to local files.2Do What The F*ck You Want To Public
- AlicenseAqualityDmaintenanceMCP server for image recognition, supporting multiple vision backends (Anthropic, Zhipu, Ollama) to describe, answer questions, and analyze images.355 npm1MIT
- AlicenseAqualityDmaintenanceMCP server that provides the describe_image tool, enabling AI clients to analyze local images by forwarding them to any OpenAI-compatible vision endpoint and returning a text description.11MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for image recognition and OCR via OpenAI-compatible vision APIs, supporting local files, URLs, and data URLs. Enables natural language image description and text extraction.8 npm2MIT