MCP Server for Qwen Image 3 AI Image Generation via AceDataCloud API
pip install mcp-qwen-image==2026.10.7.0 Copy PIP instructions
Model Context Protocol server for Qwen Image 3 generation and editing through Ace Data Cloud.
The hosted endpoint is https://qwen-image.mcp.acedata.cloud/mcp. Choose one route for the MCP client:
The hosted service advertises OAuth metadata and Dynamic Client Registration (DCR). DCR registers the client application; it is not an API key. OAuth signs you in and the client sends the resulting Bearer token; it may reuse or create an API credential for the account. Browser sign-in still requires an AceDataCloud account. The hosted service can be metered: review current service documentation and displayed pricing before a real operation. Do not configure both an OAuth login and a fixed Authorization header for the same server.
{ "mcpServers": { "qwen-image": {"url": "https://qwen-image.mcp.acedata.cloud/mcp"} } } VS Code-specific workspace config (OAuth):
{ "servers": { "qwen-image": {"type": "http", "url": "https://qwen-image.mcp.acedata.cloud/mcp"} } } Hosted API token Sign in at AceDataCloud Platform, open the service page, and obtain an API credential. A fixed Bearer header is useful when your client lacks OAuth; an invalid header does not fall back to OAuth in Claude Code. The header value is sensitive, so keep it out of committed files and screenshots.
For Claude Code, the shell expands the token when you add the server; treat the saved user MCP config as a secret:
export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN' claude mcp add --transport http --scope user qwen-image https://qwen-image.mcp.acedata.cloud/mcp \ --header "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" For a Claude Code project config, put a variable reference in /.mcp.json and set that variable in the environment that launches Claude Code:
{ "mcpServers": { "qwen-image": { "type": "http", "url": "https://qwen-image.mcp.acedata.cloud/mcp", "headers": {"Authorization": "Bearer ${ACEDATACLOUD_API_TOKEN}"} } } } Cursor uses a different environment-variable syntax in ~/.cursor/mcp.json or an uncommitted project config:
{ "inputs": [ {"id": "acedata-qwen-image-token", "type": "promptString", "description": "AceDataCloud API token", "password": true} ], "servers": { "qwen-image": { "type": "http", "url": "https://qwen-image.mcp.acedata.cloud/mcp", "headers": {"Authorization": "Bearer ${input:acedata-qwen-image-token}"} } } } For Cline, use its MCP configuration UI or CLI file ~/.cline/data/settings/cline_mcp_settings.json; its remote transport value is streamableHttp. For JetBrains AI Assistant, add a remote URL from Settings → Tools → AI Assistant → Model Context Protocol (MCP). For Zed, use a context_servers entry with the URL only for OAuth or add a local Bearer header. These clients have different configuration schemas; follow their current UI rather than copying another client's JSON. Cline · JetBrains · Zed.
Install the package and give the local process an API token:
python -m pip install mcp-qwen-image export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN' mcp-qwen-image For Claude Desktop local MCP, merge this entry into the file opened by its developer settings (~/Library/Application Support/Claude/claude_desktop_config.json on macOS). uvx requires uv on PATH:
{ "mcpServers": { "qwen-image": { "command": "uvx", "args": ["mcp-qwen-image"], "env": {"ACEDATACLOUD_API_TOKEN": "YOUR_API_TOKEN"} } } } Keep this user-level file private. Self-hosted HTTP uses mcp-qwen-image --transport http --port 8000; expose it only with suitable network and TLS controls. Local execution still calls the AceDataCloud API.
For 401, check which auth route the client used and whether the token or OAuth session is valid. A 403 may mean an account permission or content moderation failure; read the returned error. Insufficient balance and downstream service failures need their own diagnosis. A listed tool or submitted task does not prove a successful result.
Models: qwen-image-3.0 (default) and qwen-image-3.0-pro.
acedata ai claude editing generation image llm mcp model-context-protocol qwen_image
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




