SoundCloud MCP Server
Provides tools for searching and discovering tracks, playlists, users; managing library (likes, playlists); social actions (follow, like, comment); playlist management; and messaging via the SoundCloud API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SoundCloud MCP Serversearch for lofi hip-hop tracks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SoundCloud MCP Server
An MCP server that gives an assistant access to the SoundCloud API — search and discovery, your library, playlist management, social actions, and messaging.
Runs locally over stdio. Public search works with app credentials alone; personal data and writes require a one-time browser login that persists and auto-refreshes its token.
Setup
Install dependencies:
npm installCreate a SoundCloud app at https://soundcloud.com/you/apps and note the Client ID and Client Secret. Set the app's Redirect URI to match your
.env(defaulthttp://localhost:8888/callback).Copy the example env and fill it in:
cp .env.example .envBuild:
npm run build
Related MCP server: Spotify MCP Server
Authenticate (one time, for personal data)
npm run authThis opens your browser, captures the OAuth callback automatically, and saves
tokens to ~/.soundcloud-mcp/tokens.json (mode 600). The token auto-refreshes,
so you normally only do this once. Use npm run auth --no-browser to print the
URL instead of opening it.
You can also log in from within a client by calling the connect_soundcloud
tool, and check state with auth_status.
Run
npm startOr point your MCP client at build/index.js and pass credentials via the
client's env block (no .env needed):
{
"mcpServers": {
"soundcloud": {
"command": "node",
"args": ["/absolute/path/to/soundcloud-mcp/build/index.js"],
"env": {
"SOUNDCLOUD_CLIENT_ID": "...",
"SOUNDCLOUD_CLIENT_SECRET": "...",
"SOUNDCLOUD_REDIRECT_URI": "http://localhost:8888/callback"
}
}
}
}The npm scripts load a local .env natively via Node's --env-file-if-exists
(no dotenv dependency). Requires Node 22+.
Tools
Auth:
connect_soundcloud,auth_status,sign_outDiscovery:
search_tracks,search_playlists,search_users,get_track,get_user,get_playlist,get_related_tracks,get_stream_url,get_commentsLibrary (login):
get_profile,get_likes,get_playlists,get_recommended_tracksSocial (login):
like_track,unlike_track,follow_user,unfollow_user,add_commentPlaylists (login):
create_playlist,update_playlist,add_tracks_to_playlist,remove_track_from_playlist,delete_playlistMessaging (login):
get_conversations,get_conversation,get_messages,send_message,start_conversation,mark_conversation_read
Environment variables
Variable | Required | Description |
| yes | App client ID |
| yes | App client secret |
| yes | Must match the app's redirect URI exactly (default |
| no | Token storage path (default |
| no | Set |
Architecture
config.ts— env + constantstokenStore.ts— persists/refreshes user tokens on diskoauth.ts— OAuth flows (PKCE auth-code, client-credentials, refresh) + browser loginapi.ts— SoundCloud API client, fed an async token providertools.ts—registerAll(server, api): all tools/prompts/resources, transport-agnosticindex.ts— stdio entrypointauth.ts— one-time login CLI
Tool registration is decoupled from the stdio transport, so a future remote
(Streamable HTTP) entrypoint can reuse registerAll without changes.
MCP conventions
Built against the MCP 2025-06-18 spec: tools carry title + behavior
annotations (readOnlyHint/destructiveHint/idempotentHint/openWorldHint),
read tools return structuredContent alongside text, and track/playlist tools
emit resource_link blocks (permalink, artwork, audio stream) so clients can render them.
OAuth is handled locally per the spec's guidance that stdio servers take
credentials from the environment rather than the transport-level OAuth flow
(which is reserved for the future remote HTTP mode).
Notes
Unofficial integration, not affiliated with SoundCloud. Use within the
SoundCloud API Terms of Use.
The legacy /charts endpoint is no longer served by the public API and has been removed.
Maintenance
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jamiew/soundcloud-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server