
superseoworld/mcp-spotify
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Мощный сервер 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:
- Go to Spotify Developer Dashboard
- Create a new application
- Get your Client ID and Client Secret
- 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 tokensearch: Search for tracks, albums, artists, or playlistsget_artist: Get artist informationget_artist_top_tracks: Get an artist’s top tracksget_artist_related_artists: Get artists similar to a given artistget_artist_albums: Get an artist’s albumsget_album: Get album information
Установка
npx -y @thomaswawra/artistlensКонфигурация
{
"mcpServers": {
"spotify": {
"command": "npx",
"args": ["-y", "@thomaswawra/artistlens"],
"env": {
"SPOTIFY_CLIENT_ID": "your_client_id",
"SPOTIFY_CLIENT_SECRET": "your_client_secret"
},
"disabled": false,
"autoApprove": []
}
}
}