MCP.so
ログイン

MCP_Server_Spotify

@Hashim9184

MCP_Server_Spotify について

概要はまだありません

基本情報

カテゴリ

メディアとデザイン

ライセンス

MIT

ランタイム

python

トランスポート

stdio

公開者

Hashim9184

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "MCP_Server_Spotify": {
      "command": "python",
      "args": [
        "authenticate_spotify.py"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP_Server_Spotify?

MCP_Server_Spotify is a Message Control Protocol (MCP) server that enables Claude Desktop to control Spotify playback through natural language commands. It is designed for users with a Spotify Premium account and a Spotify Developer account who want to manage their music using conversational AI.

How to use MCP_Server_Spotify?

Clone the repository, install Python dependencies, create a .env file with your Spotify Client ID and Client Secret, and run python authenticate_spotify.py to complete authentication. Then start the server with python run_spotify_server.py and copy the claude_mcp_config.json to Claude Desktop’s MCP configuration directory. After restarting Claude Desktop, use commands like “Play Bohemian Rhapsody on Spotify,” “Pause the music,” or “Skip to next track.”

Key features of MCP_Server_Spotify

  • Control Spotify playback (play, pause, next, previous)
  • Search for tracks
  • Get current track information
  • Automatic token refresh
  • Robust error handling and logging
  • Easy authentication process

Use cases of MCP_Server_Spotify

  • Play a specific song by name using natural language.
  • Pause or resume music hands-free while working.
  • Skip to the next or previous track without switching apps.
  • Ask “What song is currently playing?” to see track details.
  • Integrate Spotify control into a Claude-powered workflow.

FAQ from MCP_Server_Spotify

What are the prerequisites for MCP_Server_Spotify?

Python 3.7 or higher, a Spotify Premium account, a Spotify Developer account, and Claude Desktop.

How do I authenticate with Spotify?

Run python authenticate_spotify.py and follow the prompts to complete the OAuth flow.

Where can I find server logs?

Log files are generated in the project directory: spotify_mcp_server.log (main logs), server_output.log (stdout/stderr), and wrapper_error.log (wrapper script errors).

How can I test that the server is working?

Execute python test_spotify_server.py to run the test script included in the repository.

What license does MCP_Server_Spotify use?

This project is licensed under the MIT License.

コメント

「メディアとデザイン」の他のコンテンツ