Producer MCP Integration Guide
Producer MCP can generate music from creative descriptions, as well as create songs using your own lyrics, extend existing songs, make covers, or split audio into tracks. Generated audio can be exported as WAV or used to generate music videos.
¶ Connect to the Hosted Service
Select remote MCP (Streamable HTTP) in the client and enter https://producer.mcp.acedata.cloud/mcp as the server address. After selecting OAuth, follow the browser prompts to log in to AI 聚合 and authorize access.
| Client | How to connect |
|---|---|
| Claude / Claude Desktop | Add a custom connector under “Customize → Connectors,” paste the server address, and log in. |
| Claude Code | Run claude mcp add --transport http --scope user producer https://producer.mcp.acedata.cloud/mcp, open /mcp in the session, select the server, and complete authorization. |
| Codex CLI | Run codex mcp add producer --url https://producer.mcp.acedata.cloud/mcp, then run codex mcp login producer. |
| Cursor | Create an HTTP server in the MCP settings, enter the address, and log in as prompted when connecting. |
| VS Code | Run MCP: Add Server from the command palette, select HTTP and enter the address, then use MCP: List Servers to check the status. |
If using an application API Key, select the application used for Producer on the application management page, check that the allowed APIs cover the creation, media, and task query endpoints you intend to use, and confirm the balance. Set the request header to Authorization: Bearer <application API Key> in the client's private credential settings. Applications and API Keys
¶ Use an Application Key with Gemini CLI and OpenCode
First, set the environment variable ACEDATACLOUD_API_TOKEN to the application API Key in the terminal used to start the client. The following commands use macOS or Linux shell quoting and save the variable reference.
| Client | How to connect |
|---|---|
| Gemini CLI | Run gemini mcp add --scope user --transport http producer https://producer.mcp.acedata.cloud/mcp --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}', then check with gemini mcp list. |
| OpenCode 2.x | Run opencode mcp add producer --global --url https://producer.mcp.acedata.cloud/mcp --header 'Authorization=Bearer {env:ACEDATACLOUD_API_TOKEN}', then run opencode reload and opencode mcp list. |
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 the user configuration. Replace the placeholder with the application API Key, save, and restart the client. Other clients that support stdio can also run the uvx mcp-producer command and pass the key to the process as an environment variable.
{
"mcpServers": {
"producer": {
"command": "uvx",
"args": [
"mcp-producer"
],
"env": {
"ACEDATACLOUD_API_TOKEN": "YOUR_API_KEY"
}
}
}
}
The local process still calls the AI 聚合 API. Store the key in your personal client configuration or credential manager. mcp-producer package
¶ Verify the Connection and Available Tools
Open the client's tool list, find Producer, and first ask the assistant to call producer_list_models and list the supported music models. This query can check whether the client has loaded the tools without submitting a service request.
| Purpose | Tools | Usage |
|---|---|---|
| Create songs and lyrics | producer_generate_music, producer_generate_custom_music, producer_generate_lyrics |
Generate songs from descriptions, or pass in sectioned lyrics for customization. For instrumental music, specify instrumental=true. |
| Extensions, covers, and variations | producer_extend_music, producer_cover_music, producer_variation_music |
Use the audio_id of a completed work. Extensions also require a positive number of seconds for continue_at and, when vocals are present, lyrics for the extension. |
| Replacement and track separation | producer_replace_section, producer_swap_vocals, producer_swap_instrumentals, producer_stems_music |
Modify a specified time segment, replace vocals or accompaniment, or split audio into tracks. |
| Import and export | producer_upload_audio, producer_generate_wav, producer_generate_video |
Upload reference audio using an accessible URL, or export WAV and generate video from existing works. |
| Query tasks | producer_get_task, producer_get_tasks_batch |
Query one or multiple tasks by task ID. |
| View usage | producer_list_models, producer_list_actions, producer_get_lyric_format_guide |
View models, actions, and lyric section formats. |
¶ Example Call
Ask the assistant: “Call Producer to generate a piece of upbeat acoustic guitar instrumental music for a podcast intro, with instrumental=true. If a task ID is returned, check until it is complete, then give me the audio URL and work ID.”
Use the task_id returned by generation to check progress. For subsequent extensions, covers, or WAV exports, use the id of the specific audio in the successful result as the audio_id. When one generation contains multiple works, first select the one to process.
Before making an actual call, you can check current pricing and availability on the service page. Producer Service · Song Generation API · Lyrics Generation API · Task Query API

