Skip to main content
Glama

1313

by chatmcp
resp.ts437 B
export function respData(data: any) { return respJson(0, "ok", data || []); } export function respOk() { return respJson(0, "ok"); } export function respErr(message: string) { return respJson(-1, message); } export function respJson(code: number, message: string, data?: any) { let json = { code: code, message: message, data: data, }; if (data) { json["data"] = data; } return Response.json(json); }

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/chatmcp/mcpso'

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