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: 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
Анализирует изображение: распознаёт текст, объекты, сцены. Принимает путь к файлу и опциональный вопрос.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Вопрос или инструкция по картинке (по умолчанию: 'Опиши, что изображено на картинке') | |
| file_path | Yes | Абсолютный путь к файлу изображения (.jpg, .png, .webp, .bmp) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must cover behavioral traits. It mentions the tool analyzes images and recognizes text/objects/scenes, implying it is a read operation, but does not disclose error behavior, permissions, or output format. The description is adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two short sentences in Russian, conveying the core purpose efficiently without fluff. It is concise and front-loaded with the main action.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and simple parameters, the description covers the tool's function moderately well. However, it does not describe the return value or handling of errors, leaving some gaps for an AI agent to infer.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the description adds minimal value beyond the schema. It reiterates that the tool takes a file path and optional question, but does not mention the default prompt value already in the schema. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool analyzes images and recognizes text, objects, and scenes. It specifies inputs (file path and optional question), making the purpose explicit and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage by mentioning inputs (file path and question) but provides no guidance on when to use this tool versus alternatives or any exclusions. Since no sibling tools exist, the lack of differentiation is acceptable, but explicit usage context is missing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v1.0.0- First observed
read_image
TDQS
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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
OCR, transcription, file extraction, and image generation for AI agents via MCP.
MCP server for Flux AI image generation
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
- AlicenseAqualityBmaintenanceMCP server for image recognition, supporting multiple vision backends (Anthropic, Zhipu, Ollama) to describe, answer questions, and analyze images.3401MIT
- AlicenseAqualityCmaintenanceMCP 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.1MIT
- AlicenseNot gradedqualityBmaintenanceAn 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.212MIT
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