Skip to main content
Glama

Spotify Streamable MCP Server

by iceener
wrangler.toml1.7 kB
name = "spotify-mcp-worker" main = "src/worker.ts" compatibility_date = "2025-06-18" workers_dev = true compatibility_flags = ["nodejs_compat"] [vars] # MCP protocol MCP_PROTOCOL_VERSION = "2025-06-18" # Auth flags (RS-only parity with linear) AUTH_ENABLED = "true" AUTH_REQUIRE_RS = "true" # Worker accepts either AUTH_ALLOW_DIRECT_BEARER or AUTH_ALLOW_LINEAR_BEARER; keep this one: AUTH_ALLOW_DIRECT_BEARER = "false" # OAuth (Spotify) SPOTIFY_ACCOUNTS_URL = "https://accounts.spotify.com" OAUTH_AUTHORIZATION_URL = "https://accounts.spotify.com/authorize" OAUTH_TOKEN_URL = "https://accounts.spotify.com/api/token" # Choose scopes as needed OAUTH_SCOPES = "playlist-read-private playlist-read-collaborative playlist-modify-public playlist-modify-private user-read-playback-state user-modify-playback-state user-read-currently-playing user-library-read user-library-modify" # Redirect allowlist (final redirect back to the client) # In dev, you can temporarily set OAUTH_REDIRECT_ALLOW_ALL="true" OAUTH_REDIRECT_ALLOW_ALL = "false" OAUTH_REDIRECT_ALLOWLIST = "alice://oauth/callback,https://claude.ai/api/mcp/auth_callback,https://claude.com/api/mcp/auth_callback,https://spotify-mcp-worker.adam-996.workers.dev/spotify/callback" OAUTH_REDIRECT_URI = "alice://oauth/callback" # PKCE OAUTH_PKCE_SKIP_VERIFY = "false" # Environment NODE_ENV = "development" # DO NOT store secrets in [vars]; set via `wrangler secret put` # SPOTIFY_CLIENT_ID and SPOTIFY_CLIENT_SECRET must be provided as secrets: # wrangler secret put SPOTIFY_CLIENT_ID # wrangler secret put SPOTIFY_CLIENT_SECRET [[kv_namespaces]] binding = "TOKENS" # Replace with your real KV namespace id id = "15814a9d6d2c4f95b8be737a0e550d37"

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/iceener/spotify-streamable-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server