Doubao Image MCP logo

Doubao Image MCP

by haikuotianko

Generates Doubao Seedream images through a logged-in web session without requiring an official API key.

Install Doubao Image MCP

Run the project’s own setup commands, in order.

Setup steps from the project

haikuotianko/doubao-image-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    ./doubao-image-mcp -mcp        # MCP 客户端拉起时用
    
  2. 2. Install
    git clone https://github.com/haikuotianko/doubao-image-mcp.git
    
  3. 3. Install
    go build -o doubao-image-mcp .
    
  4. 4. Sign in
    ./doubao-image-mcp -set-session "sessionid=xxxx; ttwid=yyyy; ..."
    
  5. 5. Start the server
    ./doubao-image-mcp -mcp
    
  6. 6. Install
    GOOS=darwin  GOARCH=arm64 go build -o /tmp/mac .
    

Overview

haikuotianko/doubao-image-mcp MCP server exposes Doubao’s web image generation through MCP, using a user’s logged-in session instead of an official API key. Its tools generate text-to-image and image-to-image results, inspect available models and options, manage multiple accounts, and handle login checks. Windows provides a desktop interface with QR-code login, while macOS and Linux use command-line session or cookie import. Reach for it when an MCP-compatible client needs local access to Doubao’s Seedream models and image outputs.

Use cases

  • Generate Doubao Seedream images from an MCP-compatible AI client
  • Create image variations from an input image
  • Manage multiple Doubao accounts with queued generation
  • Import an existing Doubao browser session on macOS or Linux
  • Inspect available models, styles, and aspect ratios

Key features

  • Doubao web-session authentication without an official API key
  • Text-to-image and image-to-image generation
  • Multi-account queueing and account status management
  • QR-code login on Windows
  • Local file paths, CDN links, and image dimensions in results
  • stdio and local HTTP MCP modes

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
Last commit16d agoMost recent push to the default branch.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Doubao Image MCP works

What haikuotianko/doubao-image-mcp MCP server does

haikuotianko/doubao-image-mcp connects MCP clients to the image-generation features of the Doubao website at doubao.com. It uses the authentication state from a user’s own web session, so an official Doubao API key is not required. The main generation tool supports text-to-image and image-to-image requests and returns generated files with local paths, CDN links, and dimensions.

Seedream 4.0, 4.5, and 5.0 variants are supported, including the free Seedream 5.0 Flash model and the subscription-based Seedream 5.0 Pro model. Results can include every image produced by a request rather than only one selected image. Follow-up generation can remain in the same conversation context.

How it works

The service runs locally and communicates with MCP clients through stdio or a local HTTP endpoint. In stdio mode, the client starts the executable with -mcp; HTTP mode exposes the MCP endpoint for multiple local clients to share.

On Windows, the desktop application uses an embedded WebView2 window for QR-code login. The login tool can open that flow directly from an AI client, wait for the scan, save the account, and verify the resulting session. macOS and Linux builds are command-line packages without the built-in browser window, so authentication uses an imported browser cookie or session value.

Image requests are queued per account, with one active task per account. Multiple enabled accounts can be ordered and used by the account pool. The service also handles image-size ratio adjustments and can fall back from the newer completion endpoint to an older Doubao channel when necessary.

Setup and configuration

Prebuilt packages are available for Windows x64, x86, and ARM64, plus command-line packages for macOS Apple Silicon, macOS Intel, Linux x64, and Linux ARM64. Windows QR login requires Microsoft Edge WebView2 Runtime; Windows 11 includes it, while some Windows 10 installations may need to add it.

After extracting a package, configure the MCP client to run the executable with -mcp. Claude Desktop and Cursor can use stdio configuration, while a persistent local service can be started with -http, such as -http 127.0.0.1:8770. The HTTP endpoint has no authentication by default, so it should remain bound to localhost unless an access token is configured. Optional request limits can return HTTP 429 responses after the configured per-minute threshold.

On macOS or Linux, import a Cookie header, cURL command, or session ID with -set-session before starting MCP mode. Source builds require Go 1.22+, Node.js 18+, and the Wails CLI when building the desktop application.

Tools and capabilities

  • doubao_image: Generate images from text or source images, with model, style, and aspect-ratio options.
  • doubao_login: Start QR-code login on supported desktop environments or report that an existing session is still valid.
  • doubao_models: List available models, style keys, and supported aspect ratios.
  • doubao_ping: Check account login validity and detect possible IP risk controls.
  • doubao_accounts: List, select, enable, disable, or remove accounts and show account status.
  • doubao_verify: Open Doubao for manual slider verification when an account is challenged.

Generated images include local output paths, CDN URLs, and dimensions. The desktop interface also provides account management, output-directory settings, test generation, image viewing, and saving controls.

Limitations and notes

macOS and Linux releases do not include the Windows-style built-in QR scanner. Their cross-platform builds are available, but GUI rendering and platform-specific actions such as opening directories require additional validation on those systems. Windows desktop login depends on WebView2.

The local HTTP mode is unauthenticated unless an access token is set, which can expose image-generation access and consume the associated account quota to any reachable client. Doubao account availability, subscription requirements, login state, and possible IP verification can affect which models or requests succeed.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Doubao Image MCP

haikuotianko/doubao-image-mcp is an MCP server that connects MCP clients to Doubao’s web image-generation service through a logged-in user session. Its main tools generate text-to-image or image-to-image results, list models and styles, check login state, manage accounts, and open login or verification flows without requiring an official API key.

Download the package for your platform, extract it, and configure your MCP client to launch the executable with `-mcp`. Windows packages include the desktop application; macOS and Linux packages are command-line builds. Source builds require Go 1.22+, and desktop builds also use Node.js 18+ and Wails.

Yes, haikuotianko/doubao-image-mcp works with Cursor through a stdio MCP configuration. Add the executable as a command with the `-mcp` argument in Cursor’s MCP settings, then authenticate through the desktop login flow on Windows or import a session on macOS and Linux.

Import a browser session before starting MCP mode by running `-set-session` with a Cookie header, cURL command, or session ID. The command-line builds do not include the Windows QR-code browser window, so the session must be copied from a logged-in Doubao browser.

No, the local HTTP endpoint has no authentication by default. Keep it bound to `127.0.0.1`, or configure an HTTP access token before allowing other users or machines to reach it. An optional per-minute request limit can also be enabled.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDoubao Image MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/haikuotianko-doubao-image-mcp?style=directory)](https://allmcps.com/mcp/haikuotianko-doubao-image-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/haikuotianko-doubao-image-mcp"><img src="https://allmcps.com/api/badge/haikuotianko-doubao-image-mcp?style=directory" alt="Doubao Image MCP on AllMCPs" /></a>