Skip to content

Getting started

Quickstart

Create a MemoTune API key, connect an MCP client and generate your first AI song in about five minutes.

This guide connects an MCP client to MemoTune and creates your first song. You need a MemoTune account with enough credits for one song.

1. Create an API key

  1. Sign in and open Settings → API Keys.
  2. Select Create API key and give it a name you will recognize, such as "Claude Code on my laptop".
  3. Copy the key. It starts with mt_ and is shown only once.

The key works until you delete it. Anyone who has it can spend your credits, so keep it out of shared files and screenshots.

2. Add the server to your client

For Claude Code, run this in a terminal (replace YOUR_API_KEY):

bash
claude mcp add --transport http memotune https://memotune.com/api/mcp --header "Authorization: Bearer YOUR_API_KEY"

Most other clients accept a JSON entry like this one:

json
{
  "mcpServers": {
    "memotune": {
      "type": "http",
      "url": "https://memotune.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Client setup has exact steps for Claude Code, Cursor, Codex and VS Code, including how to keep the key in an environment variable.

3. Check the connection

Ask your assistant:

Use MemoTune to check my account.

It should call get_account and report your credit balance and plan. This step costs nothing. If the client reports a 401 error, the key is missing, mistyped or deleted; see Errors and limits.

4. Create a song

Try a prompt like:

Use MemoTune to make an upbeat indie pop song about a road trip with old friends. Tell me when it is ready and give me the links.

The assistant calls create_song with a description, waits, then calls get_songs with the returned id until the status is completed. A song usually takes one to three minutes. The result includes two versions, each with a title, duration, cover image and a songUrl you can open in the browser.

To use your own words instead, give the assistant your lyrics, a style and a title:

Use MemoTune to turn these lyrics into a slow soul ballad called "Porch Light". [paste lyrics]

Covers and photos work the same way:

Use MemoTune to cover my latest song as a smoky jazz instrumental.

Use MemoTune to turn this photo into a warm folk song: https://example.com/photos/lake-trip.jpg

For a cover, the assistant first calls get_songs to find the song id. Photos and audio files must be public https:// links.

5. Find your songs later

Ask for "my latest MemoTune songs" and the assistant calls get_songs without an id. Your songs also appear in My Songs on the website, where you can edit, extend, download and share them.

Next steps