# AI assistants

> Let Claude, ChatGPT, Claude Code or another assistant find, play and organize your music.

Page: https://songstress.app/docs/apps/ai-assistants/

An AI assistant can use your music the way you do. Ask it to find a song, tell you what's playing, play an album
on your phone, make a playlist, like a song or read you the lyrics. Songstress works with Claude (on the web, the
desktop app and the phones), ChatGPT, Claude Code, and any other app that speaks the Model Context Protocol (MCP).

An assistant only ever acts as you. It sees your own playlists, likes, ratings, listening and devices, never
anyone else's, and it can only do what you could do in the app.

## Before you start [#before-you-start]

- **Your admin decides who can use assistants.** Once they let you, **MCP** shows in the sidebar (in Settings on the
  phones). If the **MCP** page says "Your server's admin controls whether you can use AI assistants", ask them to
  turn it on for you.
- **Find your server's address** at the top of **Connect an assistant** on the **MCP** page. It ends in `/mcp`,
  like `https://music.example.com/mcp`.

## Connect your assistant [#connect-your-assistant]

Your server's address ends in `/mcp`. The **MCP** page shows it, with each assistant beside its logo and the steps
below for the one you pick, the address already in them.

- **Chat apps,** like Claude and ChatGPT, connect from their makers' servers. They need your server's public
  `https://` address on port 443, and they sign in on a Songstress page where you choose **Allow**. While your server
  has no such address, the **MCP** page leaves them out and says why. An admin sets that address in
  **Manage ▸ Server ▸ Access** (**Settings ▸ Server** on the phones).
- **Apps on your computer,** like Claude Code, Cursor and VS Code, reach any address your computer does, `http://`
  on your home network included. They use a personal token, made with **New Token** on the **MCP** page. Most of them can
  sign in instead when the address is `https://`.
- Making a token shows the setup for the assistant you pick, with the token already in it. Copy it from there.

### Chat apps

#### Claude

_Connects from its maker's servers: it needs your server's public https:// address on port 443._

1. In Claude on the web or the desktop app, open Customize, then Connectors, and choose Add, then Add custom connector.
2. Name it Songstress and paste https://music.example.com/mcp.
3. If Claude asks how to sign in, choose Register automatically. Choose Add, then Connect.
4. On the Songstress page that opens, choose Allow.

Once added, it works in Claude on the web, the desktop app and the phone apps. A free plan can add one custom connector. On Team and Enterprise plans an owner adds it first, in Organization settings, Connectors; then each person connects.

[Claude's own guide](https://support.claude.com/en/articles/11175166)

#### ChatGPT

_Connects from its maker's servers: it needs your server's public https:// address on port 443._

1. On chatgpt.com, open Plugins, choose the plus button, then Add custom MCP server.
2. Name it Songstress and paste https://music.example.com/mcp as its address.
3. Choose OAuth to sign in, tick I understand and want to continue, and choose Create as a plugin.
4. On the Songstress page that opens, choose Allow.

Business, Enterprise and Edu plans can use every tool; Pro can only look things up. Custom servers are added on the web.

[ChatGPT's own guide](https://help.openai.com/en/articles/12584461)

### Coding tools

#### Claude Code

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. Run the command below in a terminal.
3. In Claude Code, run /mcp to see Songstress connected.

In a terminal:

```shell
claude mcp add --transport http songstress https://music.example.com/mcp --header "Authorization: Bearer <your token>"
```

Claude Code runs on your computer, so the address on your home network works too. On an https address you can leave out the header and sign in from /mcp instead.

[Claude Code's own guide](https://code.claude.com/docs/en/mcp)

#### Cursor

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. Add Songstress to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project, as below.

~/.cursor/mcp.json:

```json
{
  "mcpServers": {
    "songstress": {
      "url": "https://music.example.com/mcp",
      "headers": {
        "Authorization": "Bearer <your token>"
      }
    }
  }
}
```

On an https address Cursor can sign in instead: leave out "headers".

On the web, the **MCP** page has **Add to Cursor**, which adds Songstress to it in one click.

[Cursor's own guide](https://cursor.com/docs/context/mcp)

#### VS Code

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. Run the command below in a terminal. It adds Songstress to VS Code for you, not to one project, and GitHub Copilot uses it in agent mode.

In a terminal:

```shell
code --add-mcp '{"name":"songstress","type":"http","url":"https://music.example.com/mcp","headers":{"Authorization":"Bearer <your token>"}}'
```

Or add it to .vscode/mcp.json, under "servers", with "type": "http". On an https address VS Code can sign in instead: leave out "headers".

On the web, the **MCP** page has **Add to VS Code**, which adds Songstress to it in one click.

[VS Code's own guide](https://code.visualstudio.com/docs/agents/reference/mcp-configuration)

#### Codex

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. Add this to ~/.codex/config.toml.

~/.codex/config.toml:

```toml
[mcp_servers.songstress]
url = "https://music.example.com/mcp"
http_headers = { "Authorization" = "Bearer <your token>" }
```

The Codex CLI, its editor extension and the ChatGPT desktop app read the same file. On an https address Codex can sign in instead: leave out http_headers and run codex mcp login songstress.

[Codex's own guide](https://learn.chatgpt.com/docs/extend/mcp)

#### Gemini CLI

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. Run the command below in a terminal.
3. In Gemini CLI, run /mcp to see Songstress connected.

In a terminal:

```shell
gemini mcp add --scope user --transport http --header "Authorization: Bearer <your token>" songstress https://music.example.com/mcp
```

It goes in ~/.gemini/settings.json, the address under httpUrl. On an https address Gemini CLI can sign in instead: leave out the header and run /mcp auth songstress.

[Gemini CLI's own guide](https://geminicli.com/docs/tools/mcp-server/)

#### Windsurf (Devin Desktop)

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. Add this to ~/.config/devin/mcp_config.json.

~/.config/devin/mcp_config.json:

```json
{
  "mcpServers": {
    "songstress": {
      "url": "https://music.example.com/mcp",
      "headers": {
        "Authorization": "Bearer <your token>"
      },
      "transport": "http"
    }
  }
}
```

Windsurf is now Devin Desktop. Before the new name, the file was ~/.codeium/windsurf/mcp_config.json, with the address under serverUrl.

[Windsurf (Devin Desktop)'s own guide](https://docs.devin.ai/desktop/cascade/mcp)

#### Zed

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. In Zed, open Settings, AI, MCP Servers, choose Add Server, then Add Remote Server, or add this to its settings file.

Zed’s settings.json:

```json
{
  "context_servers": {
    "songstress": {
      "url": "https://music.example.com/mcp",
      "headers": {
        "Authorization": "Bearer <your token>"
      }
    }
  }
}
```

On an https address Zed can sign in instead: leave out "headers".

[Zed's own guide](https://zed.dev/docs/ai/mcp)

#### Cline

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. In Cline, open MCP Servers, then Configure, and add this to its settings.

Cline’s MCP settings:

```json
{
  "mcpServers": {
    "songstress": {
      "type": "streamableHttp",
      "url": "https://music.example.com/mcp",
      "headers": {
        "Authorization": "Bearer <your token>"
      }
    }
  }
}
```

[Cline's own guide](https://docs.cline.bot/mcp/connecting-to-a-remote-server)

#### Warp

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. In Warp, open Settings, Agents, MCP servers, choose Add, then Streamable HTTP or SSE Server (URL), and paste this.

Warp’s MCP server:

```json
{
  "songstress": {
    "url": "https://music.example.com/mcp",
    "headers": {
      "Authorization": "Bearer <your token>"
    }
  }
}
```

[Warp's own guide](https://docs.warp.dev/agents/capabilities/mcp)

#### LM Studio

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page.
2. In LM Studio 0.3.17 or later, open the Program tab, choose Install, then Edit mcp.json, and add this.

LM Studio’s mcp.json:

```json
{
  "mcpServers": {
    "songstress": {
      "url": "https://music.example.com/mcp",
      "headers": {
        "Authorization": "Bearer <your token>"
      }
    }
  }
}
```

LM Studio runs its models on your computer, so the address on your home network works.

[LM Studio's own guide](https://lmstudio.ai/docs/app/mcp)

### Others

#### Claude Desktop on your home network

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Make a personal token: New Token, on Songstress’s MCP page. The computer needs Node.js.
2. In Claude Desktop, open Settings, Developer, Edit Config, and add this to the file.
3. Quit Claude Desktop and open it again.

claude_desktop_config.json:

```json
{
  "mcpServers": {
    "songstress": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://music.example.com/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer <your token>"
      }
    }
  }
}
```

For a server with no public https address: the mcp-remote bridge runs on your computer and reaches Songstress on your network. With a public https address, add it as a connector instead (Claude, above).

[Claude Desktop on your home network's own guide](https://github.com/geelen/mcp-remote)

#### Any other app

_Runs on your computer: any address your computer reaches works, http:// on your home network too, with a personal token._

1. Give it https://music.example.com/mcp.
2. If it signs in with OAuth, it registers itself and opens the Songstress page, where you choose Allow.
3. If it takes a header instead, make a personal token and send it as Authorization: Bearer, then the token.

An app that connects from its maker’s servers needs a public https address on the standard port; an app on your computer works with the address on your home network too.

[Any other app's own guide](https://modelcontextprotocol.io/clients)

## What an assistant can do [#what-an-assistant-can-do]

What an assistant can do comes in four groups. You choose them when you connect it or make a token. Your admin can
turn off any group but the first, for everyone.

**Look up your music, playlists, listening and lyrics.** Always on.

- `search` finds songs, albums, artists and playlists in the library.
- `get_album`, `get_artist` and `get_playlist` show what's in each.
- `list_playlists` lists your playlists, then the shared and public ones.
- `now_playing` says what's playing on your devices, and what comes next.
- `recently_played` lists what you played lately.
- `list_devices` lists your devices with Songstress open.
- `get_lyrics` reads a song's lyrics, when the library has them.
- `listening_stats` gives your minutes, plays, streak and top songs, artists and albums, for the last week, month,
  year or all time.
- `recommend` finds songs in the library like a song or an artist.
- `list_follows` lists the artists you follow, and what each has brought in.
- `library_requests` lists what you asked the server to add and where each stands: waiting, under way, in the
  library, or not found. Ask "did it get it?" and the assistant can tell you.

**Play, pause and skip music on your devices.**

- `play` plays a song, an album, a playlist, or a radio from a song or an artist, on one of your devices.
- `control_playback` pauses, resumes, skips ahead and goes back.
- `queue` adds songs to play next or last.

**Change your playlists, likes and ratings.**

- `create_playlist`, `add_to_playlist` and `remove_from_playlist` work on your own playlists only.
- `like` likes or unlikes songs, albums and artists.
- `rate` gives 1 to 5 stars, or clears a rating.

**Add music to the library, import playlists and follow artists.**

- `search_catalogs` searches the music catalogues your server knows (Spotify, Apple Music, Deezer and others,
  and your extensions' sources) for songs, albums and artists the library doesn't have yet.
- `add_to_library` adds a song, an album or an artist from those results, as **Add to Library** does in the
  app, or a song by its title and artist. It counts toward the server's daily limit, as adding in the app does.
  `request_song` does the same for a song, for assistants that know it by that name.
- `import_playlist` imports a playlist from its Spotify, Apple Music or YouTube Music link, as the app's import
  does: it becomes one of your playlists, and the songs the library doesn't have are fetched.
- `follow_artist` follows an artist for you, as the app's Follow does: the server brings their music into the
  library, then each new release as it comes out. Given a playlist of yours, it follows the artists of its songs,
  and of songs added later, never its suggestions.
- `unfollow_artist` stops following an artist, or a playlist's artists as songs are added. Nothing already in the
  library is removed.

Your music never stops by surprise. Only `play` and `control_playback` change what's playing, and only because you
asked. Adding to the queue never interrupts the song that's playing. Every tool says whether it only reads or
changes something, so your assistant can check with you before it changes anything.

To play on a device, Songstress has to be open there, with **Allow remote control** on in **Settings ▸ This
device**. With several open, tell the assistant which one: "on the living room Mac".

## Your connections and tokens [#your-connections-and-tokens]

The **MCP** page counts and lists every assistant you connected (**Signed in**) and every personal token you made
(**Personal tokens**), with what each can do and when it was last used. Search finds one by name.

- **Disconnect** an assistant to stop it using your music at once. Connecting it again signs it in afresh.
- **Revoke** a token to sign out whatever uses it. A token also runs out by itself after 30 days, 90 days or a
  year, as you chose.
- A connection nobody uses for 30 days ends by itself.

What an assistant changes shows in **Activity** under your name, with the assistant it went through: "Added 3 songs
to Late Night · via Claude". Connecting and disconnecting show there too.

Changing your password doesn't disconnect your assistants or revoke your tokens. If you think someone else used your
account, change your password, then disconnect every assistant and revoke every token here.

## If it doesn't work [#if-it-doesnt-work]

- **Claude or ChatGPT can't connect.** The address must be a public `https://` one on port 443. To check it, open
  `https://your-address/.well-known/oauth-protected-resource/mcp` on a phone using mobile data. You should see a
  short JSON answer.
- **"Your server's admin controls whether you can use AI assistants".** Your admin hasn't turned it on for you.
- **A personal token stopped working.** It ran out or was revoked. Make a new one.
- **"None of your devices is open right now".** Open Songstress on the device you want, with remote control on.
- **Claude Code won't sign in over `http://`.** Use a personal token on a home network address.
- **A Songstress page says "The assistant asked to sign in in a way this server doesn't accept".** The assistant's
  sign-in request lacks something Songstress needs, so Songstress stopped on its own page rather than send you to
  an address it can't vouch for. Start again from the assistant. If it keeps happening, use a personal token, if
  the assistant can send one.

For admins: [AI assistants on your server](/docs/admin/mcp/).
