Skip to main content
Glama
Spotify Universal MCP Server

Spotify Universal MCP Server

Spotify Universal MCP Server

This repository contains an implementation of an Spotify Universal MCP (Model Context Protocol) server. It provides a standardized interface for interacting with Spotify's tools and services through a unified API.

The server is built using the Universal MCP framework.

This implementation follows the MCP specification, ensuring compatibility with other MCP-compliant services and tools.

Usage

You can start using Spotify directly from agentr.dev. Visit agentr.dev/apps and enable Spotify.

If you have not used universal mcp before follow the setup instructions at agentr.dev/quickstart

Related MCP server: Spotify MCP Server

Available Tools

The full list of available tools is at ./src/universal_mcp_spotify/README.md

Local Development

πŸ“‹ Prerequisites

Ensure you have the following before you begin:

  • Python 3.11+ (recommended)

  • uv (install globally with pip install uv)

πŸ› οΈ Setup Instructions

Follow the steps below to set up your development environment:

  1. Sync Project Dependencies

    uv sync

    This installs all dependencies from pyproject.toml into a local virtual environment (.venv).

  2. Activate the Virtual Environment

    For Linux/macOS:

    source .venv/bin/activate

    For Windows (PowerShell):

    .venv\Scripts\Activate
  3. Start the MCP Inspector

    mcp dev src/universal_mcp_spotify/server.py

    This will start the MCP inspector. Make note of the address and port shown in the console output.

  4. Install the Application

    mcp install src/universal_mcp_spotify/server.py

πŸ“ Project Structure

.
β”œβ”€β”€ src/
β”‚   └── universal_mcp_spotify/
β”‚       β”œβ”€β”€ __init__.py       # Package initializer
β”‚       β”œβ”€β”€ server.py            # Server entry point
β”‚       β”œβ”€β”€ app.py            # Application tools
β”‚       └── README.md         # List of application tools
β”œβ”€β”€ tests/                    # Test suite
β”œβ”€β”€ .env                      # Environment variables for local development
β”œβ”€β”€ pyproject.toml            # Project configuration
└── README.md                 # This file

πŸ“„ License

This project is licensed under the MIT License.


Generated with MCP CLI β€” Happy coding! πŸš€

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      An MCP server that enables users to control Spotify playback, search for music, and manage playlists through MCP-compatible clients. It supports features like track recommendations and playback management using secure OAuth authentication.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Spotify through MCP, providing tools for searching tracks, artists, albums, playlists, and accessing user data like top tracks and recently played.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables controlling Spotify playback, managing playlists, searching music, and accessing library features through any MCP-compatible AI client. Provides 34 tools for full Spotify integration.
      -