OpenAI
Codex
Add the remote server, then let Codex open Raygum in your browser. The CLI, IDE extension, and desktop app share the connection.
codex mcp add raygum --url https://mcp.raygum.com
codex mcp login raygumModel Context Protocol
Search artists, inspect releases, follow musical threads, work through your Listen List, rate records, keep notes, and manage playlists without leaving Codex, Claude Code, or another MCP client.
Streamable HTTP endpoint
https://mcp.raygum.comCreate a named, read-only key in AI & API Access. Copy the secret when it appears and save it in your integration's secret configuration. You can revoke a key from the same settings page.
The Sources rollout uses your catalogue key for the new Sources interfaces, Music catalogue calls at the existing MCP endpoint, and Pokémon TCG set and card routes. Configure the bearer header in each client.
Authorization: Bearer <catalogue-key>[mcp_servers.raygum_music]
url = "https://mcp.raygum.com"
bearer_token_env_var = "RAYGUM_CATALOGUE_KEY"[mcp_servers.raygum_sources]
url = "https://mcp.raygum.com/sources/v1"
bearer_token_env_var = "RAYGUM_CATALOGUE_KEY"Access
Catalogue key
Search music, inspect tracklists and get recommendations through your catalogue connection.
OAuth 2.1
Sign in to Raygum, approve the client, then work with your Listen List, ratings, notes, private playlists, and playlist changes. No token copying required.
You stay in control.
Raygum never shares your password. Review permissions before connecting and revoke any client later from Settings.
Connect
OpenAI
Add the remote server, then let Codex open Raygum in your browser. The CLI, IDE extension, and desktop app share the connection.
codex mcp add raygum --url https://mcp.raygum.com
codex mcp login raygumAnthropic
Add the HTTP server at its root URL and choose Raygum's authentication action when prompted.
claude mcp add --transport http --scope user raygum https://mcp.raygum.comHosted connector
Go to Customize → Connectors, choose Add custom connector, and enter the endpoint. Choose Connect or Authenticate to grant personal-library access.
Streamable HTTP
Some clients call this transport http. Add the endpoint; clients that implement MCP authorization discover OAuth automatically.
{
"mcpServers": {
"raygum": {
"type": "streamable-http",
"url": "https://mcp.raygum.com"
}
}
}Manual fallback
Create a personal token in Settings for account operations, store it in an environment variable, and send it as a bearer token.
export RAYGUM_MCP_TOKEN='rg_mcp_your_token_here'[mcp_servers.raygum]
url = "https://mcp.raygum.com"
bearer_token_env_var = "RAYGUM_MCP_TOKEN"Try it
“Search Raygum for albums by Radiohead.”
“Show me the tracklist and genres for OK Computer.”
“Find releases similar to Kid A.”
“Recommend five jazz releases from the catalogue.”
“What is on my Listen List?”
Sign-in required“Rate Dummy by Portishead five stars.”
Sign-in required“Save this thought as my note on Dummy.”
Sign-in required“Create a private playlist called Late Night.”
Sign-in required“Add these tracks to my Late Night playlist.”
Sign-in requiredTools
Music and playlist tools
Search albums, EPs, and singles by title or artist.
Search artists by name.
Search tracks by title or artist.
Get release metadata, genres, artwork, and the full tracklist.
Get an artist biography, genres, artwork, and discography.
Read a public playlist, or a private playlist you own.
Find releases with related genres and characteristics.
Get catalogue recommendations, optionally by genre.
9 personal tools
List releases waiting on your Listen List.
Save a release to hear later.
Remove a release from your Listen List.
List your recent whole-star release ratings.
Set a release rating from one to five stars.
Remove a rating without deleting its note.
List your published notes and private drafts.
Create or update a Markdown note, optionally with a rating.
Delete a note without removing its release rating.
6 personal tools
Create a playlist in your Raygum account.
Change a playlist title, description, or visibility.
Add one or more Raygum tracks to a playlist.
Remove tracks from one of your playlists.
Delete a playlist you own.
List playlists owned by your account.
Resources
Browse a catalogue guide, release, artist, and playlist URI templates, plus signed-in snapshots of your Listen List, ratings, and notes.
Prompts
Discover music, explore a release, work through your Listen List, or capture a rating and note with deliberate confirmation before changes.
Completions
Compatible clients can complete genres, releases, artists, and your playlist IDs as you fill prompt and resource arguments.
Reference
Rate limits
The Sources rollout applies a 100-request-per-minute quota per catalogue key across REST and MCP. Account and playlist limits apply to their respective connections.
| Operation | Per minute |
|---|---|
| Search | 100 |
| Entity retrieval | 200 |
| Recommendations | 30 |
| Listen List, rating, and note changes | 30 |
| Playlist changes | 20 |
Access safety
Troubleshooting
Open your client's MCP settings and authenticate Raygum again. In Codex, run codex mcp login raygum. If you disconnected the client in Raygum Settings, a fresh approval is required.
Check tool discovery
This command asks the original endpoint to list its tool names and schemas.
npx -y @modelcontextprotocol/inspector@latest --cli \
https://mcp.raygum.com --transport http --method tools/listStill stuck?
Send the client name and connection error—never your token.