smithery.yaml•1.31 kB
# Smithery configuration file: https://smithery.ai/docs/build/project-config
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- spotifyClientId
- spotifyClientSecret
- spotifyRedirectUri
- spotifyRefreshToken
properties:
spotifyClientId:
type: string
description: Your Spotify API Client ID
spotifyClientSecret:
type: string
description: Your Spotify API Client Secret
spotifyRedirectUri:
type: string
description: Your Spotify Redirect URI
spotifyRefreshToken:
type: string
description: Your Spotify Refresh Token
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'node', args: ['dist/index.js'], env: { SPOTIFY_CLIENT_ID: config.spotifyClientId, SPOTIFY_CLIENT_SECRET: config.spotifyClientSecret, SPOTIFY_REDIRECT_URI: config.spotifyRedirectUri, SPOTIFY_REFRESH_TOKEN: config.spotifyRefreshToken } })
exampleConfig:
spotifyClientId: your_client_id
spotifyClientSecret: your_client_secret
spotifyRedirectUri: http://localhost:8888
spotifyRefreshToken: your_refresh_token