SunoMCP CLAUDE.md

SunoMCP CLAUDE.md is an instructions file for coding agents from AceDataCloud/SunoMCP. It costs 458 tokens per session, scanned A, original, MIT.

Project instructions for SunoMCP, an MCP server that requests music generation from Suno AI through the AceDataCloud API. They describe its code layout and its API specification as the source of truth.

In plain words
What is it for?
Maintaining music, lyrics, media, persona, style, and task tools; updating API models; handling errors; and running the asynchronous tests.
Why use it?
They help keep the server's data types and tools aligned with the API instead of relying on outdated assumptions.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/acedatacloud/sunomcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/AceDataCloud/SunoMCP

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for SunoMCP CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/acedatacloud/sunomcp/claude-md.svg)](https://agentmods.dev/instructions/acedatacloud/sunomcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/acedatacloud/sunomcp/claude-md"><img src="https://agentmods.dev/badge/instructions/acedatacloud/sunomcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 458 This file is loaded in full into every session.
When invoked 458 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00458 $0.00458
Opus 5 $0.00229 $0.00229
Sonnet 5 $0.00092 $0.00092
Haiku 4.5 $0.00046 $0.00046

Measured 5d ago against content hash 04ade166ccef, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

SunoMCP CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

CLAUDE.md · 46 lines

What it actually says

SunoMCP

MCP (Model Context Protocol) server for Suno AI music generation via AceDataCloud API.

Project Structure

core/
  config.py     — Settings dataclass (API token, base URL)
  server.py     — FastMCP server singleton
  client.py     — httpx async HTTP client
  types.py      — Literal types (SunoModel, VocalGender, etc.)
  exceptions.py — Error classes (AuthError, APIError, TimeoutError)
  utils.py      — Formatting helpers
tools/
  audio_tools.py   — generate, custom, extend, cover, remaster, concat
  lyrics_tools.py  — generate lyrics, mashup
  media_tools.py   — MP4, WAV, MIDI, timing, vocal separation
  persona_tools.py — save/manage voice personas
  style_tools.py   — optimize style descriptions
  task_tools.py    — query task status, wait for completion
  info_tools.py    — list models, capabilities
prompts/           — LLM guidance prompts
tests/             — pytest-asyncio + respx tests

Sync from Docs

When invoked by the sync workflow, the Docs repo is checked out at _docs/. Your job:

  1. Source of truth_docs/openapi/suno.json is the OpenAPI spec for the Suno API.
  2. Compare models — The SunoModel Literal in core/types.py must match the spec's model enum. Add/remove as needed.
  3. Compare parameters — Each @mcp.tool() function's parameters should match the corresponding OpenAPI endpoint.
  4. Update defaults — If a new model becomes the recommended default, update DEFAULT_MODEL in core/types.py.
  5. Update README — Keep the model table and feature list current.
  6. Add tests — For new tools or parameters, add test cases in tests/.
  7. PR title — Use format: sync: <description> [auto-sync]

Development

pip install -e ".[dev]"
pytest --cov=core --cov=tools
ruff check .
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 46 lines · 458 tokens per session scan A 04ade166ccef

Subscribe to this mod's changes

SunoMCP CLAUDE.md is an instructions file published in the GitHub repository AceDataCloud/SunoMCP (47 stars, last pushed today), licensed MIT. It adds 458 tokens to every session, about $0.0023 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.