Skip to main content
Glama
index.ts514 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { registerDiscoverMusicPrompt } from "./discover-music.js"; import { registerCreatePlaylistPrompt } from "./create-playlist.js"; import { registerAnalyzeNowPlayingPrompt } from "./analyze-now-playing.js"; /** * Register all MCP prompts with the server */ export function registerAllPrompts(server: McpServer) { registerDiscoverMusicPrompt(server); registerCreatePlaylistPrompt(server); registerAnalyzeNowPlayingPrompt(server); }

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/nicklaustrup/mcp-spotify'

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