Connect to the Hosted Service
In your client, select remote MCP (Streamable HTTP) and enterhttps://producer.mcp.acedata.cloud/mcp as the server address. Select OAuth, then follow the browser prompts to sign in to Ace Data Cloud and authorize access.
If using an application API key, select the application used for Producer on the application management page. Check that its allowed APIs cover the creation, media, and task query endpoints you plan to use, and confirm the balance. In the client’s private credential settings, set the request header to
Authorization: Bearer <应用 API Key>. Applications and API Keys
Using an Application Key with Gemini CLI and OpenCode
First, set the environment variableACEDATACLOUD_API_TOKEN to the application API key in the terminal where you launch the client. The following commands use macOS or Linux shell quoting and save a reference to the variable.
For OpenCode 1.x, add a service named
producer to the mcp object in your personal opencode.json. Set type to remote, url to the address above, oauth to false, and headers.Authorization to Bearer {env:ACEDATACLOUD_API_TOKEN}. OpenCode 1.x configuration
Connect locally via stdio
Install uv, open the local MCP configuration in Claude Desktop’s developer settings, and merge the following entry into your user configuration. Replace the placeholder with your application’s API key, save, and restart the client. Other clients that support stdio can also run theuvx mcp-producer command and pass the key to the process as an environment variable.
Verify the connection and available tools
Open the client’s tool list, find Producer, and first ask the assistant to callproducer_list_models to list the supported music models. This query checks whether the client has loaded the tools without submitting a production request.
Example request
Ask the assistant: “Call Producer to generate an upbeat acoustic guitar instrumental for a podcast intro, settinginstrumental=true. If a task ID is returned, check until it is complete, then give me the audio URL and the piece ID.”
To check progress, use the task_id returned by the generation request. For subsequent continuations, covers, or WAV exports, use the id of the specific audio in the successful result as audio_id. If a generation contains multiple tracks, first select the one you want to process.
Before making a call, check the service pages for current pricing and availability. Producer Service · Song Generation API · Lyrics Generation API · Task Query API
