Skip to main content
Glama
search.ts416 B
import { SpotifyClient } from '../spotify/client.js'; export async function searchMusic(client: SpotifyClient, query: string, limit: number = 10) { const results = await client.search(query, limit); return { success: true, query, results: { tracks: results.tracks.slice(0, limit), albums: results.albums.slice(0, limit), artists: results.artists.slice(0, limit), }, }; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ackberry/spotify_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server