Shared core handlers and tool schemas for Suno MCP servers — by YellowKode Academy
Generate AI music using Suno API. Returns a taskId. Use wait_for_music immediately after to get the audio URL. Simple mode (default): describe the music in prompt, optionally add style tags. Custom mode: prompt = literal lyrics, style and title are required.
Check remaining Suno API credits for your account.
Retrieve a generation by taskId — returns full audio data (audioUrl, title, imageUrl, duration) when status is SUCCESS, or the current status (PENDING/PROCESSING) if still generating. Use this to fetch a previously completed generation by its taskId.
List all recently generated music tracks with their audioUrl, title, status, imageUrl and createdAt. Use this to find a previously generated song by name or date, or to show the user their music history.
Wait for music generation to complete and return the audio URLs. Polls automatically every few seconds until ready (up to 5 minutes).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 9 | 2026-07-28+ | v2 |