doubao-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@doubao-mcpAnalyze the image at ./screenshot.png and explain the error message"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
doubao-mcp
豆包 MCP Server — 通过网页版豆包(web.doubao.com)提供零 API 成本的视觉与问答能力。
基于 CDP + Playwright 接管独立 profile 的 Chrome,在豆包网页版上传图片提问、抓取 AI 回复返回,不需要豆包 API Key。
能力
工具 | 说明 |
| 图片识别/分析(上传图片到豆包网页版提问并取回复) |
| 视频分析(下载/本地 → 抽帧烧时间戳 → 拼图分块 → 豆包识别,可选本地转写) |
| 纯文本问答(复用豆包会话,支持多轮上下文) |
| 启动 Chrome daemon(独立 profile,端口 9223,幂等) |
| 检查 daemon 运行状态 |
| 关闭 Chrome daemon |
Related MCP server: DrissionPageMCPServer_Modified
工作原理
Claude Code ──MCP stdio──> server.py ──> doubao_vision.py ──CDP──> Chrome (独立 profile)
video_analyze.py │
web.doubao.com(网页版)Chrome 以
--remote-debugging-port=9223启动独立 profile,登录态持久化图片通过 filechooser 事件上传,回复通过 DOM 特征(
data-streaming等)等待生成完成后提取纯网页操作,无 API 成本,仅需可登录豆包的 Chrome
环境要求
Python 3.10+
Chrome(自动探测
CHROME_PATH环境变量或常见安装路径)可选:
ffmpeg/ffprobe(视频抽帧)、yt-dlp(在线视频下载)、faster-whisper(音频转写)
安装
pip install fastmcp playwright websocket-client
# 可选功能依赖
pip install pillow # 视频帧时间戳烧录
pip install faster-whisper # 音频转写使用
1. 作为 MCP server(Claude Code 等)
{
"mcpServers": {
"doubao-mcp": {
"command": "python",
"args": ["/path/to/doubao-mcp/server.py"]
}
}
}2. HTTP 模式(调试)
python server.py --port 80803. 直接 CLI 调用(不含 MCP)
# 启动 Chrome daemon(首次需手动登录豆包一次,登录态持久化)
python doubao_mcp/doubao_vision.py --start
# 图片识别
python doubao_mcp/doubao_vision.py --image photo.jpg --question "请描述这张图片"
# 视频分析(本地文件或 URL)
python doubao_mcp/video_analyze.py --video demo.mp4配置
Chrome 路径:设置环境变量
CHROME_PATH指定 Chrome 可执行文件CDP 端口:默认
9223,见doubao_vision.py中的CDP_PORT登录态:独立 profile 位于
~/.claude/doubao-vision-profile,首次使用daemon_start后手动登录一次即可
常见问题
退出码 1(CDP 不可达):daemon 未启动,先运行
daemon_start退出码 2(未登录):打开豆包页面手动登录一次
退出码 5(超时):豆包生成较慢,增大
--timeout退出码 6(安全过滤):回复为空,可能是风控或内容被过滤
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that enables AI-powered browser automation, web scraping, and testing using Playwright across Chromium, Firefox, and WebKit. It allows users to perform actions like navigation, clicking, typing, and taking screenshots through natural language interfaces.13MIT
- AlicenseBqualityDmaintenanceAn MCP server providing robust browser automation tools for AI assistants, including page navigation, element interaction, and screenshot capabilities. It leverages the DrissionPage library to enable standardized DOM analysis, network monitoring, and complex web task automation.17MIT
- AlicenseAqualityBmaintenanceMCP server for vision AI — screenshots to code, OCR, error diagnosis, and image analysis via OpenAI-compatible APIs.82MIT
- Alicense-qualityDmaintenanceMCP server that lets AI assistants browse the web through your real Chrome with your cookies, sessions, and fingerprint, avoiding bot detection and CAPTCHAs. Enables web browsing, content extraction, and multi-step workflows via persistent tabs.32MIT
Related MCP Connectors
MCP server for ByteDance Seedream AI image generation
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for Wan AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/xiaodao00266/doubao-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server