{
  "serverInfo": {
    "name": "daydream-music",
    "title": "Daydream",
    "version": "0.2.2"
  },
  "description": "Music and sound effects from a description, and a score for a video up to a minute long. Instrumental songs up to two minutes, each with five stems (drums, bass, guitar, keys, other). Royalty-free, for games, videos and ads.",
  "websiteUrl": "https://gen.daydream.live",
  "documentationUrl": "https://gen.daydream.live/docs#mcp",
  "transport": {
    "type": "streamable-http",
    "url": "https://gen.daydream.live/mcp"
  },
  "authentication": {
    "required": true,
    "schemes": [
      "oauth2",
      "bearer"
    ]
  },
  "tools": [
    {
      "name": "create_song",
      "title": "Make a song",
      "description": "Make an original instrumental song from a description: genre, mood, instruments, tempo, what it's for. No sung lyrics: great as a backing track to sing or rap over (ask for room for voice, or mute a lead stem); wordless voice textures used as instruments (choir pads, chants, hums, throat-singing drones) are allowed. Returns it queued; the player in the chat shows it rendering and plays it when it's done (about a minute), with MP3 and WAV downloads and its five stems (drums, bass, guitar, keys, other) as FLAC. Where there's no player, get_song gives those links once it's done. Artist names are not allowed and are removed from prompts before generation: describe the sound instead. Royalty-free, for commercial games and videos. It makes sound effects too, with nothing to switch: a description with no music in it (\"heavy rain on a tin roof\", \"a sword clashing against a metal shield\") comes back as a sound effect, one take up to 30 seconds with MP3 and WAV and no stems, and its kind is \"sfx\". It can follow a chord chart (chords), score a picture (picture), and take a reference track's tempo and key (reference); the prompt is optional with a picture or a plan_id, and needed with a reference (ask the person what the music should be, if they didn't say). To show the person what you'll make first, call plan_song with the same fields, then create_song with its plan_id. For a video the person attached or linked, use score_video, not this tool: pass the video itself, and don't watch it and describe it in a prompt, which makes music that isn't timed to the picture and isn't put on the video.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "maxLength": 400,
            "description": "The music in words, e.g. \"a calm village theme with flute and harp\", or a sound with no music in it for a sound effect, e.g. \"footsteps on gravel\". Optional with a picture or a plan_id."
          },
          "duration": {
            "type": "number",
            "minimum": 2,
            "maximum": 120,
            "description": "Length in seconds (default 120). For a length in bars, send bpm too, and bars × 240 ÷ bpm here: 8 bars at 100 BPM is 19.2."
          },
          "loop": {
            "type": "boolean",
            "description": "A seamless loop, for a game level or a background."
          },
          "bpm": {
            "type": "integer",
            "minimum": 40,
            "maximum": 200,
            "description": "Tempo (40 to 200 BPM; for slower feels under 40, double the BPM with a half-time feel); left out, it's chosen from the prompt."
          },
          "key": {
            "type": "string",
            "description": "A note with sharps and major or minor, like \"C major\" or \"F# minor\"."
          },
          "variations": {
            "type": "integer",
            "enum": [
              1,
              2
            ],
            "description": "How many versions of it to make (default 1). Two count as one song."
          },
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647,
            "description": "Makes the same song again from the same words and settings; left out, a new one each time."
          },
          "like": {
            "type": "string",
            "pattern": "^sng_[0-9A-Za-z]{22}$",
            "description": "The id of one of the person's songs for this one to sit beside (the next theme of a soundtrack, this week's music for a channel): it takes that song's tempo and key, unless bpm or key say otherwise."
          },
          "chords": {
            "type": "string",
            "maxLength": 600,
            "description": "A chord chart the parts follow. Bars, one chord a bar: \"| Am | F | C | G |\" (or \"Am F C G\"), \"%\" to repeat a bar, \"x2\" at the end to play it twice. Or the progression in words: \"a 12-bar blues in A\", \"a ii-V-I in C minor\". It goes round to fill the song's length. Chords are kept as written; the parts play each in its nearest plain form (G7b9 as G7, G13 as G7), and the answer says which. A progression in the prompt's words is read too."
          },
          "picture": {
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string",
                "description": "Where to fetch the image (https, JPEG, PNG, GIF or WebP, at most 5 MB)."
              },
              "file_id": {
                "type": "string"
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url"
            ],
            "description": "A picture to score: the music is made for what it shows (place, light, mood, pace). With no prompt, the picture alone is the brief; with one, the words win where they say something. ChatGPT hands an attached image this way; any other agent sends { download_url }."
          },
          "reference": {
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string",
                "description": "Where to fetch the track (https, MP3, WAV, M4A, FLAC or OGG, at most 25 MB)."
              },
              "file_id": {
                "type": "string"
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url"
            ],
            "description": "A reference track: the song takes its tempo and key (measured from the audio) unless the request or its words name their own. It doesn't copy the track's sound, rhythm or melody, so send a prompt with it: the track gives the tempo and key, the words say what the music is."
          },
          "plan_id": {
            "type": "string",
            "pattern": "^pln_[0-9A-Za-z]{22}$",
            "description": "A plan from plan_song (kept an hour): makes exactly that plan, as shown. Send it alone, with seed or variations if you like."
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "openWorldHint": true,
        "destructiveHint": false
      }
    },
    {
      "name": "get_song",
      "title": "Check a song",
      "description": "Where a song made with create_song stands: its place in line, or, once done, each version's MP3 and WAV links and its five stems' FLAC links (a few seconds after the mix), and any part being made again with redo_stem. A sound effect (kind \"sfx\") has no stems.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^sng_[0-9A-Za-z]{22}$",
            "description": "The song's id from create_song."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false,
        "destructiveHint": false
      }
    },
    {
      "name": "redo_stem",
      "title": "Redo one part",
      "description": "Make one stem of a finished song again (new drums, say), with the other four exactly as they are; the mix becomes the new part with the rest. Counts as one song. Takes about a minute; the player shows it. undo_stem puts the old part back.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^sng_[0-9A-Za-z]{22}$",
            "description": "The song's id."
          },
          "version": {
            "type": "integer",
            "enum": [
              1,
              2
            ],
            "description": "Which version of the song (default 1)."
          },
          "stem": {
            "type": "string",
            "enum": [
              "drums",
              "bass",
              "guitar",
              "keys",
              "other"
            ],
            "description": "The part to make again."
          }
        },
        "required": [
          "id",
          "stem"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "openWorldHint": false,
        "destructiveHint": true
      }
    },
    {
      "name": "undo_stem",
      "title": "Undo the last redo",
      "description": "Put a song's version back to how it was before its last redo_stem: the old part plays again, and the mix with it. Costs nothing. Only the last redo can be undone.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^sng_[0-9A-Za-z]{22}$",
            "description": "The song's id."
          },
          "version": {
            "type": "integer",
            "enum": [
              1,
              2
            ],
            "description": "Which version of the song (default 1)."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "openWorldHint": false,
        "destructiveHint": true
      }
    },
    {
      "name": "list_songs",
      "title": "Your songs",
      "description": "The songs on the person's Daydream account, newest first: each one's id, name, the day it was made, words, length, tempo and how many versions. Songs that didn't render are left out. Use get_song with an id to play one.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "How many (default 10)."
          }
        },
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false,
        "destructiveHint": false
      }
    },
    {
      "name": "get_songs_left",
      "title": "Songs left",
      "description": "How many songs the person has made this month and how many they can make (no limit on some accounts), and when the count starts again.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false,
        "destructiveHint": false
      }
    },
    {
      "name": "score_video",
      "title": "Score a video",
      "description": "Make the sound for a video: music to what happens in it, sound effects for what is seen, or both, as long as the video is. Use this whenever the person attaches or links a video and asks for its music, sound effects or sound: pass the video itself (video for an attached file, video_url for a link) and don't analyze it first, since this tool reads the picture, times the sound to it and puts it on the video. Unless the person already said which, ask them first: music, sound effects, or music and sound effects. A video uses more credits than a song from words (reading it uses credits too, after an account's first video), and both kinds of sound use more than one, so don't make one the person didn't ask for. Returns it queued; the player in the chat shows it being made (a minute or two) and plays the video with its sound when it's done, so don't poll get_song yourself. Where there's no player, call get_song with its id until it's done. Then it gives the audio as MP3 and WAV, and the video with that audio on it as an MP4; no stems. With a seed, the same video, sound, words and seed give back the version already made, without counting again.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "video_url": {
            "type": "string",
            "maxLength": 2000,
            "description": "An https link to the video (MP4, MOV or WebM, up to 1 minute and 200 MB)."
          },
          "video": {
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string",
                "description": "Where to fetch the video (https, MP4, MOV or WebM, up to 1 minute and 200 MB)."
              },
              "file_id": {
                "type": "string"
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url"
            ],
            "description": "A video the person attached, instead of video_url."
          },
          "sound": {
            "type": "string",
            "enum": [
              "music",
              "sound_effects",
              "both"
            ],
            "description": "\"music\" for music to what happens in the video, \"sound_effects\" for the sounds of what is seen, \"both\" for the two together. There is no default: leave it out unless the person said which, and the answer tells you to ask them."
          },
          "prompt": {
            "type": "string",
            "maxLength": 400,
            "description": "What the person said about how it should sound, in their words. Left out, it's made from the picture alone."
          },
          "seed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2147483647,
            "description": "Gives back the same version for the same video, sound and words (a retry that doesn't count again); left out, a new one each time."
          }
        },
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "openWorldHint": true,
        "destructiveHint": false
      }
    },
    {
      "name": "plan_song",
      "title": "Plan a song",
      "description": "How Daydream would make a song, without making it or counting it: the description the model will hear, which of the five parts play, the length, tempo, key and loop, and the chord chart. Show it to the person, change the request if it isn't what they meant, then call create_song with the plan_id to make exactly this plan (it's kept an hour).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "maxLength": 400,
            "description": "The music in words, e.g. \"a calm village theme with flute and harp\", or a sound with no music in it for a sound effect, e.g. \"footsteps on gravel\". Optional with a picture."
          },
          "duration": {
            "type": "number",
            "minimum": 2,
            "maximum": 120,
            "description": "Length in seconds (default 120). For a length in bars, send bpm too, and bars × 240 ÷ bpm here: 8 bars at 100 BPM is 19.2."
          },
          "loop": {
            "type": "boolean",
            "description": "A seamless loop, for a game level or a background."
          },
          "bpm": {
            "type": "integer",
            "minimum": 40,
            "maximum": 200,
            "description": "Tempo (40 to 200 BPM; for slower feels under 40, double the BPM with a half-time feel); left out, it's chosen from the prompt."
          },
          "key": {
            "type": "string",
            "description": "A note with sharps and major or minor, like \"C major\" or \"F# minor\"."
          },
          "chords": {
            "type": "string",
            "maxLength": 600,
            "description": "A chord chart the parts follow. Bars, one chord a bar: \"| Am | F | C | G |\" (or \"Am F C G\"), \"%\" to repeat a bar, \"x2\" at the end to play it twice. Or the progression in words: \"a 12-bar blues in A\", \"a ii-V-I in C minor\". It goes round to fill the song's length. Chords are kept as written; the parts play each in its nearest plain form (G7b9 as G7, G13 as G7), and the answer says which. A progression in the prompt's words is read too."
          },
          "picture": {
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string",
                "description": "Where to fetch the image (https, JPEG, PNG, GIF or WebP, at most 5 MB)."
              },
              "file_id": {
                "type": "string"
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url"
            ],
            "description": "A picture to score: the music is made for what it shows (place, light, mood, pace). With no prompt, the picture alone is the brief; with one, the words win where they say something. ChatGPT hands an attached image this way; any other agent sends { download_url }."
          },
          "reference": {
            "type": "object",
            "properties": {
              "download_url": {
                "type": "string",
                "description": "Where to fetch the track (https, MP3, WAV, M4A, FLAC or OGG, at most 25 MB)."
              },
              "file_id": {
                "type": "string"
              },
              "mime_type": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              }
            },
            "required": [
              "download_url"
            ],
            "description": "A reference track: the song takes its tempo and key (measured from the audio) unless the request or its words name their own. It doesn't copy the track's sound, rhythm or melody, so send a prompt with it: the track gives the tempo and key, the words say what the music is."
          }
        },
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "openWorldHint": true,
        "destructiveHint": false
      }
    }
  ],
  "resources": [
    {
      "uri": "ui://daydream/song-player.html",
      "name": "Song player",
      "mimeType": "text/html;profile=mcp-app"
    }
  ],
  "prompts": []
}