Suno MCP Integration Guide

MCP (Model Context Protocol) is a model context protocol introduced by Anthropic that allows AI models (such as Claude, GPT, etc.) to call external tools through standardized interfaces. Through the Suno MCP Server provided by AceData Cloud, you can generate music and lyrics and manage audio projects directly in AI clients such as Claude Desktop, VS Code, and Cursor.

Feature Overview

Suno MCP Server provides the following core features:

  • Music generation — Generate AI music from text prompts
  • Custom creation — Fully control lyrics, titles, and music styles
  • Song continuation — Continue extending an existing song from any point in time
  • Covers/remixes — Create cover versions in different styles
  • Lyrics generation — Generate structured lyrics based on a description
  • Vocal personas — Save and reuse vocal styles
  • Media conversion — Obtain MP4, WAV, MIDI, separated vocals, and more
  • Style optimization — Optimize music style tags
  • Task queries — Monitor generation progress and retrieve results

Prerequisites

Log in to the application list, open the Universal Application, and click the copy button to the right of API KEY.

Get an Ace Data Cloud API Key

Replace the Token placeholder in the configuration below with the copied Key. When running locally, you can provide the raw Key through ACEDATACLOUD_API_TOKEN.

Method 1: Use the Hosted MCP Server (Recommended, No Installation)

AceData Cloud already hosts the Suno MCP Server in the cloud. No local dependencies need to be installed; simply enter the following URL in your AI client to use it:

https://suno.mcp.acedata.cloud/mcp

Authentication: Add Authorization: Bearer your API Token to the request header (Claude.ai handles this automatically through OAuth, so there is no need to enter a Token manually).

Claude.ai (Web Version, OAuth Login, Simplest)

  1. Open Claude.ai → Customize in the lower-left corner → Connectors → Add More
  2. Enter the URL: https://suno.mcp.acedata.cloud/mcp
  3. Complete the OAuth authorization login (you will be automatically redirected to the AceData Cloud login page)
  4. Return to the conversation interface, and the tools will be ready to use

Claude Desktop

Edit the configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "suno": {
      "type": "http",
      "url": "https://suno.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer 你的API Token"
      }
    }
  }
}

Save the file and restart Claude Desktop for the changes to take effect.

Claude Code (Terminal Command Line)

claude mcp add suno --transport http https://suno.mcp.acedata.cloud/mcp \
  -H "Authorization: Bearer 你的API Token"

VS Code (GitHub Copilot)

Create .vscode/mcp.json in the project root directory:

{
  "servers": {
    "suno": {
      "type": "http",
      "url": "https://suno.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer 你的API Token"
      }
    }
  }
}

Cursor

Create .cursor/mcp.json in the project root directory:

{
  "mcpServers": {
    "suno": {
      "url": "https://suno.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer 你的API Token"
      }
    }
  }
}

Other MCP-Compatible Clients

Any client that supports the MCP Streamable HTTP protocol (Windsurf, Cline, ChatGPT Connectors, Gemini CLI, JetBrains AI Assistant, etc.) can connect by entering the following two items:

  • URL: https://suno.mcp.acedata.cloud/mcp
  • Header: Authorization: Bearer your API Token

Method 2: Run Locally (pip / uvx Installation)

If you need to run offline, customize the code, or deploy on an internal network, you can install the MCP Server locally and start it through stdio.

Installation

Install with pip (recommended):

pip install mcp-suno

Or install from source:

git clone https://github.com/AceDataCloud/SunoMCP.git
cd SunoMCP
pip install -e .

Once installation is complete, you can use the mcp-suno command to start the service.

Using with Claude Desktop (Local)

Edit the Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the following configuration:

{
  "mcpServers": {
    "suno": {
      "command": "mcp-suno",
      "env": {
        "ACEDATACLOUD_API_TOKEN": "你的API Token"
      }
    }
  }
}

If using uvx (no need to install the package in advance):

{
  "mcpServers": {
    "suno": {
      "command": "uvx",
      "args": ["mcp-suno"],
      "env": {
        "ACEDATACLOUD_API_TOKEN": "你的API Token"
      }
    }
  }
}

Save the configuration and restart Claude Desktop for the changes to take effect.

Using with VS Code / Cursor (Local)

Create .vscode/mcp.json in the project root directory:

{
  "servers": {
    "suno": {
      "command": "mcp-suno",
      "env": {
        "ACEDATACLOUD_API_TOKEN": "你的API Token"
      }
    }
  }
}

Or use uvx:

{
  "servers": {
    "suno": {
      "command": "uvx",
      "args": ["mcp-suno"],
      "env": {
        "ACEDATACLOUD_API_TOKEN": "你的API Token"
      }
    }
  }
}

Available Tools List

Tool Name Description
suno_generate_music Generate music from text prompts
suno_generate_custom_music Generate music with custom lyrics and styles
suno_extend_music Extend a song from a specified time
suno_cover_music Create a cover version
suno_concat_music Concatenate song segments
suno_generate_with_persona Generate music using a specified vocal persona
suno_remaster_music Remaster audio
suno_stems_music Separate audio tracks (vocals/accompaniment)
suno_replace_section Replace a specified section of a song
suno_upload_extend Upload audio and extend it
suno_upload_cover Upload audio and create a cover
suno_mashup_music Mash up multiple songs
suno_generate_lyrics Generate lyrics from a description
suno_create_persona Create a vocal persona
suno_get_mp4 Get an MP4 video of a song
suno_get_timing Get the lyrics timeline
suno_extract_vocals Extract vocals
suno_get_wav Get a high-quality WAV
suno_get_midi Get a MIDI file
suno_optimize_style Optimize music style tags
suno_mashup_lyrics Mash up lyrics
suno_upload_audio Upload custom audio
suno_add_stem Generate a specified instrument or vocal track for existing audio
suno_extract_stem Extract a specified track and return a complementary version
suno_generate_sound Generate one-shot or looped sound effects, with optional BPM and key
suno_adjust_speed Adjust speed, optionally preserving pitch
suno_generate_with_custom_model Create using a ready custom model, supporting instrumentals and automatic lyrics
suno_manage_project Manage versioned Studio multitrack projects by action
suno_get_task Query the status of a single task
suno_get_tasks_batch Query task statuses in batches

Usage Examples

After configuration, you can invoke these functions directly in your AI client using natural language, for example:

  • “Help me generate a pop song about summer”
  • “Cover this song in a jazz style”
  • “Extend this song, starting at 30 seconds”
  • “Generate Chinese lyrics on the theme of travel”
  • “Separate the vocals from this song”
  • “Help me convert this song to MIDI format”

More Information

Advanced Controls and Studio Projects

suno_generate_music supports variety; suno_generate_custom_music also supports max_mode and audio_weight. max_mode uses a higher API billing tier and is not enabled by default; it should be set after the user explicitly selects enhanced mode. Current prices are listed on the platform’s service page.

suno_generate_with_custom_model can use instrumental=true to generate instrumental music, or use lyric_prompt to generate lyrics automatically; otherwise, provide lyric. The title and style can be omitted, and negative_tags, vocal_gender, weirdness, style_influence, duration, and callback_url can also be passed. Explicit 0 control values are retained.

The request.action of suno_manage_project can be create, retrieve, save, upload, add_track, generate_track, replace_section, commit_candidate, remove_track, or render. Inputs differ by action, and project modifications should use the most recently retrieved version_id; when saving, pass the complete state, preserving existing tracks and fields.

Except for retrieve, every call must provide an idempotency_key. Use a new key for each new write operation; if a timeout occurs or the acceptance result is uncertain, retry with the original key and the exact same request, or query the original task; do not automatically use a new key to resend a paid generation request. Source audio intervals are in seconds, and project timeline intervals are in beats. Generation only creates candidates; a candidate must be selected and commit_candidate called before it is written to the track.

Query an asynchronously accepted task_id using suno_get_task. Continue waiting when finished_at is empty; after a terminal state, check response.success and errors; do not treat successful acceptance as successful generation, commit, or export. suno_get_tasks_batch returns complete JSON task records, retaining custom model objects, project states, candidates, MIDI, and other results. For the complete workflow, see the Studio Project Guide.