We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kushal45/GmailMcpServer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setupFormatters.ts•701 B
import { createDefaultFormatterRegistry } from './formatters/index.js';
import { logger } from '../utils/logger.js';
/**
* Sets up and configures the formatter registry for the application
*
* @returns Configured formatter registry with all available formatters
*/
export function setupFormatterRegistry() {
logger.info('Setting up file formatter registry');
// Create the registry with JSON as the default format
const formatterRegistry = createDefaultFormatterRegistry('json');
// Log available formats
const formats = formatterRegistry.getSupportedFormats();
logger.info(`Formatter registry initialized with formats: ${formats.join(', ')}`);
return formatterRegistry;
}