Skip to main content
Glama

👁️ DeepSeek Eyes

给 DeepSeek 装上一双眼睛。 让没有视觉能力的 DeepSeek 也能「看图」——把图片交给视觉模型,用文字描述回传。

一个通用的 MCP 服务器,让 DeepSeek 等无视觉模型获得图像识别能力。适配 Claude Code、Codex、Cursor 等主流 AI 编程工具,无需改任何项目代码。


为什么需要它

DeepSeek 是顶尖的文本模型,但没有视觉能力。你给它一张图,它只会看到一团乱码:

用户: [粘贴了一张截图]
DeepSeek: 我无法查看图片……(无能为力)

DeepSeek Eyes 给 DeepSeek 装上「义眼」:

用户: [粘贴了一张截图] 图里写了什么?
DeepSeek Eyes MCP → 读图 → 文字描述("页面显示 DNS 解析失败…")
DeepSeek: 这张图显示的是 DNS_PROBE_FINISHED_NXDOMAIN 错误页……

它自己看图,把看到的用文字讲给 DeepSeek。 就像给看不见的模型配了一位解说员。


Related MCP server: deepsee

✨ 特性

  • 🖼️ 五个 MCP 工具:识图、会话图片找回、批量识图、配置查看/修改

  • 💾 会话图片找回:粘贴图片但客户端传不了图(显示 [Unsupported Image])?从 Claude Code / Codex / Cursor 的会话记录里提取你最近一次粘贴/上传的图片——以真正上传到输入框的图片为准,单张、多张都能识别,不受剪贴板影响

  • 🗂️ 批量识图:一键识别文件夹里的所有图片

  • 🔌 多提供商:阿里百炼 / OpenAI / OpenRouter / 智谱 / Moonshot / 硅基流动 / 自定义

  • 🚀 快速:并行识别 + 图片压缩 + 关闭思考模式 → 3 张图约 5 秒

  • 🔑 Key 安全:API Key 只走环境变量,永不写入配置文件


🧠 适配主流 AI 工具

工具

会话图片找回

配置方式

Claude Code

~/.claude/projects/*.jsonl

~/.claude.json

Codex CLI

~/.codex/sessions/*/rollout-*.jsonl

~/.codex/config.toml

Cursor

workspaceStorage/*/images/*.png

~/.cursor/.mcp.json

其他支持 MCP 的客户端理论上也能接,配置结构相同(command / args / env)。


🚀 安装

需要 Python 3.10+

# 1. 克隆
git clone https://github.com/<你的用户名>/deepseek-eyes.git
cd deepseek-eyes

# 2. 建虚拟环境并安装
python -m venv .venv
# Windows:
.venv\Scripts\pip install -e .
# macOS / Linux:
.venv/bin/pip install -e .

🔑 配置:获取 API Key

默认使用阿里云百炼(新用户有免费额度,国内直连):

  1. 打开 阿里云百炼控制台 并登录

  2. 右上角 → API-KEY → 创建新的 API Key

  3. 复制 sk- 开头的 Key

之后把 Key 设成环境变量(不要写进仓库):

# Windows (PowerShell)
$env:DEEPSEEK_EYES_API_KEY = "sk-你的Key"
# macOS / Linux
export DEEPSEEK_EYES_API_KEY="sk-你的Key"

⚙️ 接入 MCP 客户端

Claude Code

编辑 ~/.claude.json,在 mcpServers 中加入:

{
  "mcpServers": {
    "deepseek_eyes": {
      "command": "C:\\path\\to\\deepseek-eyes\\.venv\\Scripts\\python.exe",
      "args": ["-m", "src"],
      "cwd": "C:\\path\\to\\deepseek-eyes",
      "env": {
        "DEEPSEEK_EYES_API_KEY": "sk-你的Key",
        "PYTHONIOENCODING": "utf-8"
      }
    }
  }
}

Codex CLI

编辑 ~/.codex/config.toml

[mcp_servers.deepseek_eyes]
enabled = true
command = "C:\\path\\to\\deepseek-eyes\\.venv\\Scripts\\python.exe"
args = ["-m", "src"]
cwd = "C:\\path\\to\\deepseek-eyes"

[mcp_servers.deepseek_eyes.env]
DEEPSEEK_EYES_API_KEY = "sk-你的Key"
PYTHONIOENCODING = "utf-8"

Cursor

创建 ~/.cursor/.mcp.json

{
  "mcpServers": {
    "deepseek_eyes": {
      "command": "C:\\path\\to\\deepseek-eyes\\.venv\\Scripts\\python.exe",
      "args": ["-m", "src"],
      "cwd": "C:\\path\\to\\deepseek-eyes",
      "env": {
        "DEEPSEEK_EYES_API_KEY": "sk-你的Key",
        "PYTHONIOENCODING": "utf-8"
      }
    }
  }
}

💡 Windows 下建议加 PYTHONIOENCODING: "utf-8" 避免中文乱码。 完整配置模板见 MCP_CONFIG_EXAMPLE.md

重启客户端后即可生效。


📖 使用

接入后,对 DeepSeek 说:

识别这张图片 C:\path\to\image.png

它会自动调用视觉模型识图,把结果用文字告诉你。

常用场景

场景

做法

粘贴图片

直接粘贴,问「图里是什么」

粘贴多张图片

一次全贴,说「识别我粘贴的这几张图片」

图片在本地

describe_image(image="C:\\path\\img.png")

图片在文件夹

describe_images_in_folder(folder="C:\\path\\folder")

网络图片

describe_image(image="https://...")

五个工具

工具

作用

describe_image

识别单张图片(本地路径 / URL / data URL)

describe_pasted_images

从会话记录提取最近一次粘贴/上传的图片并识别(粘贴识图首选,单张/多张均可)

describe_images_in_folder

批量识别文件夹里的所有图片

get_config

查看当前识图配置(不显示明文 Key)

update_config

切换提供商 / 模型 / Base URL


🧠 思考能力(Thinking)的影响

识图模型(如 qwen3 系列)默认开启思考模式(reasoning):识图前先「想半天」,让识别变慢数倍。

DeepSeek Eyes 默认关闭思考模式enable_thinking: false),实测:

模式

单张识别耗时

思考模式开启

12.3 秒

思考模式关闭

4.4 秒

关闭后快约 3 倍,且不影响识别质量。如果你希望保留模型的深度思考(某些复杂场景):

# 环境变量开启思考模式
DEEPSEEK_EYES_THINKING=1

注意:不同视觉模型对 enable_thinking 参数的支持不同。若不支持该参数的模型,可保持默认关闭。

其他速度优化

  • 🖼️ 图片压缩:超过 1280px 的图自动等比压缩,减少视觉模型处理负载

  • 并行识别:多张图片同时识别,总耗时 ≈ 最慢一张


🗂️ 支持的提供商与默认模型

提供商

provider

默认模型

备注

阿里云百炼

dashscope

qwen3.7-flash-2026-07-15

新用户免费额度,国内直连

OpenAI

openai

gpt-4o-mini

需海外支付

OpenRouter

openrouter

qwen/qwen2.5-vl-72b-instruct

聚合多家模型

智谱

zhipu

glm-4v-flash

有免费额度

Moonshot

moonshot

moonshot-v1-8k-vision-preview

国内直连

硅基流动

siliconflow

Qwen/Qwen2.5-VL-72B-Instruct

开源视觉模型多

自定义

custom

自填 base_url

切换提供商/模型,只需对 DeepSeek 说「把识图模型换成 xxx」即可。


🧩 工作原理

[用户] 粘贴/上传图片
   │
   ▼
[DeepSeek Eyes MCP]  ← 从会话记录 / 路径获取图片
   │
   ▼  base64 → OpenAI 兼容格式
[视觉模型 (qwen3.7-flash)]  ← 阿里百炼等
   │
   ▼  文字描述
[DeepSeek]  ← 用文字描述回答用户

图片永远不会直接喂给 DeepSeek(它看不懂),而是由 DeepSeek Eyes 变成文字后"转述"给 DeepSeek。


🛡️ 安全

  • API Key 只走环境变量,绝不写入配置文件、不提交到仓库

  • get_config 只显示脱敏 Key(sk-w****U-Oi

  • .gitignore 已忽略 .claude/config.json 等本地敏感文件


⚖️ License

MIT

Available Tools

5 tools
describe_imageA

识别一张图片并返回文字描述。图片可来自本地文件路径、网络 URL(http/https) 或 data URL。

ParametersJSON Schema
NameRequiredDescriptionDefault
urlNoTrue 表示 image 是网络 URL 而非本地路径;通常可省略(会自动识别)
imageYes图片:本地绝对路径、网络 URL 或 data URL
promptNo识图提问,例如『请描述图中文字』请详细描述这张图片的内容,尽量全面、具体,用中文回答。

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses that the tool accepts various image sources and returns a text description, implying read-only behavior. However, it does not mention potential side effects, error handling, or network requirements for URLs, which are meaningful gaps for full transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that front-loads the action and result, then lists the input sources. Every word is necessary, and there is no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-image description tool, the description is adequate. It covers the core purpose and input sources, and the presence of a rich output schema and 100% parameter documentation fills in the remaining details. It omits mention of prompt customization, but that is captured in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for all three parameters, so the baseline is 3. The description adds no new parameter semantics beyond what the schema already documents; the mention of input sources duplicates the image parameter's description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb '识别' (recognize) with the resource '一张图片' (an image), clearly stating it returns a text description. It also enumerates the three accepted input sources (local path, URL, data URL), which effectively distinguishes it from sibling tools like describe_images_in_folder and describe_pasted_images.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly conveys that this tool is for recognizing a single image from local path, URL, or data URL, which implies when to use it. It does not explicitly name sibling tools as alternatives, but the context is sufficiently clear. The auto-detection of URL vs. local path in the schema further supports this.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

describe_images_in_folderA

扫描一个文件夹中的所有图片,并行识别并返回每张图片的描述。适用于一次识别多张图片(例如把多张截图放进一个文件夹后批量分析)。并行识别,速度较快。

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo最多识别张数(默认 10,防止一次太多)
folderYes存放图片的文件夹路径
promptNo对每张图片的识图提问请详细描述这张图片的内容,尽量全面、具体,用中文回答。
recursiveNo是否递归扫描子文件夹

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses parallel execution and speed ('并行识别,速度较快'), which are useful behavioral traits. However, it does not explicitly mention read-only safety, file format requirements, or failure modes, leaving some gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three concise sentences, each earning its place: purpose, use case, and performance trait. It is front-loaded and free of fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a batch read tool with fully documented parameters and an output schema, the description sufficiently covers purpose, usage, and performance. Minor gaps like error handling are acceptable given the structured fields and simple read-only nature.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters. The description adds context about batch scanning but does not enhance understanding of individual parameters beyond what the schema provides (e.g., limit default is already in the schema). Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: scans all images in a folder, recognizes them in parallel, and returns a description for each. It also distinguishes from sibling tools (describe_image, describe_pasted_images) by focusing on folder-based batch analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states the tool is suitable for recognizing multiple images at once (e.g., putting screenshots in a folder for batch analysis), giving clear when-to-use context. It does not explicitly name alternatives, but the contrast with single-image tools is implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

describe_pasted_imagesA

从会话记录中提取用户最近一次粘贴或上传的图片(单张或多张均可),并行识别并返回每张的描述。适用于对话里图片显示为 [Unsupported Image] 的场景——以用户真正上传到输入框的图片为准,不受剪贴板影响。只处理最近一条含图片的用户消息,避免混入历史图片。

ParametersJSON Schema
NameRequiredDescriptionDefault
promptNo对每张图片的识图提问请详细描述这张图片的内容,尽量全面、具体,用中文回答。
max_countNo最多提取并识别几张最近粘贴/上传的图片(默认 10)

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description takes on the full burden. It reveals key behaviors: parallel recognition, use of actual uploaded images rather than clipboard content, and restriction to a single recent message. This gives the agent a clear behavioral model without requiring annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and well-organized: three sentences that front-load the core function, then explain the applicable scenario and the critical constraint. Every sentence adds value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists and annotations are absent, the description adequately covers the main purpose, usage context, and important behavioral constraints. It could mention what happens if no images are found, but that is not essential for tool selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with detailed property descriptions. The tool description indirectly clarifies that prompt is for recognition and max_count limits the number of images, but this is already in the schema. No additional parametric insight is provided.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the action (extract pasted/uploaded images and recognize them) and the specific resource (images from the user's most recent message). It also distinguishes itself by mentioning the [Unsupported Image] scenario, setting it apart from sibling tools like describe_image or describe_images_in_folder.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit applicability (when images appear as [Unsupported Image] in conversation) and scoping (only the most recent user message with images). It does not explicitly name alternative tools, but the context and sibling list imply when this tool is the right choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_configA

查看当前识图配置:提供商、模型、Base URL、API Key 是否已设置。不返回明文 Key。

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the transparency burden. It discloses that the tool does not return the plaintext API Key, which is a significant behavioral trait, and also clarifies that it reports whether the key is set. This adds valuable context beyond the simple 'view config' purpose.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence. It front-loads the main action, lists the key return fields, and includes the important security note about the Key, with no unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter read-only config tool with an output schema present, the description is complete. It covers the main return fields, includes the behavioral caveat about the Key, and requires no additional context to be used correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the baseline is 4. The description does not need to explain parameter semantics; it appropriately focuses on the return fields instead.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action (view current image recognition config) and enumerates the specific fields it returns (provider, model, Base URL, whether API Key is set). It also distinguishes from siblings by focusing on config reading, not image analysis or config updates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly state when to use this tool versus alternatives. However, its role as a read-only config getter is implied by the sibling names (update_config for writes, describe_image tools for images), so usage context is inferable but not clearly articulated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

update_configA

修改识图配置并持久化到 ~/.deepseek-eyes/config.json。API Key 不写入文件,请通过环境变量 DEEPSEEK_EYES_API_KEY 提供。

ParametersJSON Schema
NameRequiredDescriptionDefault
modelNo视觉模型名,例如 qwen-vl-max。留空则不改
base_urlNo自定义 OpenAI 兼容接口的 Base URL(不含 /chat/completions)。留空则不改
providerNo识图提供商:dashscope(阿里百炼,默认) / openai / openrouter / zhipu / moonshot / siliconflow / custom。留空则不改

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full transparency burden. It discloses that the operation persists to a specific file path and that the API key will not be written to the file, a security-relevant behavioral detail. However, it does not mention merge behavior or error handling, though parameter descriptions partially cover this.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the main action and persistence target, followed by a key security note. No redundant information or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is relatively simple with three optional and fully self-describing parameters. The description covers persistence and API key handling, which are the key non-obvious behaviors. An output schema is present, so return-value details are not needed. Minor gap: no mention of implications if the config file is missing or unreadable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and each parameter already has a comprehensive description (e.g., '留空则不改' meaning 'leave empty to not change'). The description adds no additional parameter-level meaning; it only contributes context about how the API key is handled, which is not a parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool modifies and persists image recognition configuration to a specific file. The verb 'modify' plus resource 'config' distinguishes it from sibling tools like describe_image and get_config, which read or process images.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description establishes the tool's purpose as modifying config and persisting to ~/.deepseek-eyes/config.json, implying usage for changing configuration at runtime. It also provides a clear usage guideline about providing the API key via environment variable rather than storing it in the file. It does not explicitly exclude reading tools, but the context makes the usage obvious.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 5 tool updatesv1.0.0
    • First observeddescribe_image
    • First observeddescribe_images_in_folder
    • First observeddescribe_pasted_images
    • First observedget_config
    • First observedupdate_config

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: three describe images from different sources (single input, folder, pasted conversation images), and two manage configuration. No overlapping or ambiguous boundaries.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern: describe_* for image actions and get_config/update_config for configuration. Naming is uniform and predictable.

Tool Count5/5

With 5 tools, the server is well-scoped for its purpose: 3 image description methods plus 2 config operations. Each tool earns its place without bloat or thinness.

Completeness5/5

The surface covers all necessary operations for an image description server: single, batch folder, and pasted image inputs, plus config viewing/updating. No obvious gaps or dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

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/1235ggb/deepseek-eyes'

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