Skip to main content
Glama
index.ts553 B
// Helper functions for skills export const validateSkillParams = ( params: { [key: string]: any }, requiredKeys: string[], skillName: string, ) => { requiredKeys.forEach((key) => { if (!params.hasOwnProperty(key)) { console.error(`Missing required parameter ${key} for skill ${skillName}`); } }); return requiredKeys.every((key) => params.hasOwnProperty(key)); }; export const isSignalAborted = (signal: AbortSignal | undefined): boolean => typeof signal !== 'undefined' && signal?.aborted;

Latest Blog Posts

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/leo4life2/minecraft-mcp-http'

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