SunoMCP
CLAUDE.md61 starsChanged 56 days agoMITView on GitHub
MCP (Model Context Protocol) server for Suno AI music generation via AceDataCloud API. When invoked by the sync workflow, the Docs repo is checked out at _docs/. Your job:
- Installs packages
In this repositoryOne other file it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
When invoked by the sync workflow, the Docs repo is checked out at _docs/.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 testsSync from Docs
When invoked by the sync workflow, the Docs repo is checked out at _docs/. Your job:
- Source of truth —
_docs/openapi/suno.jsonis the OpenAPI spec for the Suno API. - Compare models — The
SunoModelLiteral incore/types.pymust match the spec's model enum. Add/remove as needed. - Compare parameters — Each
@mcp.tool()function's parameters should match the corresponding OpenAPI endpoint. - Update defaults — If a new model becomes the recommended default, update
DEFAULT_MODELincore/types.py. - Update README — Keep the model table and feature list current.
- Add tests — For new tools or parameters, add test cases in
tests/. - PR title — Use format:
sync: <description> [auto-sync]
Development
pip install -e ".[dev]"
pytest --cov=core --cov=tools
ruff check .Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

