Reference
Authentication
Create, use and revoke MemoTune API keys. Keys never expire, are sent as a Bearer token and can be deleted at any time.
The MemoTune MCP server authenticates every request with a personal API key. The key acts as your account: songs it creates are saved to your library and paid for with your credits.
Create a key
- Sign in and open Settings → API Keys.
- Select Create API key and name it after the app or device that will use it.
- Copy the key right away. The full key is shown only once; MemoTune stores only a fingerprint of it and can't show it again.
Keys start with mt_. You can have up to 10 keys at a time. Use a separate key for each app or device so you can revoke one without touching the others.
Send the key
Put the key in the Authorization header of every request:
Authorization: Bearer mt_YOUR_API_KEYMCP clients add this header for you once it is in their configuration; see Client setup. Cookies and browser sessions are not used, and OAuth sign-in is not supported.
Key lifetime
- Keys don't expire. A key keeps working until you delete it.
- Deleting a key revokes it immediately. Clients using it start receiving 401 errors on their next request.
- The settings page shows when each key was created and roughly when it was last used, so you can spot keys that are no longer needed.
- If your account is suspended, all of its keys stop working.
What a key can do
A key can use all three tools for its own account:
create_songspends credits.get_songsreads your songs.get_accountreads your balance and plan.
A key can't change your password, payment details, subscription or other API keys, and it can't read anyone else's songs.
Keep keys safe
- Treat a key like a password. Anyone who has it can spend your credits.
- Prefer environment variables or your client's secure prompt over pasting the key into files that are shared or committed to version control.
- If a key may have leaked, delete it in Settings → API Keys and create a new one.
