image-analyzer-mcp
Enables the MCP server to read and analyze images from the macOS clipboard.
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., "@image-analyzer-mcpAnalyze screenshots/home.png and list the layout, colors, and any issues."
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.
image-analyzer-mcp
基于官方 MCP SDK 的图片分析 Server。通过 OpenAI 兼容的视觉 API 分析 PNG/JPG/WebP 截图和设计图,返回结构化 JSON,供主模型继续实现页面、组件或修复还原度问题。
功能
analyze_image(path, prompt?):分析单张图片,返回布局、区块、组件、颜色、字体、间距、问题与实现建议compare_images(referencePath, currentPath, prompt?):对比参考图与当前实现图,返回差异清单和修复计划analyze_clipboard_image(prompt?):读取 macOS 剪贴板图片并分析支持 OpenAI 兼容的 Chat Completions 和 Responses API
支持主视觉模型与备用视觉模型自动切换
Related MCP server: Vision MCP
要求
Node.js 18.17+
npm
安装与构建
npm install
npm run build配置
复制 .env.example 为 .env 并填写:
变量 | 说明 |
| 主视觉 API 密钥(必填,真实调用时) |
| 主视觉 API 地址 |
| 主视觉模型 |
|
|
| 备用视觉 API 密钥 |
| 备用视觉 API 地址 |
| 备用视觉模型 |
| 单张图片大小上限,默认 8 |
| 请求超时,默认 120000 |
| 返回 token 上限,默认 4096 |
| 是否启用 JSON 模式 |
| 相对路径解析根目录 |
主视觉模型失败时,会按 VISION_FALLBACK_* 自动降级到备用模型。
工具
analyze_image(path="screenshots/home.png", prompt="重点分析 Hero 区")
compare_images(
referencePath="screenshots/design.png",
currentPath="screenshots/implementation.png",
prompt="重点对比间距和颜色"
)
analyze_clipboard_image(prompt="介绍这张图片")工具返回结构化 JSON,包含 summary、layout、sections、components、colors、typography、issues、fix_plan 等字段。
接入 Codex / 其他 AI 工具
构建后可直接让 AI 工具安装:
npm install
npm run build
npm run install:mcpinstall:mcp 会把 server 写入 ~/.codex/config.toml,然后重启 Codex 即可。
默认安装到全局用户配置(~/.codex/config.toml),对所有工作区生效。本工具只在主模型无法直接识图时使用(例如 DeepSeek 经代理接入);如果主模型本身支持图片输入,应直接使用图片,不需要调用本工具。
不要把你的 API Key 发送给任何 AI 工具。安装完成后请自行编辑 ~/.codex/config.toml,在 [mcp_servers.image-analyzer.env] 中配置 VISION_API_KEY,然后重启 Codex。
也可以参考 codex-mcp.example.toml 或 codex-mcp.example.json 手动配置,路径替换为实际项目路径。
AGENTS.md
把项目内的 AGENTS.md 复制到工作区,AI 工具遇到截图或设计图时会自动调用对应工具。
验证
npm run smokesmoke 会构建项目、启动 MCP Server,并验证工具列表、错误处理以及 chat/responses 两种模拟请求。
This server cannot be installed
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-qualityDmaintenanceEnables local image analysis using Ollama AI models with complete privacy protection. Supports image content analysis, OCR text extraction, UI design analysis, and batch processing without requiring API keys or uploading data.Last updated1MIT
- AlicenseAqualityDmaintenanceEnables image analysis and understanding using Vision Language Models through OpenAI-compatible APIs. Supports analyzing images from URLs or local files with custom prompts.Last updated12MIT
- Alicense-qualityDmaintenanceAnalyzes app screenshots to identify UI/UX issues, compare designs with implementations, and provide actionable fixes using GPT-4o/GPT-5.2 vision capabilities. Supports single/batch analysis, design comparison, and automated report generation for iOS, Android, web, and desktop platforms.Last updatedMIT
- AlicenseAqualityDmaintenanceProvides advanced image analysis capabilities including object recognition, OCR text extraction, and multi-turn visual dialogues using OpenAI-compatible APIs. It supports both local files and Base64 inputs with additional features for session persistence and web-based configuration management.Last updated3MIT
Related MCP Connectors
Capture screenshots, detect visual regressions between page versions, and analyze with AI.
Turn any live website into brand colors, fonts, design tokens, SVGs, Lottie and paste-ready code.
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
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/AlierQ/image-analyzer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server