Skip to main content
Glama

1MCP Server

configureGlobalLogger.ts662 B
/** * Global logger configuration utility * This utility configures the logger for any command using globalOptions */ import { GlobalOptions } from '@src/globalOptions.js'; import { configureLogger } from '@src/logger/logger.js'; /** * Configure logger for any command using global options * @param options Global options that may include log configuration * @param transport Optional transport type (for backward compatibility with serve command) */ export function configureGlobalLogger(options: GlobalOptions, transport?: string): void { configureLogger({ logLevel: options['log-level'], logFile: options['log-file'], transport, }); }

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/1mcp-app/agent'

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