Skip to main content
Glama
qs.ts372 B
export function qs(params?: Record<string, unknown> | undefined): string { if (!params) return ""; const entries = Object.entries(params).filter(([, v]) => typeof v !== "undefined" && v !== null && v !== ""); if (!entries.length) return ""; const sp = new URLSearchParams(); for (const [k, v] of entries) sp.append(k, String(v)); return `?${sp.toString()}`; }

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/ghively/API2MCP-creator'

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