opencode-vision-mcp
Click on "Install 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: vision-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 срабатывает в большинстве случаев
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server for analyzing images using OpenRouter vision models, offering capabilities like automatic image resizing, model configuration, and handling custom queries about images.Last updated10MIT
- Alicense-qualityCmaintenanceAn MCP server that analyzes images using OpenRouter's Gemini Flash model, supporting local file paths and URLs.Last updated47MIT
- Alicense-qualityAmaintenanceMCP server for generating, editing, and processing images via multiple providers including Kilo, OpenRouter, OpenAI, and Gemini, with local tools for background removal, resizing, and cropping.Last updated2602MIT
- Alicense-qualityDmaintenanceMCP 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.Last updatedDo What The F*ck You Want To Public
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
MCP server for Flux AI image generation
MCP server for NanoBanana AI image generation and editing
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/avdivo/opencode-vision-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server