Skip to main content
Glama
Amazon Music MCP Server

Amazon Music MCP Server

by mk-8

Amazon Music MCP Server

Control Amazon Music playback through Claude Desktop using the Model Context Protocol.

Features

  • ▢️ Play/Pause current track

  • ⏭️ Skip to next track

  • πŸ” Search and play songs, artists, or albums

  • 🎡 Works with any Amazon Music subscription

Related MCP server: Browser Agent MCP

Prerequisites

  • Python 3.10 or higher

  • Google Chrome browser

  • Amazon Music account

  • Claude Desktop app

Installation

1. Install via pip (coming soon)

pip install amazon-music-mcp

2. Manual Installation

# Clone the repository
git clone https://github.com/mk-8/amazon-music-mcp.git
cd amazon-music-mcp

# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install dependencies
pip install -e .

Setup

1. Configure Claude Desktop

Add this to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "amazon-music": {
      "command": "python",
      "args": ["-m", "amazon_music_mcp"]
    }
  }
}

Or if using manual installation:

{
  "mcpServers": {
    "amazon-music": {
      "command": "/path/to/your/.venv/bin/python",
      "args": ["/path/to/amazon-music-mcp/server.py"]
    }
  }
}

2. Start Chrome with Remote Debugging

macOS/Linux:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
  --remote-debugging-port=9222 \
  https://music.amazon.com &

Windows:

"C:\Program Files\Google\Chrome\Application\chrome.exe" ^
  --remote-debugging-port=9222 ^
  https://music.amazon.com

3. Restart Claude Desktop

Completely quit and restart Claude Desktop for changes to take effect.

Usage

Once configured, you can ask Claude to control your music:

  • "Play the current track"

  • "Pause the music"

  • "Skip to the next track"

  • "Search for and play Bohemian Rhapsody"

  • "Play songs by Taylor Swift"

Available Commands

Command

Description

play

Resume playback

pause

Pause current track

next_track

Skip to next song

search_and_play

Search and play by artist, song, or album

Troubleshooting

Chrome Connection Issues

Make sure Chrome is running with remote debugging:

# Check if port 9222 is in use
lsof -i :9222  # macOS/Linux
netstat -ano | findstr :9222  # Windows

Server Not Appearing in Claude

  1. Verify the config file path is correct

  2. Check that Python path points to correct interpreter

  3. Restart Claude Desktop completely

  4. Check Claude Desktop logs for errors

Playwright/Browser Errors

  • Ensure you're logged into Amazon Music

  • Keep the Chrome window open

  • Don't close the Amazon Music tab

Development

Running Tests

python3 test_server.py

Project Structure

amazon-music-mcp/
β”œβ”€β”€ amazon_music_mcp/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ __main__.py
β”‚   β”œβ”€β”€ server.py
β”‚   └── music.py
β”œβ”€β”€ pyproject.toml
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ .gitignore

How It Works

  1. MCP server connects to Chrome via Chrome DevTools Protocol (CDP)

  2. Playwright automates the Amazon Music web interface

  3. Claude Desktop communicates with the server via MCP protocol

  4. Commands are translated to browser automation actions

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE file for details

Support

Roadmap

  • PyPI package publication

  • Volume control

  • Playlist management

  • Current song information

  • Queue management

  • Support for Spotify, YouTube Music

  • Windows/Linux testing

Author

Meet Kavathiya - @meetkavathiya

Acknowledgments

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    • Spotify MCP server for ChatGPT, Claude and any AI agent: search songs and artists, list playlists, read playlist songs, create playlist, add songs to playlist, remove songs from playlist, set playlist public or private and save to Liked Songs in your own Spotify account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Spotify yourself; Cotlet does not store your password and you need no Spotify API key. About the official Spotify API: Spotify has a full Web API and, since 23 Apr 2026, an official connector for Claude (checked 5 Nov 2026). The API needs an app you register, and in development mode the app owner must have Premium and the app allows 5 users; unlimited users need a registered business with at least 250,000 monthly users. Setup and FAQ: https://cotlet.dev/integrations/spotify-api-mcp-server

      https://cotlet.dev/mcp/v1/spotify
    • Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.

      https://www.lacuna.fm/mcp
    • Use your LinkedIn from Claude and ChatGPT. Actions run in your own Chrome through a free extension.

      https://mcp.linkedmcp.com/mcp
    • Discogs MCP server for ChatGPT, Claude and any AI agent: search releases, list copies for sale, add release to collection, add release to wantlist, reprice listing, update order status and message buyer in your own Discogs account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discogs yourself; Cotlet does not store your password and you need no Discogs API key. About the official Discogs API: Discogs has a full REST API, version 2, that covers the database, collections, wantlists, marketplace inventory and orders, but no official MCP server (checked 17 Oct 2026). Authenticated requests are limited to 60 per minute and unauthenticated ones to 25. Setup and FAQ: https://cotlet.dev/integrations/discogs-api-mcp-server

      https://cotlet.dev/mcp/v1/discogs

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      A Model Context Protocol (MCP) integration that provides Claude Desktop with autonomous browser automation capabilities. This agent enables Claude to interact with web content, manipulate DOM elements, execute JavaScript, and perform API requests.
      13
      43
      TypeScript
      Mozilla Public 2.0
    • A
      license
      A
      quality
      D
      maintenance
      Enables Claude Desktop and GitHub Copilot to interact with native macOS applications including Spotify, Apple Music, Notes, Calendar, FaceTime, and Contacts through natural language commands. Provides comprehensive control over music playback, note management, calendar events, video calls, and contact operations using AppleScript integration.
      8
      MIT
    • F
      license
      B
      quality
      B
      maintenance
      Controls Spotify playback through Claude using the Model Context Protocol. Supports playback control, search, library management, and local favorites.
      26
      -