MCP API Access
Connect AI agents to manage your music
Add Sortune to Claude
Connect Claude to your YouTube Music library in a minute: you sign in with Google, with no token to copy.
- 1In Claude, open Customize → Connectors and choose Add custom connector. On a Team or Enterprise plan, an Owner adds it in Organization settings → Connectors → Add → Custom.
- 2Paste this address, then choose Add:
https://sortune.com/api/mcpIn the same dialog, keep Authentication on Sign in now and OAuth client on Use Claude's published identity. On a Team or Enterprise plan, also choose the type Web. - 3Choose Connect, sign in with Google, and choose what Claude may do.
- 4In a chat, turn Sortune on under + → Connectors and ask, for example: “Sort my liked music from this year into playlists by season and genre.”
Works on claude.ai, the desktop app and the mobile apps. On the Free plan Claude allows one custom connector.
Claude Code
Run this in a terminal, then type /mcp in a Claude Code session to sign in. No token needed.
claude mcp add --transport http sortune https://sortune.com/api/mcp
Connected apps
Apps you connected by signing in, such as Claude. Each can use your library with the permissions you gave it, until you disconnect it.
One-click install for Claude Desktop
Download the extension file and double-click it (or drag into Claude Desktop) to install automatically. No config files needed.
After installing, Claude Desktop will ask for your API token. Generate one in the section below.
Endpoint
Connect AI agents to your YouTube Music via MCP protocol.
https://sortune.com/api/mcpAPI Token
Manual setup with a token
Claude Code (CLI)
Run in terminal:
claude mcp add sortune \ --transport http \ https://sortune.com/api/mcp \ --header "Authorization: Bearer YOUR_TOKEN"
Claude Desktop
In Settings → Developer → Edit Config (claude_desktop_config.json):
{
"mcpServers": {
"sortune": {
"url": "https://sortune.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}