# Yolly MCP server: setup notes for AI agents
Server URL: https://www.yolly.ai/api/mcp
Transport: Streamable HTTP (remote, stateless). Not SSE.
Auth: OAuth 2.1 with dynamic client registration and PKCE, discovered automatically from the 401 response. No API key. The user signs in to Yolly in their browser and clicks "Allow" once.
## Install
Before adding anything, check whether a server named "yolly" already exists, and keep the user's other MCP servers. Don't add an Authorization header, never print tokens or OAuth callback URLs, and don't start a paid generation during setup. After the user approves in the browser, verify with the read-only get_account tool.
- Claude Code: run `claude mcp get yolly`; only if it's missing, run `claude mcp add --transport http --scope user yolly https://www.yolly.ai/api/mcp`. Then ask the user to run /mcp, select "yolly" and authenticate.
- Cursor: merge {"mcpServers": {"yolly": {"url": "https://www.yolly.ai/api/mcp"}}} into ~/.cursor/mcp.json (keep existing servers), then ask the user to open Cursor Settings > MCP and click Connect next to yolly.
- VS Code: run `code --add-mcp '{"name":"yolly","type":"http","url":"https://www.yolly.ai/api/mcp"}'`, then start the server from the MCP view and sign in.
- Codex CLI: run `codex mcp get yolly`; only if it's missing, run `codex mcp add yolly --url https://www.yolly.ai/api/mcp`. Then run `codex mcp login yolly` and ask the user to restart Codex.
- DeepSeek Harness (DSH): in the active profile's MCP manager, add "yolly" as streamable-http at the URL above with OAuth (credential key "mcp-client/yolly"), keep inherited servers, then run its Authorize action.
- Hermes: in the active config.yaml (usually ~/.hermes/config.yaml), add "yolly" under mcp_servers with url: "https://www.yolly.ai/api/mcp" and auth: oauth; run `hermes mcp login yolly` if needed, then /reload-mcp.
- Claude (claude.ai / Desktop) and ChatGPT: the user adds a custom connector in the app's settings with the URL above (OAuth).
- Grok and Grok Bot: the user adds a custom connector with the URL above and leaves the headers and Client ID empty (OAuth with dynamic client registration). Grok: grok.com/connectors > New Connector > Custom. Grok Bot: desktop app > Connect apps > Add a custom connector > Remote HTTPS > Add plugin, then Connect.
- Any other MCP client: add a remote Streamable HTTP server named "yolly" with the URL above.
## Tools
Tell the user the credit cost and get approval before any paid action.
Music
- create_song: 2 song versions from a description, or from lyrics + style + title. 10 credits per call; requires a paid Yolly plan. Use V6 and automatic duration by default. Pass model or target_duration_seconds only when the user requests that option.
- get_song_status: poll about every 20 seconds until SUCCESS or FAILED (usually 1-3 minutes). Returns audio_url and song_page_url.
- list_my_songs: search the user's finished songs by title, style, tags, or prompt. Use next_offset to fetch more results with the same filters.
- get_song: details, lyrics and available actions for a selected song version.
- rename_song: save the user's requested title. download_song_cover: get the original cover download.
- generate_song_license_pdf: Premium only. Use the exact holder name for a new license, or omit the name to retrieve an existing license.
- extend_song, cover_song, separate_song_vocals, export_song_wav and master_song (30 credits, balanced WAV by default): track each job with get_song_operation_status.
- generate_lyrics / get_lyrics_status: standalone lyrics.
- estimate_music_video_cost, create_music_video, get_music_video_status: a music video from a library song or an uploaded vocal track. Requires a paid plan.
Images and video
- list_visual_models: image models by default (nano-banana-2-1, gpt-image-2). With media_type=video it lists video models: grok-imagine (default), seedance-2-5-flash, seedance-2-5, veo3.1-lite, veo3.1-basic, veo3.1-premium, kling-avatar and minimax-h3. Pass model_id for options and prices.
- estimate_visual_generation: quote an image or video. Video modes: text_to_video, image_to_video, reference_to_video, lip_sync. Image modes also include remove_background and upscale.
- create_visual_generation: submit an approved quote_id. get_visual_generation_status: check a job_id until it finishes.
- list_my_images: reusable image asset IDs.
Files and account
- prepare_media_upload / get_media_upload: upload an image, video or audio file, then use the returned URL in other tools.
- get_account: remaining credits and plan.
- get_card_language / set_card_language: the display language of in-chat cards.