1. Conduid
  2. Content
  3. Spotify MCP Server
MCP server · Content

Spotify MCP Server

Spotify MCP Server - Model Context Protocol server for Spotify integration

Unclaimed last commit a year ago content
34Low

Scored 4 days ago · breakdown

About Spotify MCP Server

Spotify MCP Server is an MCP server published by qchuchu in the Content category: spotify MCP Server - Model Context Protocol server for Spotify integration.

The repository has 9 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/qchuchu/spotify-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Spotify MCP Server

Powered by Claude · Grounded in docs

I know everything about Spotify MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 10 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

README

Spotify MCP Server

An unofficial Spotify MCP server that provides access to Spotify's Web API through the Model Context Protocol.

Overview

This MCP server allows AI assistants to interact with Spotify's Web API, enabling functionality like searching for music, managing playlists, controlling playback, and more. The server is hosted at https://spotify-mcp-server-3664f81c.alpic.live/ for easy integration.

Prerequisites

  • Node.js 22+ (see .nvmrc for exact version)
  • Spotify Developer Account and App (for local development)

Installation

For MCP Client Integration

For easy installation in Claude Desktop or other MCP clients, follow the installation guide: https://mcp-install-instructions.alpic.cloud/servers/spotify-unofficial

For Local Development

  1. Clone the repository:
git clone <repository-url>
cd spotify-mcp-server
  1. Install dependencies:
npm install
  1. Set up Spotify App:

    • Go to the Spotify Developer Dashboard
    • Create a new app
    • Note your Client ID and Client Secret
    • Add http://localhost:3000/callback to your app's redirect URIs
  2. Create environment file:

cp .env.example .env
  1. Update .env with your Spotify credentials:
    • SPOTIFY_CLIENT_ID=your_client_id_here

Usage

Development

Start the development server with hot-reload:

npm run dev

The server will start on http://localhost:3000 and automatically restart when you make changes to the source code.

Production Build

Build the project for production:

npm run build

The compiled JavaScript will be output to the dist/ directory.

Running the Inspector

Use the MCP inspector tool to test your server:

npm run inspector

API Endpoints

  • POST /mcp - Main MCP communication endpoint
  • GET /mcp - Returns "Method not allowed" (405)
  • DELETE /mcp - Returns "Method not allowed" (405)

Development

Adding New Tools

To add a new tool, modify src/server.ts:

server.tool(
  "tool-name",
  "Tool description",
  {
    // Define your parameters using Zod schemas
    param: z.string().describe("Parameter description"),
  },
  async ({ param }): Promise<CallToolResult> => {
    // Your tool implementation
    return {
      content: [
        {
          type: "text",
          text: `Result: ${param}`,
        },
      ],
    };
  },
);

Adding New Prompts

To add a new prompt template, modify src/server.ts:

server.prompt(
  "prompt-name",
  "Prompt description",
  {
    // Define your parameters using Zod schemas
    param: z.string().describe("Parameter description"),
  },
  async ({ param }): Promise<GetPromptResult> => {
    return {
      messages: [
        {
          role: "user",
          content: {
            type: "text",
            text: `Your prompt content with ${param}`,
          },
        },
      ],
    };
  },
);

Resources

README fetched from the repository 10 hours ago. The original is authoritative.

Questions

About Spotify MCP Server

How do I install Spotify MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Spotify MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 3 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Spotify MCP Server still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.