Tuney
Royalty-free music fitted to your length or video: find, generate and adjust tracks, score videos.
我该使用它吗
质量与安全性
发现(2)
- HIGH
- LOW在 download_track 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"tuney": {
"url": "https://api.tuney.io/cue-engine2/connector/mcp"
}
}
}远程端点
https://api.tuney.io/cue-engine2/connector/mcpstreamable-http它能做什么
工具清单
工具(15)
🟢list_styles
List the genres, moods and tempos Tuney can find or generate music for. Call this before find_tracks or generate_track and pick the values that fit the user's brief.
输入模式
{
"type": "object",
"properties": {},
"title": "list_stylesArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "list_stylesDictOutput"
}🟢find_tracks(prompt, genre, mood, tempo, search_id, ...)
Find ready-made Tuney tracks that match a brief. Previews are free. Best results: pass genre, mood and tempo values from list_styles (any one is enough). A free-text prompt works too, but it is matched on overall feel only, not on instruments, so check the genre, mood and tempo of what comes back. Each result has a cue_id and a preview URL. limit is 1 to 5; each result takes a few seconds. Pass the returned search_id to get more results for the same brief. Use adjust_track to change length or key, and download_track for the final file.
输入模式
{
"type": "object",
"properties": {
"prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Prompt"
},
"genre": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Genre"
},
"mood": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mood"
},
"tempo": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tempo"
},
"search_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Search Id"
},
"limit": {
"default": 3,
"title": "Limit",
"type": "integer"
}
},
"title": "find_tracksArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "find_tracksDictOutput"
}🟢generate_track(length_seconds, genre, mood, tempo, build)
Compose a brand-new track from Tuney's hand-made musical elements, fitted to an exact length. Use genre, mood and tempo values from list_styles, or leave them empty for any style. Generation runs in the background: this returns a task_id, so call wait_for_task next. Previews are free.
输入模式
{
"type": "object",
"properties": {
"length_seconds": {
"default": 60,
"title": "Length Seconds",
"type": "number"
},
"genre": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Genre"
},
"mood": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Mood"
},
"tempo": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tempo"
},
"build": {
"default": "none",
"enum": [
"none",
"ascending"
],
"title": "Build",
"type": "string"
}
},
"title": "generate_trackArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "generate_trackDictOutput"
}🟢get_task(task_id, kind)
Check a background task once: a generation, a download, or a video import, analysis, scoring or render. Prefer wait_for_task, which polls for you.
输入模式
{
"type": "object",
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"kind": {
"default": "generate",
"enum": [
"generate",
"download",
"import_video",
"analyze_video",
"score_video",
"render_video"
],
"title": "Kind",
"type": "string"
}
},
"required": [
"task_id"
],
"title": "get_taskArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "get_taskDictOutput"
}🟢wait_for_task(task_id, kind, timeout_seconds)
Wait for a background task to finish, reporting progress along the way. kind is the one the starting tool returned: generate, download, import_video, analyze_video, score_video or render_video. Returns the finished track (with preview_url), the download_url, or the video result. If it is still running when the timeout passes, the result says so: call wait_for_task again with the same task_id and kind.
输入模式
{
"type": "object",
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"kind": {
"default": "generate",
"enum": [
"generate",
"download",
"import_video",
"analyze_video",
"score_video",
"render_video"
],
"title": "Kind",
"type": "string"
},
"timeout_seconds": {
"default": 50,
"title": "Timeout Seconds",
"type": "integer"
}
},
"required": [
"task_id"
],
"title": "wait_for_taskArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "wait_for_taskDictOutput"
}🟢get_track(cue_id)
Get a track by cue_id: name, preview URL, length, bpm, key, style and sections.
输入模式
{
"type": "object",
"properties": {
"cue_id": {
"title": "Cue Id",
"type": "string"
}
},
"required": [
"cue_id"
],
"title": "get_trackArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "get_trackDictOutput"
}🟡adjust_track(cue_id, length_seconds, time_stretch, pitch_shift, mute, ...)
Re-render a track with changes, keeping it musically coherent. - length_seconds: fit the track to an exact duration (the engine recomposes the arrangement). - turning_point_seconds: add a turning point at that second, where the music changes character (new arrangement after the point, an audible transition). Combine with length_seconds to lengthen a track and place the turning point in one go. If the track already has a turning point, this moves it. - ending: how the track ends, "fade_out" or "short" (a stab on the last beat). The track keeps its length (or the length_seconds you give) within a quarter of a second either way. - time_stretch: tempo factor, for example 0.9 slower or 1.1 faster. - pitch_shift: semitones, for example -2 or 3. - mute / unmute: stems by name: melody, chords, bass, drums. - regenerate: stems to re-pick musical material for (melody, chords, bass, drums); all four give a fresh take on the same brief. Runs in the background: returns a task_id for wait_for_task.
输入模式
{
"type": "object",
"properties": {
"cue_id": {
"title": "Cue Id",
"type": "string"
},
"length_seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Length Seconds"
},
"time_stretch": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Time Stretch"
},
"pitch_shift": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Pitch Shift"
},
"mute": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Mute"
},
"unmute": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Unmute"
},
"regenerate": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Regenerate"
},
"turning_point_seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Turning Point Seconds"
},
"ending": {
"anyOf": [
{
"enum": [
"fade_out",
"short"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ending"
}
},
"required": [
"cue_id"
],
"title": "adjust_trackArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "adjust_trackDictOutput"
}🟢download_track(cue_id, format)
Get a download link for the final file: mp3, wav, or a zip of stems. Signed in, this spends Tuney credits and the file is clean. Without sign-in it is free and the file has the pulsing tone over it (the result says listen_only). Returns download_url right away when the file is cached, otherwise a task_id to pass to wait_for_task with kind="download". Links expire, so share them promptly. download_url is on the Tuney API host; download_direct_url is the same file in Cloud Storage. For format="stems" the link is a zip with one mp3 per part; the result's `contents` map gives the readable name of each file (melody, chords, bass, drums, swoosh fx, impact fx). To show stems to the user: fetch the zip, unzip it, rename the files with that map and attach them. Never download the same track twice.
输入模式
{
"type": "object",
"properties": {
"cue_id": {
"title": "Cue Id",
"type": "string"
},
"format": {
"default": "mp3",
"enum": [
"mp3",
"wav",
"stems"
],
"title": "Format",
"type": "string"
}
},
"required": [
"cue_id"
],
"title": "download_trackArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "download_trackDictOutput"
}🟢get_account
Show whether the user is signed in to Tuney, which account it is, and its credit balance with a link to buy more.
输入模式
{
"type": "object",
"properties": {},
"title": "get_accountArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "get_accountDictOutput"
}🟢sign_in
Start signing in to Tuney. Signed in, audio is clean (no pulsing tone) and the user has their own library and credits. Call it only when the user asks to sign in or wants clean files; everything works without it. Without a sign-in, this call makes the app show its Tuney sign-in (in Claude Code the user picks Authenticate for Tuney under /mcp), where an account is free to create. Tell the user first: some apps pause the Tuney tools until the sign-in is finished. When already signed in, it says so. Then call get_track with the cue_id of each track made before the sign-in: it comes back clean, under a new cue_id in the user's library. Render a video again to get clean music under it.
输入模式
{
"type": "object",
"properties": {},
"title": "sign_inArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "sign_inDictOutput"
}🟡get_video_upload_link(filename)
Create a one-time link for sending a video file (MP4, MOV or M4V) to Tuney for scoring. Use this when the video is a local file, for example one the user attached or one in the working directory. Send the file with the curl command in `example` (HTTP PUT of the raw file); the response contains the video_id to pass to score_video. If the video is already online, use import_video with its link instead.
输入模式
{
"type": "object",
"properties": {
"filename": {
"default": "video.mp4",
"title": "Filename",
"type": "string"
}
},
"title": "get_video_upload_linkArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "get_video_upload_linkDictOutput"
}🟡import_video(url)
Bring a video into Tuney from a public https link that returns the file itself (not a web page). Returns the video_id to pass to score_video, analyze_video or render_video. Videos up to 200 MB and 10 minutes. For a local file, use get_video_upload_link instead.
输入模式
{
"type": "object",
"properties": {
"url": {
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "import_videoArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "import_videoDictOutput"
}🟢analyze_video(video_id)
Show what Tuney sees in a video: picture cuts with their strength, where people speak, and a sonic-logo guess. Optional: score_video analyses the video by itself. Use this to discuss the edit with the user first, for example to pick the turning point or the moment the music should end.
输入模式
{
"type": "object",
"properties": {
"video_id": {
"title": "Video Id",
"type": "string"
}
},
"required": [
"video_id"
],
"title": "analyze_videoArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "analyze_videoDictOutput"
}🟢score_video(video_id, prompt, cue_id, ending, turning_point_seconds, ...)
Compose music to a video and, by default, return the video with the music under it. Tuney finds the picture cuts, speech and sonic logo, then arranges a track to them: the music ends where the logo starts (or at the end), the turning point lands on the strongest cut in the middle, hits land on other strong cuts outside speech, and the music is lowered while people speak in the rendered video. - prompt: describe the music ("upbeat pop for a sneaker ad"); or cue_id: one of the user's tracks. - ending: "fade" lands exactly on the length; "short" ends on a stab. - turning_point_seconds / no_turning_point: override the automatic turning point. - music_end_seconds / logo_start_seconds: where the music must stop (a sonic logo starts). - hits: sound effects on strong cuts; render: also return the scored video. Scoring takes about a minute; if the result says timed_out, call wait_for_task with the task_id and kind="score_video". The result has the track (preview_url), the plan, and the video link when rendered. Previews and renders are free; downloading the track costs credits.
输入模式
{
"type": "object",
"properties": {
"video_id": {
"title": "Video Id",
"type": "string"
},
"prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Prompt"
},
"cue_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Cue Id"
},
"ending": {
"default": "fade",
"enum": [
"fade",
"short"
],
"title": "Ending",
"type": "string"
},
"turning_point_seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Turning Point Seconds"
},
"no_turning_point": {
"default": false,
"title": "No Turning Point",
"type": "boolean"
},
"music_end_seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Music End Seconds"
},
"logo_start_seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Logo Start Seconds"
},
"hits": {
"default": true,
"title": "Hits",
"type": "boolean"
},
"render": {
"default": true,
"title": "Render",
"type": "boolean"
}
},
"required": [
"video_id"
],
"title": "score_videoArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "score_videoDictOutput"
}🟡render_video(video_id, cue_id, duck, music_volume, video_volume)
Put one of the user's tracks under a video, for example after adjust_track changed the scored track. duck lowers the music while people speak. music_volume and video_volume are gains from 0 to 2 (1 leaves the level unchanged). Returns a link to the rendered MP4.
输入模式
{
"type": "object",
"properties": {
"video_id": {
"title": "Video Id",
"type": "string"
},
"cue_id": {
"title": "Cue Id",
"type": "string"
},
"duck": {
"default": true,
"title": "Duck",
"type": "boolean"
},
"music_volume": {
"default": 1,
"title": "Music Volume",
"type": "number"
},
"video_volume": {
"default": 1,
"title": "Video Volume",
"type": "number"
}
},
"required": [
"video_id",
"cue_id"
],
"title": "render_videoArguments"
}输出模式
{
"type": "object",
"additionalProperties": true,
"title": "render_videoDictOutput"
}社区
证据