vision-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
English Β· δΈζ
π FreeGLM
A vision MCP server that lets text-only models see images and video
Every tool returns text only β images are processed by the cloud vision model, so the calling model only ever receives text. That makes the server usable with models that do not accept image input (such as deepseek-v4-flash) and with any model that does.
FreeGLM is a derived work of Qwen-MM-Plugins (Apache-2.0). It keeps the upstream multimodal Agent Skills and MCP servers and adds Zhipu GLM-4.6V-Flash as a free vision backend. See UPSTREAM.md for provenance and NOTICE for attribution.
Tools
Tool | Purpose |
| Ask questions about images or describe them (core tool); videos are sampled automatically |
| Text recognition, returned verbatim |
| Object localization: returns |
| ffprobe metadata for a video or audio file (duration, resolution, fps, codec, audio tracks) |
| Clear the vision conversation memory for the current session |
Related MCP server: glm-vision
Built-in behaviour
Exponential backoff β 429, 5xx and network errors are retried after a wait. The primary model (4.6 Flash) is retried only once or twice before falling back, so a rate limit does not stall the whole call.
Automatic fallback inside the free GLM family β
glm-4.6v-flashrate limited or timed out βglm-4v-flash. Both are free.Video frame sampling β ffmpeg samples frames at a dynamic fps (12 frames by default), analyses them one by one and summarizes; temporary frames are cleaned up.
Image cache keyed by content hash β
~/.cache/vision-mcp/, so the same file is not re-encoded.Lightweight conversation memory β the last N rounds (4 by default) are kept in-process, so follow-up questions about the same image carry context. Disable per call with
memory=false, clear withclear_memory(), or turn it off globally withVISION_MCP_MEMORY=0.
Backends
provider | Models | Endpoint | Key |
|
|
|
|
|
|
|
|
| Stays on the free GLM fallback chain; does not switch to qwen | β | β |
custom | Pass | β | β |
Keys are read from environment variables first, then ~/.qwen-mm-plugins/config, then an error.
Run
# As an MCP server over stdio, started by the agent:
python vision_server.py
# Dependencies: mcp and openai only
pip install mcp openaiAny MCP-capable agent can use it; register a stdio server pointing at
python /path/to/vision_server.py.
Usage examples
Look at this screenshot:
vision_chat(images=["/path/to/s.png"], text="What screen is this? List all the text")Read the text in this image:
ocr(images=["/path/to/doc.png"])Watch this video:
vision_chat(videos=["/path/to/clip.mp4"], text="What happens in the video?")Locate objects:
grounding(images=["/path/to/photo.png"], text="Find every car")Use Qwen instead:
vision_chat(images=[...], provider="qwen")
Environment variables
Variable | Default | Meaning |
|
|
|
|
| Number of rounds kept in memory |
|
| Maximum sampled frames per video (up to 64) |
Notes
The GLM fallback chain is 4.6 Flash (
glm-4.6v-flash) β V4 Flash (glm-4v-flash), both free. Passing aglm-*model explicitly attaches the same chain;qwenand custom endpoints only try the model you name.glm-4v-flashcapsmax_tokensat 1024, so the server clamps the value when it falls back to that model.Images can be local paths (encoded automatically) or http(s) URLs.
dry_run=truepreviews the request structure without sending it or spending quota.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn any LLM multimodal; generate images, voices, videos, 3D models, music, and more.
Image & PDF tools for AI agents: compress, convert, resize, PDF, AI vision, pipeline.
Generate AI images, video, voiceovers and music from Claude, ChatGPT or Cursor through 50+ models (Veo 3.1, Kling 3, Seedance, Nano Banana, GPT Image, ElevenLabs). Also image editing, upscaling, background removal, face swap, transcription, voice cloning and UGC-style video ads. Sign in with OAuth β no API key to paste. Tools are annotated (read-only vs. credit-spending); failed generations are refunded.
Image and video AI tools and your own pipelines, run from any AI assistant.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to analyze images, extract text, compare images, and analyze video through any OpenAI-compatible vision model.421MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that gives text-only models vision capabilities via free GLM vision models, supporting image description, OCR, chart/document analysis, and grounding with automatic model fallback.1-
- AlicenseNot gradedqualityCmaintenanceProvides vision capabilities to text-only LLMs via MCP, enabling image understanding, Q&A, OCR, and image processing through cloud multimodal APIs.MIT
- AlicenseAqualityDmaintenanceProvides a vision tool that converts images into structured text descriptions and OCR using the free GLM-4.6V-Flash model, enabling text-only LLMs like DeepSeek to understand images.12MIT