mirror of
https://github.com/varunneal/spotify-mcp.git
synced 2026-04-26 13:15:50 +03:00
[PR #40] Add user music preference endpoints and fix scope configuration #42
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-mcp-varunneal#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/varunneal/spotify-mcp/pull/40
Author: @bbrewington
Created: 8/29/2025
Status: 🔄 Open
Base:
main← Head:main📝 Commits (2)
7fbc56fadd endpoints to get user's played/followed/top/saved9229d76define "scope" from global var SCOPES📊 Changes
2 files changed (+226 additions, -1 deletions)
View changed files
📝
src/spotify_mcp/server.py(+91 -0)📝
src/spotify_mcp/spotify_api.py(+135 -1)📄 Description
Changes Made
Added the following tool execution requests in
server.py:RecentlyPlayed: Get recently played tracks with timestamps and play contextFollowedArtists: Get artists that the user followsTopContent: Get user's top artists or tracks over different time periodsSavedTracks: Get user's saved (liked) tracks with metadataPreviously, the scopes were defined as a global variable, then re-defined as a comma-delimited string. I made a change so that the class variable
scopesis now defined from global varSCOPESFor some context, here's what I was working on at time of creating this PR: https://www.linkedin.com/posts/brentbrewington_fun-weeknight-project-playing-around-with-activity-7367015211037380610-jF5b
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.