SM

superseoworld/mcp-spotify

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

23 stars 15 forks Качество 68 Тренд 0MIT

Мощный сервер Model Context Protocol (MCP), обеспечивающий доступ к веб-интерфейсу Spotify. ArtistLens обеспечивает бесшовное взаимодействие с музыкальным каталогом Spotify, включая поиск треков.

Обзор

Мощный сервер Model Context Protocol (MCP), обеспечивающий доступ к веб-интерфейсу Spotify. ArtistLens обеспечивает бесшовное взаимодействие с музыкальным каталогом Spotify, включая поиск треков, альбомов и исполнителей, а также доступ к информации о конкретных исполнителях, таких как топ-треки и связанные с ними артисты. Автоматическая установка ArtistLens для Claude Desktop через Smithery: Добавьте файл настроек MCP (например, claude desktop config.json или cline mcp settings.json): Вам нужно будет предоставить свои учетные данные API Spotify: 1. Перейдите в панель инструментов Spotify Developer Dashboard 2. Создайте новое приложение 3. Получите идентификатор клиента и секрет клиента 4.

Обзор (машинный перевод)

Мощный сервер Model Context Protocol (MCP), обеспечивающий доступ к веб-интерфейсу Spotify. ArtistLens обеспечивает бесшовное взаимодействие с музыкальным каталогом Spotify, включая поиск треков, альбомов и исполнителей, а также доступ к информации о конкретных исполнителях, таких как топ-треки и связанные с ними артисты.

** Текущая версия: ** 0.4.12

##Установка

###Установка через Smithery

Автоматическая установка ArtistLens для Claude Desktop через Smithery:

Ручная установка

Вы можете установить пакет по всему миру:

Или запустить его напрямую с помощью npx:

Конфигурация

Добавьте файл настроек MCP (например, claude_desktop_config.json или cline_mcp_settings.json):

Вам нужно будет предоставить свои учетные данные API Spotify: 1.Перейти на панель инструментов Spotify Developer 2.Создать новое приложение 3. Получите идентификатор клиента и клиентскую тайну 4. Добавить их в конфигурацию, как показано выше

Особенности

  • Поиск треков, альбомов, артистов и плейлистов Получите информацию о художниках, включая лучшие треки и связанных с ними артистов
  • Получить информацию об альбоме и треки Доступ к новым выпускам и рекомендациям Получите информацию об аудиокнигах с конкретным контентом и главами по рынку

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

ArtistLens

A powerful Model Context Protocol (MCP) server that provides access to the Spotify Web API. ArtistLens enables seamless interaction with Spotify’s music catalog, including searching for tracks, albums, and artists, as well as accessing artist-specific information like top tracks and related artists.

Current Version: 0.4.12

Installation

Installing via Smithery

To install ArtistLens for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @superseoworld/artistlens --client claude

Manual Installation

You can install the package globally:

npm install -g @thomaswawra/artistlens

Or run it directly with npx:

npx -y @thomaswawra/artistlens

Configuration

Add to your MCP settings file (e.g., claude_desktop_config.json or cline_mcp_settings.json):

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": ["-y", "@thomaswawra/artistlens"],
      "env": {
        "SPOTIFY_CLIENT_ID": "your_client_id",
        "SPOTIFY_CLIENT_SECRET": "your_client_secret"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

You’ll need to provide your Spotify API credentials:

  1. Go to Spotify Developer Dashboard
  2. Create a new application
  3. Get your Client ID and Client Secret
  4. Add them to the configuration as shown above

Features

  • Search for tracks, albums, artists, and playlists
  • Get artist information including top tracks and related artists
  • Get album information and tracks
  • Access new releases and recommendations
  • Get audiobook information with market-specific content and chapters
  • Note: Audiobook endpoints may require additional authentication or market-specific access
  • Get and modify playlist information (name, description, public/private status)
  • Access playlist tracks and items with pagination support
  • Support for both Spotify IDs and URIs
  • Automatic token management with client credentials flow
  • Comprehensive test suite for all functionality
  • Well-organized code with separation of concerns

Available Tools

  • get_access_token: Get a valid Spotify access token
  • search: Search for tracks, albums, artists, or playlists
  • get_artist: Get artist information
  • get_artist_top_tracks: Get an artist’s top tracks
  • get_artist_related_artists: Get artists similar to a given artist
  • get_artist_albums: Get an artist’s albums
  • get_album: Get album information
Открыть полный README на GitHub

Установка

npx -y @thomaswawra/artistlens
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "spotify": { "command": "npx", "args": ["-y", "@thomaswawra/artistlens"], "env": { "SPOTIFY_CLIENT_ID": "your_client_id", "SPOTIFY_CLIENT_SECRET": "your_client_secret" }, "disabled": false, "autoApprove": [] } } }