Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Api Vision

FreeNot checked

Enables image recognition using vision models via OpenAI-compatible APIs, supporting multiple platforms like OpenAI, DeepSeek, and Ollama.

GitHubEmbed

About

Enables image recognition using vision models via OpenAI-compatible APIs, supporting multiple platforms like OpenAI, DeepSeek, and Ollama.

README

视觉模型图像识别 MCP server,默认模型 mimo-v2.5,兼容 OpenAI 格式 API。


安装

1. 克隆仓库

git clone https://github.com/stzhiyang/api-vision-mcp.git ~/.claude/plugins/custom/api-vision-mcp
cd ~/.claude/plugins/custom/api-vision-mcp
npm install

2. 注册到 Claude Code

编辑 ~/.claude.json,添加全局配置:

"mcpServers": {
  "api-vision": {
    "command": "node",
    "args": ["~/.claude/plugins/custom/api-vision-mcp/index.js"],
    "env": {
      "VISION_API_KEY": "你的API密钥",
      "VISION_API_BASE_URL": "https://api.example.com",
      "VISION_API_MODEL": "mimo-v2.5"
    }
  }
}

3. 重启 Claude Code


环境变量

变量 必填 说明 默认值
VISION_API_KEY API 密钥 -
VISION_API_BASE_URL API 地址 -
VISION_API_MODEL 模型名称 mimo-v2.5

使用

在对话中粘贴图片并提问,或显式调用:

请使用 analyze_image 工具识别图片内容

说明:MCP 工具不会自动触发,需要用户显式请求或 Claude 判断需要图像识别时才会调用。


切换模型/平台

修改 env 中的三个变量即可:

平台 VISION_API_BASE_URL VISION_API_MODEL
OpenAI https://api.openai.com gpt-4o
DeepSeek https://api.deepseek.com deepseek-chat
通义千问 https://dashscope.aliyuncs.com/compatible-mode qwen-vl-max
智谱 https://open.bigmodel.cn/api/paas glm-4v
Ollama http://localhost:11434 llava

注意:不同平台的 API 路径可能不同。如果请求失败,检查 index.js 中的 /v1/chat/completions 路径是否需要调整(如某些平台用 /v1/messages)。


依赖

  • Node.js >= 18
  • @modelcontextprotocol/sdk
  • zod

from github.com/stzhiyang/api-vision-mcp

Installing Api Vision

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/stzhiyang/api-vision-mcp

FAQ

Is Api Vision MCP free?

Yes, Api Vision MCP is free — one-click install via Unyly at no cost.

Does Api Vision need an API key?

No, Api Vision runs without API keys or environment variables.

Is Api Vision hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Api Vision in Claude Desktop, Claude Code or Cursor?

Open Api Vision on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Api Vision with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All media MCPs