Spotify 모델 컨텍스트 프로토콜(MCP)
설명에 따라 재생목록을 만드는 Spotify MCP입니다.
필수 조건
Python 3.6 이상
Spotify 개발자 자격 증명(클라이언트 ID 및 클라이언트 비밀번호)
설정
이 저장소를 복제하세요:
지엑스피1
필요한 종속성을 설치하세요:
pip install -r requirements.txtSpotify 개발자 자격 증명을 설정하세요.
Spotify 개발자 대시보드 로 이동
새로운 애플리케이션을 만듭니다
환경 변수를 설정하세요.
echo SPOTIFY_CLIENT_ID='your_client_id' >> .env echo SPOTIFY_CLIENT_SECRET='your_client_secret' >> .env
용법
인증 서버 시작
Spotify 개발자 대시보드에서 리디렉션 URI를 설정하세요.
Spotify 개발자 대시보드 에서 앱으로 이동하세요
"설정 편집"을 클릭하세요
Redirect URI에
http://localhost:5000/callback
추가합니다.변경 사항을 저장합니다
인증 서버를 시작합니다.
python main.py이렇게 하면 Spotify OAuth 인증을 처리하는 포트 5000에서 로컬 서버가 시작됩니다.
브라우저에서
http://localhost:5000
방문하여 Spotify에 인증하세요. 인증이 완료되면 MCP에서 사용할 수 있도록 액세스 토큰이 저장됩니다.
커서와 통합
커서를 열고 설정으로 이동하세요
"모델 컨텍스트 프로토콜" 섹션으로 이동하세요.
"MCP 추가"를 클릭하세요
mcp.json에 다음 세부 정보를 입력하고 PATH-TO-BASE-DIR을 대체합니다.
이제 커서에서 Spotify MCP 명령을 사용하여 편집기에서 직접 재생 목록을 만들고 관리할 수 있습니다!
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
OAuth 인증을 통해 커서 편집기를 Spotify API에 연결하여 텍스트 설명을 기반으로 Spotify 재생 목록을 만들 수 있습니다.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityEnables interaction with Spotify's music catalog via the Spotify Web API, supporting searches, artist information retrieval, playlist management, and automatic token handling.Last updated -54714MIT License
- AsecurityFlicenseAqualityA FastMCP tool that enables control of Spotify through natural language commands in Cursor Composer, allowing users to manage playback, search for content, and interact with playlists.Last updated -5
- AsecurityFlicenseAqualityA lightweight Model Context Protocol server that enables AI assistants like Cursor & Claude to control Spotify playback and manage playlists.Last updated -18146
- AsecurityFlicenseAqualityA tool that connects to the Spotify API and enables Claude to access artist information for enhanced music discovery through natural language queries.Last updated -1