Connecting Cursor to Suno MCP

It's 2 a.m., and the code finally runs. You want to celebrate, but you can't find the right BGM on Spotify.

What if I told you that, without leaving Cursor, you could say to the AI, "Help me write a song to celebrate fixing a bug," and listen to a complete song 30 seconds later—would you believe me?

That's what Suno MCP does—it gives Cursor's built-in AI professional-grade AI music creation capabilities, from writing lyrics and composing music to separating vocals, all through natural language.

Get an API Token

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

Get an Ace Data Cloud API Key

If your balance is insufficient, click the "Recharge" button.

One Token can be used for all MCP Servers; there's no need to apply for each service separately.

Configure Cursor

Create .cursor/mcp.json in your project's root directory and enter the following:

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

Replace 你的Token with the API Token copied in the previous step. After saving, restart Cursor, and you'll see the Suno-related tools loaded in the AI panel's tool list.

What You Can Ask AI to Help You Do

Scenario 1: Create background music for an app

You're building a meditation app and need three minutes of light music. Previously, you'd have to find, download, and trim a track from a stock media website. Now:

帮我生成一段3分钟的冥想轻音乐,用钢琴和环境音,节奏很慢,适合深呼吸

Suno produces a finished track directly, and you can use suno_extend_music to extend your favorite section.

Scenario 2: Soundtrack for an indie game

帮我创作一段像素游戏的主菜单音乐,8-bit 芯片音乐风格,有点热血有点怀旧,循环播放不违和

Once you're satisfied, use suno_stems_music to separate the vocals from the accompaniment, keeping only the instrumental track.

Scenario 3: Create a theme song for a product launch

写一段歌词,主题是"连接世界的 API",然后用这个歌词生成一首科技感的电子乐

First use suno_generate_lyrics to generate the lyrics, then use suno_generate_custom_music to specify the lyrics and style—done in two steps.

Complete Tool List

Tool Description
suno_generate_music Generate a song directly from a description
suno_generate_custom_music Specify lyrics, style, and gender
suno_extend_music Extend a song from a specified point
suno_cover_music Create a cover in a different style
suno_mashup_music Mix two songs together
suno_stems_music Separate vocals and accompaniment
suno_generate_lyrics Generate lyrics only
suno_create_persona Save a voice you like

Configuration for Other Editors

  • VS Code — Add the same configuration under servers in .vscode/mcp.json
  • Claude Code — Configure via terminal commands; see the Claude Code + Suno MCP tutorial for details
  • Windsurf — .windsurf/mcp.json, same format as Cursor