Skip to main content
Glama

Spotify Streamable MCP Server

by iceener
validate.ts250 B
import type { z } from 'zod'; import { config } from '../config/env.ts'; export function validateDev<T>(schema: z.ZodType<T>, value: unknown): T { if (config.NODE_ENV === 'development') { return schema.parse(value); } return value as T; }

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/iceener/spotify-streamable-mcp-server'

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