Connect to the Hosted Service
In a client that supports remote MCP, add a Streamable HTTP server athttps://wan.mcp.acedata.cloud/mcp. When using OAuth, choose to sign in to Ace Data Cloud and confirm authorization in your browser.
In Codex CLI, run the following command. When finished, enter
/mcp in the session to view the server.
Authorization: Bearer <应用 API Key> in the client’s private settings and confirm that the application is authorized to call the selected API. You can create or copy a key in the console under “Applications → General Applications → Key Management”. Application Console
Use an Application Key with Gemini CLI and OpenCode
First, save the application API key as the client environment variableACEDATACLOUD_API_TOKEN. The following commands use macOS or Linux shell quoting.
In OpenCode 1.x, configure
type: "remote", the hosted URL, and oauth: false for this service in the mcp object of your personal opencode.json, and set the request header Authorization to Bearer {env:ACEDATACLOUD_API_TOKEN}. OpenCode 1.x configuration
Local stdio integration
After installing uv, a local client can launch the MCP process using standard input and output. The process sends Wan requests to Ace Data Cloud. Claude Desktop users can open the local MCP configuration from the developer settings, merge in the server entry below, replace the placeholder in their personal configuration with the application API key itself, and restart the client. Clients that support private environment variables can also injectACEDATACLOUD_API_TOKEN from a credential manager.
Initial verification
After connecting, tell the assistant: “Please call onlywan_list_models, wan_list_actions, and wan_list_resolutions to list the models and resolutions available for image-to-video generation.”
Tools and usage examples
For example: “Make the waves in this coastal photo move toward the shore while keeping the camera steady.” Use
wan_generate_video_from_image, put the photo URL in image_url, and write the motion requirements in prompt. If a task ID is returned, save it and use wan_get_task to query the original task for the final video.
See the API documentation for parameter and result formats: Video generation, Task query.
