0eye-vision-mcp

中文文档
1.0.3发布于 2026/06/12ISCTypeScriptES Module

Give any text-only LLM the power of vision instantly

原始使用文档
文档目录11 节
  1. How it works
  2. Use Cases
  3. Supported text-only models (examples)
  4. Prerequisites
  5. Setup
  6. MCP Client Config
  7. Tool
  8. NoEyeVision
  9. Testing with MCP Inspector
  10. Project Structure
  11. License

0eye-vision-MCP 👁️

Give any text-only LLM the power of vision — instantly.

Most powerful LLMs are blind. They can reason, write, and code — but show them an image and they're lost. 0eye-vision-MCP is an MCP server that bridges that gap. Drop an image path, get back a rich natural language description, and feed it into any text model you're building with.


How it works

  1. You pass an image file path + a prompt to the tool
  2. The server reads the image and encodes it to base64
  3. It sends the encoding to OpenRouter's vision API (powered by Gemini, GPT-4V, etc.)
  4. OpenRouter returns a detailed description
  5. Your text-only LLM now "sees" the image through that description
Your App → MCP Tool → base64 encoder → OpenRouter Vision API → description → Your LLM

Use Cases

🤖 Augment text-only models Running GPT-3.5, LLaMA 3, Mistral, Mixtral, Phi-2, DeepSeek, or BLOOM? None of these understand images natively. Use 0eye-vision-MCP to give them eyes.

🧪 Rapid prototyping Testing a custom LLM pipeline and need vision capability without retraining? Drop this MCP server in and get vision in minutes.

🖼️ Automated image analysis pipelines Point it at screenshots, product photos, diagrams, or documents — get structured descriptions you can feed downstream.

🔍 Accessibility tooling Build tools that describe images for visually impaired users, powered by any LLM of your choice.

📊 Document understanding Feed in screenshots of charts, tables, or dashboards and let your LLM reason about the visual data.


Supported text-only models (examples)

  • GPT-3.5 Turbo / GPT-3 (Davinci)
  • LLaMA 2 / LLaMA 3 (base)
  • Mistral 7B / Mixtral 8x7B
  • BLOOM, Phi-2, Gemma (text-only)
  • DeepSeek LLM

Prerequisites

  • Node.js 18+
  • An OpenRouter API key with access to a vision model

Setup

git clone https://github.com/swarn007-byte/0eye-vision-MCP.git
cd 0eye-vision-MCP
npm install

Create your .env file:

cp .env.example .env

Edit .env:

OPENROUTER_API_KEY=sk-or-v1-...
OPENROUTER_MODEL=google/gemini-2.0-flash-lite:free

Build:

npm run build

MCP Client Config

Add this to your MCP host config (Claude Desktop, OpenCode, etc.):

{
  "mcpServers": {
    "0eye-vision": {
      "command": "node",
      "args": ["/absolute/path/to/0eye-vision-MCP/dist/index.js"],
      "env": {
        "OPENROUTER_API_KEY": "sk-or-v1-...",
        "OPENROUTER_MODEL": "google/gemini-2.0-flash-lite:free"
      }
    }
  }
}

Tool

NoEyeVision

Analyze any image using a vision model and get a natural language description.

ArgumentTypeRequiredDescription
promptstring✅What you want to know about the image
image_filestring✅Absolute path to the image file

Example:

{
  "prompt": "describe what is happening in this image in detail",
  "image_file": "/Users/you/screenshots/dashboard.png"
}

Testing with MCP Inspector

npx @modelcontextprotocol/inspector node dist/index.js

Open the browser, connect, and run the NoEyeVision tool directly.


Project Structure

src/
├── index.ts          # MCP server entry point, tool registration
├── openRouter.ts     # OpenRouter API client
└── base64converter.ts # Image file → base64 encoder

License

MIT

版本与发布记录

0eye-vision-mcp 共发布 3 个版本,首次发布于 2026/06/12;过去 12 个月发布了 3 个版本。

版本发布日期距今
1.0.3latest2026/06/124 个月前
1.0.12026/06/124 个月前
1.0.02026/06/124 个月前

关于 0eye-vision-mcp 的常见问题

0eye-vision-mcp 是什么?

给任何纯文本LLM视觉的力量立即

如何安装 0eye-vision-mcp?

在项目目录运行 npm install 0eye-vision-mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 0eye-vision-mcp,可以用 npx 0eye-vision-mcp 直接运行。

0eye-vision-mcp 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

0eye-vision-mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

0eye-vision-mcp 可以商用吗?

0eye-vision-mcp 使用 ISC 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

0eye-vision-mcp 还在维护吗?

最新版本 1.0.3 发布于 2026/06/12(4 个月前);至今共发布 3 个版本,其中过去 12 个月发布了 3 个;首次发布于 2026/06/12。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。