Skip to main content
Glama
index.ts414 B
import { Command } from "@commands/command"; import type { SearchLibraryResponse } from "@commands/types"; export class SearchLibraryCommand extends Command<SearchLibraryResponse> { constructor(query: string) { const queryParams: Record<string, string | number | undefined> = {}; if (query) { queryParams.query = query; } super({ method: "GET", query: queryParams }, "v2/search"); } }

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/upstash/context7-mcp'

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