dsh-vision-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| VISION_MODEL | No | 全局默认模型 | gpt-5-6 |
| VISION_API_KEY | Yes | 视觉后端的 Bearer key(chatgpt2api 的 config.json → auth-key) | |
| VISION_API_BASE | No | OpenAI 兼容端点地址 | http://127.0.0.1:8000 |
| VISION_TIMEOUT_MS | No | 单次请求硬超时(账号池繁忙时可调大) | 120000 |
| VISION_MAX_RETRIES | No | 传输错误/429/5xx 的重试次数(退避递增) | 2 |
| VISION_MAX_IMAGE_BYTES | No | 单图字节上限(编码前) | 20971520 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_imageA | 理解一张图片:描述内容、回答关于图片的问题、定位界面元素。不传 prompt 时输出完整描述。 |
| extract_textA | OCR:提取图片中的全部文字,按原始排版输出(支持代码、公式、多语言)。 |
| compare_imagesC | 对比两张图片的相同与不同之处,可附带关注点。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
The three tools target distinct operations: general understanding/Q&A, OCR-only extraction, and pairwise comparison. There is mild overlap because analyze_image with a text-related prompt could plausibly perform OCR, but the descriptions clearly steer text extraction to extract_text.
All tools follow the same snake_case verb_noun convention (analyze_image, extract_text, compare_images). Verb choices are predictable and self-explanatory.
Three tools is on the lean side but each covers a genuinely distinct vision capability, so the set is well-scoped rather than padded. A small focused surface fits a vision-analysis server.
The core vision workflow — describe/answer, OCR, and diffing — is covered with no dead ends. Minor gaps exist around region-level operations (crop/zoom on a sub-area) and structured element detection beyond prompt-driven localization.