Skip to main content
Glama
errors.ts286 B
/** * Custom error class for API-related errors with HTTP status codes */ export class ApiError extends Error { constructor( message: string, public readonly status: number, public readonly statusText?: string ) { super(message); this.name = 'ApiError'; } }

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/bytebase/dbhub'

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