vision-helper-mcp-server
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., "@vision-helper-mcp-serverWhat's in this image? https://example.com/photo.jpg"
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.
Vision Helper MCP Server
An MCP server that adds vision capability to any LLM. Models that cannot see images
(the text-only LLM driving your MCP client) call vision_helper_analyze_image, and this server
forwards the image to a vision-capable model on OpenRouter,
then returns the analysis as text.
Built as a more robust replacement for
TheNomadInOrbit/Vision-MCP-Server:
no build-step assumptions, lazy key resolution, Windows setx-style environment variable
support, image format sniffing, request retries, and clear actionable errors.
Requirements
Node.js 18+ (tested on 22)
An OpenRouter API key (
sk-or-v1-...)
Related MCP server: llm-vision-mcp
Install
npm install -g vision-helper-mcp-serverThis installs the vision-helper-mcp command globally (the compiled dist is the
only published content). Quick check:
vision-helper-mcp --helpDevelopment / from source
git clone https://github.com/<you>/vision-helper-mcp-server.git
cd vision-helper-mcp-server
npm install
npm run build
node dist\index.js --helpConfiguration
The API key and options are resolved, in priority order:
Process environment variables — set in your MCP client's
env/environmentconfig (recommended; this is also whereOPENROUTER_MODELusually lives).Windows user environment variables — read directly from the registry (
HKCU\Environment), i.e. whatsetxwrites. This matters: GUI apps (VS Code, Kilo, Claude Desktop, ...) do not re-read user env vars changed after they were launched, so a key set withsetxafter launching the client would otherwise be invisible. The server reads the registry itself, sosetxvalues work with no client restart.Windows system environment variables — registry
HKLM\SYSTEM\...\Session Manager\Environment.
On non-Windows platforms only step 1 applies.
Variable | Purpose | Default |
| OpenRouter API key (required for analysis) | — |
| Default vision model ID |
|
| Max image payload bytes |
|
| Per-request timeout |
|
The model can also be chosen per call via the
modelargument ofvision_helper_analyze_image, overriding the environment default.
Kilo (VS Code extension) configuration
Add this server as its own MCP entry (it does not replace or share tools with any
other vision server you have configured). This example appends a vision-helper entry
to the mcp object in your Kilo config file (e.g. ~/.config/kilo/kilo.json on
Windows):
"vision-helper": {
"type": "local",
"command": ["vision-helper-mcp"],
"enabled": true,
"timeout": 120000,
"environment": {
"OPENROUTER_MODEL": "google/gemini-3.6-flash"
}
}OPENROUTER_API_KEY is optional here: if the key is set as a Windows user environment
variable (setx OPENROUTER_API_KEY sk-or-v1-...), the server picks it up automatically
by reading the registry — no client restart needed. Add the key to the environment
block only if you want it explicit in the config.
Claude Desktop / other clients
{
"mcpServers": {
"vision-helper": {
"command": "vision-helper-mcp",
"env": {
"OPENROUTER_API_KEY": "sk-or-v1-...",
"OPENROUTER_MODEL": "google/gemini-3.6-flash"
}
}
}
}Tools
This server is a standalone MCP server with its own tool names
(vision_helper_*), so it can run side by side with other vision MCP servers
without tool collisions.
vision_helper_analyze_image
Analyze one or more images with an OpenRouter vision model.
Argument | Type | Description |
|
| Required. An http(s) URL, local file path, |
|
| Optional instruction, e.g. |
|
| OpenRouter model ID, e.g. |
|
| Max tokens for the answer (64–16000). |
|
| Sampling temperature (0–2). |
Examples of things to ask your assistant:
"What is in this image? https://example.com/photo.jpg"
"Analyze the screenshot at C:\Users\me\Pictures\shot.png"
"Compare these two images: img1.png and img2.png" (pass an array)
"Read the text from this image and list the objects: "
vision_helper_list_models
List vision-capable models currently on OpenRouter (filtered to image-input models) so
you or the user can pick one. Arguments: search (substring on ID/name, e.g. gemini,
qwen, claude), limit (default 25), offset, response_format (markdown|json).
vision_helper_check_config
Diagnose setup: shows whether an API key was found, which source it came from
(client env / Windows user vars / Windows system vars), the default model, and the
size/time limits. The key is always masked (e.g. sk-or-…40a0).
Reliability notes
The server starts even when no key is configured; key resolution is lazy, so a key set with
setxworks without restarting anything.Chat-completion requests retry up to 3 times on 429 / 5xx / network errors, honoring
Retry-Afterwhen present.Image downloads are streamed with a hard byte cap and a 30 s timeout; MIME type is sniffed from magic bytes, so raw base64 payloads need no explicit type. Only the formats OpenRouter supports for vision input are accepted: PNG, JPEG, WebP, GIF (others are rejected with conversion guidance before anything is uploaded).
Remote image URLs are validated before fetching: redirects are followed manually (max 3 hops) and every hop must be a public http(s) host — private, loopback, link-local, and unresolved hosts are refused.
The model catalog used by
vision_helper_list_modelsis cached in-process for 10 minutes.Errors returned to the model are actionable: invalid key (401), insufficient credits (402), unknown model (404, with a hint to call
vision_helper_list_models), rate limit (429), oversized images (with the exact limit), and unsupported formats.
Troubleshooting
Symptom | Fix |
| Run |
"resolved from: Windows user environment variables" but the key is stale | Keys are read from the registry each time a tool runs, so an updated |
"Error: Model not found on OpenRouter (HTTP 404)" | The model ID is invalid, renamed, or deprecated. Run |
"Error: Insufficient OpenRouter credits (HTTP 402)" | Add credits at https://openrouter.ai/settings/credits. |
"Image is N bytes, which exceeds MAX_IMAGE_SIZE" | Shrink/compress the image, or raise |
"The N images total X bytes, exceeding the aggregate limit" | Analyzes are capped at 25 MB total across all images per request — split into multiple calls. |
"OpenRouter vision models only accept PNG, JPEG, WebP, or GIF" | Convert the image (e.g. to PNG/JPEG) and retry — these are the formats OpenRouter supports for vision input. |
"Error: OpenRouter rate limit or quota exceeded (HTTP 429)" | Wait a moment and retry; the server already retries transient 429s automatically. |
HTTP 400 on a valid image | Some models accept fewer formats — try |
Security
The API key is only sent to OpenRouter over HTTPS; it is never logged, and
vision_helper_check_configreports only a masked prefix.Keys are read from environment variables / the registry — never from files in this repository.
The analysis tool reads local files only when explicitly requested, validates remote URLs against private/internal hosts, and only ever uploads image content in the four formats OpenRouter accepts.
License
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
- 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.10MIT
- Alicense-qualityCmaintenanceAn MCP server that enables any LLM to describe images from file paths, URLs, or base64 data by forwarding them to a supported vision provider such as OpenAI, Anthropic, or local Ollama models.1,6459MIT
- Flicense-qualityBmaintenanceA versatile MCP server that adds vision capabilities (image analysis, OCR, image/video generation) to AI models lacking native vision, with support for multiple providers and automatic task routing.1
- Alicense-qualityCmaintenanceMCP server for analyzing images using multiple vision LLM providers (OpenCode, OpenAI, Anthropic, Google, and custom OpenAI-compatible endpoints). Provides tools to analyze single or multiple images, list providers, and test vision capabilities.MIT
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for Flux AI image generation
MCP server for Google Veo AI video generation
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/quickstraw/vision-helper-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server