doubao-image-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOUBAO_MCP_DUMP_SSE | No | Set to a file path to dump the raw SSE of a generation to that file (debugging aid when the server changes its response structure). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
豆包网页版生图工具。没有登录态时先调用 doubao_login 弹出扫码窗口,再用 doubao_image 生成图片;用 doubao_ping 检查登录态。
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| doubao_accountsB | 查看/切换/移除已登录的豆包账号。 |
| doubao_imageA | 用豆包网页版生成图片(文生图;给了 ref_images 就是图生图)。返回本地路径与图片链接。没登录时先调 doubao_login。 |
| doubao_loginA | 弹出扫码登录窗口,让用户用豆包 App 扫码。没有账号、登录态失效、或 doubao_image 报「未登录」时调用它。 |
| doubao_modelsA | 列出豆包可用的生图模型、风格 option_key 与常用比例。 |
| doubao_pingA | 检查当前账号登录态是否有效(顺带判断是否被 IP 风控)。 |
| doubao_verifyA | 打开豆包窗口让你手动完成人机验证(滑块)。生图被风控(710022004 / 710022002)时调用它,拖完滑块再重试 doubao_image。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
The core tool (doubao_image) is clearly distinct, and the supporting tools map to specific auth situations: login (scan QR), verify (captcha slider), ping (session validity), accounts (manage sessions). The only mild overlap is between doubao_ping and doubao_accounts, since both touch login-state, but the descriptions clarify that one checks validity/freshness and the other manages the account list.
Every tool uses the same doubao_ prefix followed by a short lowercase snake_case identifier, with no deviations in casing or style. The verb-vs-noun mix (login/verify/ping vs models/accounts/image) is natural for this domain and still predictable.
Six tools is well-scoped: one generation tool, one discovery tool (models), and four auth/anti-bot helpers that are genuinely needed because Doubao's web flow requires QR login and captcha handling. Each tool has a reason to exist, with no filler.
The surface covers the full lifecycle needed to generate images: discovering models/styles, logging in, recovering from captcha blocks, checking session health, switching accounts, and both text-to-image and image-to-image generation. Minor gaps exist, such as no explicit logout/history/task-status tool, but agents can work around these.