Skip to main content
Glama

MCP-AppleMusic

MCP-AppleMusic

Una implementación de servidor FastMCP para controlar Apple Music (anteriormente iTunes) en macOS a través de comandos AppleScript.

Requisitos

  • Python 3.13+
  • macOS con la aplicación Apple Music instalada
  • Biblioteca MCP ≥1.2.1

Instalación

Primero, asegúrese de tener instalado el protector UV:

$ brew install uv

Luego, con Claude Desktop , agregue lo siguiente a claude_desktop_config.json :

{ "mcpServers": { "iTunesControlServer": { "command": "uvx", "args": ["-n", "mcp-applemusic"] } } }

Comandos disponibles

Los siguientes comandos están disponibles a través del servidor MCP:

itunes_play() # Start playback itunes_pause() # Pause playback itunes_next() # Skip to next track itunes_previous() # Go to previous track itunes_search(query) # Search library for tracks itunes_play_song(song) # Play specific song itunes_create_playlist(name, songs) # Create new playlist itunes_library() # Get library statistics

Uso

Iniciar el servidor:

python server.py

Ejemplos de interacciones:

# Search for a song results = itunes_search("Hey Jude") # Create a new playlist itunes_create_playlist("Beatles Favorites", ["Yesterday", "Hey Jude", "Let It Be"]) # Play a specific song itunes_play_song("Hey Jude")

Desarrollo

  1. Clonar el repositorio:
git clone https://github.com/yourusername/mcp-applemusic.git cd mcp-applemusic
  1. Instalar dependencias de desarrollo:
pip install -e ".[dev]"

Contribuyendo

  1. Bifurcar el repositorio
  2. Crea tu rama de funciones ( git checkout -b feature/amazing-feature )
  3. Confirme sus cambios ( git commit -m 'Add amazing feature' )
  4. Empujar a la rama ( git push origin feature/amazing-feature )
  5. Abrir una solicitud de extracción

Licencia

Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.

Notas

  • Esta herramienta solo funciona en sistemas macOS debido a su dependencia de AppleScript
  • Requiere que tenga instalado Apple Music (anteriormente iTunes)
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Facilita el control de Apple Music en macOS a través de AppleScript mediante comandos MCP, lo que permite a los usuarios administrar la reproducción, buscar pistas y crear listas de reproducción.

  1. Requisitos
    1. Instalación
      1. Comandos disponibles
        1. Uso
          1. Desarrollo
            1. Contribuyendo
              1. Licencia
                1. Notas

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    Enables interaction with Spotify's music catalog via the Spotify Web API, supporting searches, artist information retrieval, playlist management, and automatic token handling.
                    Last updated -
                    26
                    547
                    2
                    TypeScript
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
                    Last updated -
                    6
                    628
                    1,692
                    TypeScript
                    MIT License
                    • Apple
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A Model Context Protocol server that enables controlling Spotify playback through natural language commands in MCP clients like Cursor or Claude for Desktop.
                    Last updated -
                    1
                    TypeScript
                  • -
                    security
                    F
                    license
                    -
                    quality
                    Integrates with Spotify Web API through the Model Context Protocol, allowing users to search tracks, control playback, and manage playlists programmatically.
                    Last updated -
                    JavaScript

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/kennethreitz/mcp-applemusic'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server