LLM API Guide

Suno API and Official MCP Server (Beta): Developer Portal, Setup, and Limits

Learn how to access the official Suno API Beta sign-in portal and set up the official Suno MCP server in Claude, ChatGPT, and Gemini without relying on broken cookie wrappers.

Summary

  1. Suno launched its official MCP server and a gated Developer API sign-in portal in late October 2026.
  2. Access to both the developer portal and MCP tool execution depends on Beta account entitlements.
  3. Legacy unofficial wrappers (like gcui-art/suno-api) and private web endpoints now fail frequently due to Cloudflare Turnstile, Clerk v5.56.0 session changes.
  4. Undocumented WAV conversion routes (__convert__) return HTTP 204 or 408 and silently drain account credits.

For the past two years, searching for a working Suno API meant choosing between brittle Playwright scripts that scrape browser cookies and third-party relay sites that pool consumer subscriptions behind closed doors. At the end of October 2026, Suno finally changed that by releasing an official Model Context Protocol (MCP) server—allowing direct song generation and audio workflows inside ChatGPT, Claude, and Gemini—alongside an official Developer API sign-in portal.

If you are trying to integrate Suno into an application or an AI agent today, the most important thing to understand is that the official Developer API portal is live but remains in a gated Beta. You cannot just sign up for a standard consumer account, grab a self-serve pay-as-you-go key, and start blasting requests. At the same time, the old cookie-based workarounds are failing harder than ever due to Cloudflare Turnstile and backend payload changes.

Here is how the official Suno MCP server and Beta Developer Portal actually work right now, how to configure them in your LLM clients, and how to fix or migrate away from the errors plaguing legacy integrations.

On this page

Official Suno API and MCP vs. Unofficial Wrappers

Because so many third-party wrappers use the name "Suno API" in their domains and GitHub repositories, it is easy to confuse an unofficial cookie proxy with Suno's actual developer infrastructure. When evaluating how to connect your app or agent, you are looking at three distinct channels:

Feature / Channel Official Suno Developer API (Beta) Official Suno MCP Server Unofficial Cookie Wrappers & Relays
Current Status (Late 2026) Live sign-in portal; gated Beta access (API Founders Program) Live for ChatGPT, Claude, and Gemini integrations Failing frequently; main open-source repos abandoned
Authentication Official Bearer API Key / Workspace OAuth OAuth / Account-linked MCP token Browser SUNO_COOKIE (__client) & Clerk session IDs
Supported Models chirp-v5-5 (v5.5), v6, and current production models Current account-accessible models (v5.5, v6) Often stuck on chirp-crow (v5) or broken on UI updates
** Anti-Bot / Captcha Friction** None (native API endpoint) None (authorized tool execution) High; blocked by hCaptcha v1 and Cloudflare Turnstile v2
Account Ban Risk Low if compliant with Developer ToS Low Very high; triggers automated 403 Forbidden bans

If you only need to generate songs, remix tracks, or analyze audio inside an interactive agent workflow with Claude, ChatGPT, or Gemini, the official MCP server is the fastest path. If you are building a standalone backend application that needs programmatic REST endpoints, you need access to the official Developer API portal.

Setting Up the Official Suno MCP Server in Claude, ChatGPT, and Gemini

The release of Suno's official MCP tool eliminates the tedious loop of generating a track in the Suno web app, downloading the audio, uploading it to an LLM chat window to refine the lyrics or style tags, and pasting the prompt back into the browser.

In MCP-compatible clients like Claude Desktop, Claude Code, or ChatGPT's connector interface, the Suno MCP server exposes tools for prompting new songs, pulling workspace track metadata, and iterating on existing generations. In a local JSON configuration (such as claude_desktop_config.json), connecting to a remote or local MCP bridge follows the standard streamable-HTTP or stdio pattern with Bearer authentication:

json
{
  "mcpServers": {
    "suno": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.suno.com/sse"
      ],
      "env": {
        "SUNO_API_KEY": "your_official_beta_or_mcp_token"
      }
    }
  }
}

Note that https://mcp.suno.com/sse in the snippet above is a placeholder example—Suno has not published an open, unauthenticated public MCP URL, so you must replace it with the official MCP server address assigned to your account inside the Beta Developer Portal. Be careful not to confuse Suno's official MCP connector with third-party hosted streamable-HTTP endpoints such as https://suno.mcp.acedata.cloud/mcp, which route through unofficial commercial relays rather than Suno's native developer portal.

Fixing the "I Don't Have Permission" MCP Error

The most common roadblock when testing the official Suno MCP server right after connecting your account is getting a flat refusal from the assistant: I tried, but he says I don't have permission.

This happens because authenticating your Suno login is separate from having the Beta API / MCP execution entitlement enabled on your account ID. If your account is on the free tier, or if your Pro/Premier workspace has not yet been cleared in the staged rollout, the OAuth handshake succeeds and the LLM sees the tool definitions in its context window, but the assistant returns I tried, but he says I don't have permission because your account has not been granted Beta execution permissions yet. Check your account settings in the developer portal first to verify that Beta MCP access is active on your profile before debugging your local JSON syntax.

Audio Analysis Differences: ChatGPT vs. Claude Over MCP

Once the MCP connection is working, how you use it to refine v5.5 (chirp-v5-5) or v6 tracks depends heavily on which host model you run. A common goal with Suno v6 is keeping vocal timbre and lyrics consistent across generations by comparing a new generation against an original uploaded reference track, then writing a descriptive style prompt that avoids generic genre names.

When I run this workflow through ChatGPT, the model can natively ingest and listen to the audio stream returned by the workflow. It picks up subjective vocal texture, breathiness, and mix balance directly from the audio.

Claude handles audio differently. It does not natively listen to raw audio streams in the same way, so asking Claude to compare vocal timbre directly through the MCP connection will not give you useful musical feedback. Instead, if you use Suno MCP inside Claude, turn on Claude's Python code execution tool. With Python enabled, Claude can pull the audio file into its sandbox and run signal analysis libraries (librosa or scipy) to extract exact numbers for BPM, musical key, chord progressions, and frequency response curves. Use ChatGPT when you want subjective ear-level prompt tuning, and use Claude with Python execution when you need hard signal metrics to match two tracks.

The Official Developer API Portal (Beta): Access, Billing, and the 403 Ban Trap

Alongside the MCP server, Suno launched a dedicated sign-in portal for its Developer API at the end of October 2026. While having an official login page is a major step forward, the portal itself remains in a closed Beta tied to Suno's API Founders Program.

Many independent developers look for an official API because consumer subscription tiers are a poor fit for sporadic coding projects. Paying $30 a month for a Premier plan leaves you with a massive bucket of credits—often 8,000 credits sitting unused three days before the billing cycle resets—when what you really want is a pay-as-you-go API endpoint that bills per request.

Right now, the official Developer Portal does not let you convert leftover consumer web credits into developer API balance. Developer accounts operate under separate quota, concurrency, and rate-limit rules, and self-serve pay-as-you-go billing is only visible once your organization is approved inside the Beta portal.

Why Developer Accounts Get Hit with Immediate 403 Bans

If you are applying for the Beta or poking around developer links, be careful with how you set up your account environment. Suno's automated anti-abuse and anti-bot systems are aggressive, and they do not distinguish well between malicious scrapers and curious developers.

I have seen product accounts registered with a company name and corporate email get slapped with an immediate HTTP 403 Forbidden account ban on day one simply after clicking a developer API launcher link. When an account gets flagged like this, two things are usually happening in the background. First, Suno's fraud filter watches for commercial accounts that immediately probe API routes without an approved Founders Program flag. Second, if your browser profile has any unofficial Suno browser extensions installed—such as third-party bulk track exporters, lyrics scrapers, or cookie inspectors—those extensions inject scripts or hit private web routes that violate Suno's Terms of Service.

Once an automated 403 ban hits your account, support appeals can sit unanswered for weeks. Before logging into the official Developer API sign-in portal, use a clean browser profile with zero unofficial Suno extensions installed, and do not run reverse-engineered polling scripts from the same IP address or account email you use for your official Beta application.

If you landed on this page because an existing integration started throwing timeouts, 422 validation errors, or 403 blocks, you are almost certainly running an unofficial wrapper (such as gcui-art/suno-api, one of its community forks like zach-fau/suno-api or glitchbunny0/suno-api, suno-cli, or a third-party relay MCP).

The core problem with every unofficial Suno API is that it wraps browser session cookies and mimics the web frontend. Whenever Suno updates its UI, bumps its authentication SDK, or rotates its captcha provider, those wrappers break immediately. If you have to maintain a legacy integration while waiting for official Beta portal approval, here is what is actually causing the current wave of failures.

1. /api/get_limit Works, but Generation Fails with 422 or Login Redirects

One of the most confusing bugs in cookie-based wrappers is when your health check endpoint (GET /api/get_limit) returns HTTP 200 and reports your remaining credits accurately, making you think your SUNO_COOKIE is valid, yet every call to /api/custom_generate or /api/generate fails.

In Playwright-based wrappers, the headless Chromium instance gets redirected to https://accounts.suno.com/sign-in?redirect_url=https%3A%2F%2Fsuno.com%2Fcreate, logs Found 0 textareas on page, and times out looking for button[aria-label="Create"]. Or, it exits earlier with:

text
Error: Failed to get session id, you may need to update the SUNO_COOKIE

This happens for two reasons. First, older repositories hardcode outdated Clerk authentication SDK versions (such as Clerk v5.15.0) while Suno's web app moved to newer versions (v5.56.0+). Second, checking your credit limit only requires a basic session cookie, whereas generating music now hits /api/generate/v2-web/ and checks /api/c/check for an active captcha_version flag (1 for invisible hCaptcha, 2 for Cloudflare Turnstile).

If your request payload hits the generation route without passing the active captcha challenge or misses the newer required body fields (token_provider, transaction_uuid, and metadata), Suno rejects the generation call with HTTP 422 token_validation_failed even though your cookie can still read your account balance. Because Cloudflare Turnstile blocks automated headless browsers after just a few consecutive songs, the maintainers of the original gcui-art/suno-api repository officially stopped updating it.

If you run CLI wrappers on a headless Linux server (such as Ubuntu VPS or Raspberry Pi OS) without a desktop GUI, running a standard browser-login command like ./suno auth --login will fail immediately:

text
Error [config_error]: Configuration error: No Suno session found in any browser. Log into suno.com first, then retry.

Because there is no local graphical browser profile to scrape, you have to pass the cookie string directly via --cookie "$SUNO_COOKIE". Similarly, if your Node.js script throws Protocol error (Storage.setCookies): Invalid cookie fields on /api/generate, it means the script is only reading .env into local storage without attaching an explicit Cookie header on the outgoing HTTP request.

3. Third-Party Hosted MCP Schema Errors (gpt_description_prompt is required)

Before Suno released its official MCP server in late October 2026, several third-party relay providers launched their own hosted Suno MCP endpoints (such as https://suno.mcp.acedata.cloud/mcp). Because these relays translate MCP tool calls into reverse-engineered upstream requests, their JSON schemas frequently fall out of sync with Suno's backend rules.

For example, when calling a third-party suno_mashup_music, remaster, or stem-extraction tool using model: chirp-v5-5 and passing two mashup_audio_ids, the relay will initially accept the job and return a valid task_id. However, when your agent polls for completion, the task fails upstream with:

json
{
  "code": "bad_request",
  "message": "gpt_description_prompt is required when generate audio and custom is false."
}

When you see this error on a third-party MCP relay, the relay's tool schema forgot to mark the descriptive prompt field as required when custom mode is off. You can work around it by always passing a non-empty description string alongside your audio IDs, or by switching to a relay validation check—see our guide on what to check before buying from an AI API reseller to avoid relays that silently drop parameters.

4. The __convert__ WAV Download Trap (HTTP 204, 408, and Zeroed Credits)

If you use archival scripts (like suno-archiver) to back up your workspace tracks, stop passing the --wav flag against Suno's undocumented web endpoints.

Previously, calling the private __convert__ route triggered a server-side transcode and returned an uncompressed WAV file. Suno modified that undocumented route so it now frequently returns an empty body (Suno API error -1: non-JSON response from Suno (HTTP 204)) or times out after two minutes (Suno API error 408: WAV conversion for <uuid> not ready after 120s).

Worse than the timeout is what it does to your balance: hitting the private WAV conversion endpoint deducts credits for every WAV file generated. If you run a batch archiver across 400 workspace clips with --wav enabled, it will silently burn through your entire credit balance until your account hits zero. Stick to pulling standard MP3 or M4A streams and metadata, which download cleanly without touching your credit pool.

Migrating Your Workflow to the Official Endpoints

Whether you have just been approved for the official Suno Developer API Beta or are moving your daily songwriting workflow over to the official MCP server in Claude Code and ChatGPT, cleaning up your legacy setup takes four steps:

  1. Remove all headless browser and cookie-scraping dependencies: Tear out Playwright/Chromium containers and delete any cron jobs that poll /api/get_limit using SUNO_COOKIE. Leaving automated cookie pollers running on the same account you use for the official Beta portal is the fastest way to trigger an automated 403 ban.
  2. Switch archival and audio-analysis pipelines to M4A/MP3: Remove any calls to the undocumented __convert__ WAV endpoint so background jobs do not return HTTP 204/408 errors or drain your credits. If you need uncompressed audio for local Python signal analysis, convert the M4A stream locally using ffmpeg instead of asking Suno's servers to transcode it.
  3. Replace third-party MCP relays with the official Suno MCP server: Update your MCP host configuration in Claude Desktop, Claude Code, or Gemini to point to Suno's official MCP endpoint rather than community cookie wrappers or third-party proxy URLs.
  4. Standardize your agent gateway and Base URL settings: If your application chains an LLM (like Claude Sonnet 5.5 or GPT-6.1 Sol) with Suno's MCP tools, make sure your primary LLM gateway isn't throwing 400 parameter errors or SDK Base URL mismatches when handling tool-call responses.

When you are reconfiguring Claude Code or OpenAI Codex to test new MCP workflows, switching between official endpoints and unified gateways like SeedRouter, or diagnosing sudden 401, 403, 404, and 429 errors across multiple providers, editing raw config files by hand gets old fast. We built an open-source desktop tool called LLM API Config GUI for Windows and macOS that lets you set up your Base URL, API key, and model names visually, export profiles directly to CC Switch, and run instant connection diagnostics before you start a session.

Sources and checks