Skip to main content
Glama

MCP Agent TypeScript Port

by waldzellai
index.d.ts1.04 kB
export declare enum LogLevel { DEBUG = "debug", INFO = "info", WARN = "warn", ERROR = "error" } export interface LogEntry { timestamp: number; level: LogLevel; message: string; context?: Record<string, unknown>; } export declare class Logger { private static instance; private logs; private currentLogLevel; private constructor(); static getInstance(): Logger; setLogLevel(level: LogLevel): void; log(level: LogLevel, message: string, context?: Record<string, unknown>): void; private outputLog; getLogs(level?: LogLevel): LogEntry[]; clearLogs(): void; exportLogs(format?: 'json' | 'text'): string; } export declare const debug: (message: string, context?: Record<string, unknown>) => void; export declare const info: (message: string, context?: Record<string, unknown>) => void; export declare const warn: (message: string, context?: Record<string, unknown>) => void; export declare const error: (message: string, context?: Record<string, unknown>) => void;

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/waldzellai/mcp-agent-ts'

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