ai-vision

ai-vision

Provides image recognition capabilities to MCP clients by integrating with OpenAI-compatible vision models, supporting local images, URLs, multi-image comparison, and model listing.

Category
Visit Server

README

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

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured