Deezer Integration
Manage Deezer get user, search, get album, get track, list playlists
The Deezer integration provides access to manage Deezer get user, search, get album, get track, list playlists through the Integrate MCP server.
Installation
The Deezer integration is included with the SDK:
import { deezerIntegration } from "integrate-sdk/server";Setup
1. Create a Deezer OAuth App
- Create an OAuth application for Deezer
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Deezer integration to your server configuration. The integration automatically reads DEEZER_CLIENT_ID and DEEZER_CLIENT_SECRET from your environment variables:
import { createMCPServer, deezerIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
deezerIntegration({
scopes: ["basic_access", "email", "manage_library", "delete_library", "listening_history", "offline_access"], // Optional
}),
],
});You can override the environment variables by passing explicit values:
deezerIntegration({
clientId: process.env.CUSTOM_DEEZER_ID,
clientSecret: process.env.CUSTOM_DEEZER_SECRET,
scopes: ["basic_access", "email", "manage_library", "delete_library", "listening_history", "offline_access"], // Optional
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("deezer");
const result = await client.deezer.getUser({});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, deezerIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [deezerIntegration()],
});Configuration Options
Prop
Type
Default Scopes
These defaults are applied unless you override scopes in the integration config:
basic_accessemailmanage_librarydelete_librarylistening_historyoffline_access
Tools
deezer_get_user
Get user
No parameters.
deezer_search
Search
Prop
Type
deezer_get_album
Get album
Prop
Type
deezer_get_track
Get track
Prop
Type
deezer_list_playlists
List playlists
Prop
Type
deezer_add_track_to_playlist
Add track to playlist
Prop
Type
Notes
- Category: Entertainment
- Authentication mode: OAuth