Skip to main content
Glama

ai-vision

支持 OpenAI 兼容协议的视觉识别 MCP 服务器。让 Claude Desktop / Cline / Cherry Studio 等 MCP 客户端获得图片识别能力,可接入 OpenAI、通义千问、智谱、Moonshot 等任意 OpenAI 兼容服务商。

📖 完整使用说明(中文): docs/使用说明.html

快速开始

pnpm install
pnpm build

# 方式一:环境变量(也可直接在 MCP 客户端的 env 字段里注入)
OPENAI_API_KEY=sk-xxx node dist/index.js

# 方式二:配置文件(支持多服务商,参考 sample-config.json)
cp sample-config.json config.json
node dist/index.js --config=config.json

Related MCP server: vision-mcp

MCP 客户端配置(推荐:env 注入,无需配置文件)

{
  "mcpServers": {
    "vision": {
      "command": "ai-vision",
      "args": [],
      "env": {
        "OPENAI_API_KEY": "sk-你的密钥",
        "OPENAI_BASE_URL": "https://api.openai.com/v1",
        "OPENAI_MODEL": "gpt-4o"
      }
    }
  }
}

提供的 MCP 工具

工具

功能

analyze_image

分析本地图片(路径 / base64)

analyze_image_url

分析远程图片 URL

analyze_images

多图对比(最多 10 张)

list_models

查询服务商可用模型

技术栈

测试

pnpm test   # 本地 mock 服务器验证协议格式,无需真实 API Key
Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    C
    maintenance
    MCP 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
  • A
    license
    -
    quality
    B
    maintenance
    An 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.
    277
    2
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Enables image analysis via OpenAI-compatible vision APIs, supporting local files, URLs, and base64 inputs with intelligent tiling for high-resolution images. Provides a secure, configurable MCP stdio server for structured vision analysis.
    1,264
    MIT

View all related MCP servers

Related MCP Connectors

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • MCP server for NanoBanana AI image generation and editing

  • MCP server for Google Veo AI video generation

View all MCP Connectors

Latest Blog Posts

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/kaijia323/ai-vision'

If you have feedback or need assistance with the MCP directory API, please join our Discord server