Skip to main content
Glama
response.ts380 B
export const createErrorResponse = (message: string) => { return { isError: true, content: [ { type: "text" as const, text: message, }, ], }; }; export const createSuccessResponse = (response: object) => { return { content: [ { type: "text" as const, text: JSON.stringify(response), }, ], }; };

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/tndfame/mcp_management'

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