Maestro MCP Integration Guide
Maestro can produce a finished video from a creative brief, or adapt, edit, or continue a previous video task. Each creative task outputs one language version.
¶ Connect to the Hosted Service
Add a Streamable HTTP server in a client that supports remote MCP, using the address https://maestro.mcp.acedata.cloud/mcp. When using OAuth, choose to sign in to AI 聚合 and confirm authorization in your browser.
| Client | How to connect |
|---|---|
| Claude / Claude Desktop | Add a custom connector under “Customize → Connectors,” enter the hosted address, and sign in. |
| Claude Code | Run claude mcp add --transport http --scope user maestro https://maestro.mcp.acedata.cloud/mcp, open /mcp in the session, select the server, and complete authorization. |
| Cursor | Create an HTTP server in MCP settings, enter the hosted address, and sign in as prompted when connecting. |
| VS Code | Run MCP: Add Server from the command palette, select HTTP and enter the hosted address, then use MCP: List Servers to confirm the status. |
In Codex CLI, run the following commands, then enter /mcp in the session to view the server.
codex mcp add maestro --url https://maestro.mcp.acedata.cloud/mcp
codex mcp login maestro
To use fixed credentials, add the request header Authorization: Bearer <application 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 in Gemini CLI and OpenCode
First, save the application API Key as the client environment variable ACEDATACLOUD_API_TOKEN. The following commands use macOS or Linux shell quoting.
| Client | How to connect |
|---|---|
| Gemini CLI | Run gemini mcp add --scope user --transport http maestro https://maestro.mcp.acedata.cloud/mcp --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}', and check with gemini mcp list. |
| OpenCode 2.x | Run opencode mcp add maestro --global --url https://maestro.mcp.acedata.cloud/mcp --header 'Authorization=Bearer {env:ACEDATACLOUD_API_TOKEN}', then run opencode reload and opencode mcp list. |
For OpenCode 1.x, set type: "remote", the hosted URL, and oauth: false for this service in the mcp object of your personal opencode.json, and set the Authorization request header to Bearer {env:ACEDATACLOUD_API_TOKEN}. OpenCode 1.x Configuration
¶ Local stdio Integration
After installing uv, local clients can start an MCP process using standard input and output, and Maestro requests are sent to AI 聚合 by that process.
Claude Desktop users can open the local MCP configuration from developer settings, merge the server entry below, replace the placeholder with the application API Key itself in their personal configuration, and then restart the client. Clients that support private environment variables can also inject ACEDATACLOUD_API_TOKEN from a credential manager.
{
"mcpServers": {
"maestro": {
"command": "uvx",
"args": [
"mcp-maestro"
],
"env": {
"ACEDATACLOUD_API_TOKEN": "YOUR_API_KEY"
}
}
}
}
¶ Initial Verification
Open the client’s MCP tool list and confirm that you can see maestro_create_video, maestro_get_task, and maestro_list_tasks. To verify account read permissions, use maestro_list_tasks to query your most recent task; an empty list is also a normal result.
¶ Tools and Usage Examples
| Operation | Tool and parameters |
|---|---|
| Create a video from a brief | Use maestro_create_video with action="generate", and describe the audience, shots, and delivery requirements in prompt. You can specify duration, aspect, and one output language as needed. |
| Modify a previous video | Still use maestro_create_video, set action to remix, edit, or extend, and use ref_task_id to point to the original task. |
| Retrieve a finished video | Use maestro_get_task to query one task_id. Use maestro_list_tasks to view recent tasks for the current account. |
For example, “Create a 30-second vertical coffee-brewing tutorial in Chinese, showing weighing the beans, pouring water, and serving the coffee in sequence, with a short caption for each step.” After confirming the production requirements, submit one maestro_create_video request and save the returned task_id. Query with maestro_get_task until status is succeeded or failed. On success, read the finished video link from response.data.variants; on failure, check the task’s error information.
For parameter and result formats, see the API documentation. Video Production, Task Query.

