deepseek-vision-mcp
Provides a recognize_image tool that enables image recognition using DeepSeek's vision capabilities. Supports automatic login via browser or manual token configuration for server environments.
README
DeepSeek Vision MCP Server
将 DeepSeek 网页版识图(Vision)模式封装为 MCP 工具,解决 DeepSeek 模型无法直接处理图像的问题。
安装
git clone <repo> && cd deepseek-vision-mcp
npm install && npm run build
使用
方式一:自动登录(推荐,桌面环境)
无需任何配置,直接启动:
npm start
首次启动时自动打开浏览器让您登录 DeepSeek,Token 自动保存到 ~/.deepseek-vision/config.json,后续自动复用。
Token 过期后会自动弹出浏览器重新登录。
方式二:手动配置(服务器环境)
在 .mcp.json 中设置环境变量:
{
"mcpServers": {
"deepseek-vision": {
"command": "node",
"args": ["/path/to/dist/index.js"],
"env": {
"DEEPSEEK_USER_TOKEN": "你的token",
"DEEPSEEK_SMIDV2": "你的smidV2(可选)"
}
}
}
}
Token 获取方法:https://chat.deepseek.com → F12 → Application → Local Storage → userToken → JSON.parse(value).value
MCP 工具
recognize_image
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
image |
string | ✅ | 图片文件路径(也支持 data URI) |
prompt |
string | ❌ | 提问(默认:请详细描述这张图片中的内容) |
recognize_image({ image: "/tmp/screenshot.png", prompt: "这张图是什么" })
项目结构
src/
├── index.ts # MCP Server 入口 + Skill 自动安装
├── deepseek-client.ts # API 客户端(上传/Fork/PoW/Completion)
├── auth-manager.ts # Puppeteer 自动登录 + Token 管理
├── pow-solver.ts # WASM PoW 求解器
├── types.ts # 类型定义
└── wasm/ # PoW 模块
SKILL.md # Agent Skill 定义
启动时自动将 SKILL.md 安装到 ~/.agent/skills/。
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.