feat: add Spotify Web API MCP connector with OAuth2 and comprehensive music tools#161
Open
MarsZDF wants to merge 1 commit intoStackOneHQ:mainfrom
Open
feat: add Spotify Web API MCP connector with OAuth2 and comprehensive music tools#161MarsZDF wants to merge 1 commit intoStackOneHQ:mainfrom
MarsZDF wants to merge 1 commit intoStackOneHQ:mainfrom
Conversation
… music tools - Add complete Spotify connector with 12 essential tools covering search, user data, and playback - Support OAuth2 Authorization Code flow with automatic token refresh - Include comprehensive TypeScript interfaces for all Spotify API responses - Add robust error handling and rate limiting awareness - Implement 21 comprehensive tests with MSW mocking (100% passing) - Support market-specific content, pagination, and device targeting - Follow repository patterns for OAuth2 and connector architecture Tools included: - SEARCH_TRACKS, SEARCH_ARTISTS, SEARCH_ALBUMS, SEARCH_PLAYLISTS - GET_USER_PROFILE, GET_USER_PLAYLISTS, GET_USER_SAVED_TRACKS - GET_CURRENT_PLAYING - PAUSE_PLAYBACK, RESUME_PLAYBACK, SKIP_TO_NEXT, SKIP_TO_PREVIOUS 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Key Features
Tools Included
SEARCH_TRACKS- Advanced track search with market and filter supportSEARCH_ARTISTS- Artist discovery and searchSEARCH_ALBUMS- Album search and discoverySEARCH_PLAYLISTS- Public playlist searchGET_USER_PROFILE- User account information and statisticsGET_USER_PLAYLISTS- User's personal and collaborative playlistsGET_USER_SAVED_TRACKS- User's liked/saved tracksGET_CURRENT_PLAYING- Real-time playback informationPAUSE_PLAYBACK- Pause current playbackRESUME_PLAYBACK- Resume/start playbackSKIP_TO_NEXT- Skip to next trackSKIP_TO_PREVIOUS- Skip to previous trackTechnical Implementation
OAuth2 Scopes Required
user-read-private- Access user profileuser-read-email- Access user emailuser-library-read- Access saved tracksplaylist-read-private- Access private playlistsplaylist-read-collaborative- Access collaborative playlistsuser-read-currently-playing- Access current playbackuser-read-playback-state- Access playback stateuser-modify-playback-state- Control playbackTest Plan
Usage Examples
🤖 Generated with Claude Code
Summary by cubic
Add a production-ready Spotify Web API MCP connector with OAuth2 (Authorization Code + refresh). It provides search, user library, and playback tools, with strong typing and thorough tests.
New Features
Migration