Skip to main content
Glama

Axion Planetary MCP

by Dhenenjay
errors.tsβ€’699 B
export class AppError extends Error { code: string; details?: any; constructor(code: string, message: string, details?: any){ super(message); this.code=code; this.details=details; } } export const Guards = { checkMaxPixels(maxPixels?: number){ if(maxPixels && maxPixels>1e9) throw new AppError('MAX_PIXELS','maxPixels too large',{maxPixels}); }, checkBandCount(bands?: string[]){ if(bands && bands.length>20) throw new AppError('BANDS_LIMIT','Too many bands',{count: bands.length}); }, }; export function toSafeMessage(e: any){ if(e instanceof AppError){ return { code:e.code, message:e.message, details:e.details}; } return { code:'UNKNOWN', message: e?.message ?? 'Unknown error' }; }

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/Dhenenjay/axion-planetary-mcp'

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