Skip to main content
Glama

MCP Documentation Server

by mahawi1992
index.ts924 B
export class McpError extends Error { constructor( message: string, public code: string, public statusCode: number = 500 ) { super(message); this.name = 'McpError'; } } export class ValidationError extends McpError { constructor(message: string) { super(message, 'VALIDATION_ERROR', 400); this.name = 'ValidationError'; } } export class SearchError extends McpError { constructor(message: string) { super(message, 'SEARCH_ERROR', 500); this.name = 'SearchError'; } } export class AnalysisError extends McpError { constructor(message: string) { super(message, 'ANALYSIS_ERROR', 500); this.name = 'AnalysisError'; } } export class ConfigurationError extends McpError { constructor(message: string) { super(message, 'CONFIG_ERROR', 500); this.name = 'ConfigurationError'; } }

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/mahawi1992/mcp-documentation-server'

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