Spotify Automation

Automate Spotify workflows including playlist management, music search, playback control, and user profile access via Composio

Install

Hot:26

Download and extract to your skills directory

Copy command and send to AI Agent for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=composiohq-composio-skills-spotify-automation&locale=en&source=copy

Spotify Automation - Intelligent Music Management with Composio MCP

Skill Overview


Spotify Automation is an automation skill that connects to the Spotify API through a Composio MCP server. It supports complete capabilities including playlist management, music catalog search, playback control, fetching album and track information, and accessing user configuration files.

Suitable Scenarios


  • Automated Playlist Management — Batch create, modify, and populate playlists. Automatically add tracks based on search results. Supports public/private playlist settings and collaborative mode configuration.
  • Music Search and Discovery — Quickly search across Spotify’s full catalog for albums, artists, tracks, podcasts, and audiobooks, and retrieve detailed metadata for music recommendations or organization.
  • Playback Control and User Info — Start or resume music playback on devices (requires Spotify Premium). Retrieve current user configuration information, subscription status, and content preference settings.
  • Core Features


  • Full Playlist Management — Get the user’s playlists, create new playlists, update playlist details (name, description, visibility), add tracks or podcast episodes to playlists, and browse all items within a playlist.
  • Full-Catalog Search Capability — Supports searching 8 content types (albums, artists, playlists, tracks, shows, episodes, audiobooks). You can set a limit on the number of results, pagination offset, and regional market code, including an option for external audio content.
  • Detailed Resource Information Retrieval — Fetch complete details for a track or album (including track lists, artist information, cover images, popularity). Retrieve the user’s configuration file (display name, email, country/region, subscription tier, explicit content settings).
  • Frequently Asked Questions

    Do I need a Premium subscription to use Spotify automation features?


    Most features (search, playlist management, information retrieval) work normally with a free account. Only playback control (SPOTIFY_START_RESUME_PLAYBACK) requires a Spotify Premium subscription; otherwise, a 403 permission error will be returned.

    How do I connect my Spotify account to Composio MCP?


    Access the Composio MCP server https://rube.app/mcp. The system will prompt you to authorize via Spotify OAuth. Once connected successfully, all tools prefixed with SPOTIFY_ will be immediately available. If your account is already connected, you don’t need to authenticate again.

    What are the limitations of Spotify playlist management?


    A single user can create up to about 11,000 playlists. Updating playlist details (such as name and description) is limited to playlists owned by the current user. Collaborative mode can only be enabled on non-public playlists (public must be set to false). The audiobook search feature is available only in the United States, the United Kingdom, Canada, Ireland, New Zealand, and Australia.

    Why does playback control return a 404 error?


    Playback control requires at least one active Spotify device (mobile, desktop, web, or speakers). If there is no active device currently, playback requests will return a 404 error. You can specify the target device via the device_id parameter, or use the currently active device by default.

    What is the difference between context_uri and uris?


    These two parameters are mutually exclusive and cannot be used together. context_uri is used to play an entire album, artist, or playlist (providing a Spotify URI), while uris is used to play a specific list of tracks (providing a set of track URIs). Choose one based on your playback needs.

    How many tracks can I add to a playlist at once?


    Using the SPOTIFY_ADD_ITEMS_TO_PLAYLIST tool, you can add tracks or episodes via Spotify URIs. The Spotify API supports batch adding, but it’s recommended to keep a reasonable limit for the number of items added in a single request to avoid timeouts. If you need to add a large number of tracks, process them in batches.

    How can I get another user’s playlists?


    Use the SPOTIFY_GET_USER_S_PLAYLISTS tool and provide the target user’s Spotify user_id. This tool can browse any user’s public playlists and supports paginated browsing (1–50 playlists per page).