Skip to main content
Glama

Swagger MCP

by Vizioz
MIT License
35
81
  • Linux
  • Apple
logger.ts749 B
import winston from 'winston'; // Define log format const logFormat = winston.format.combine( winston.format.timestamp({ format: 'YYYY-MM-DD HH:mm:ss' }), winston.format.errors({ stack: true }), winston.format.splat(), winston.format.json() ); // Create logger instance const logger = winston.createLogger({ level: process.env.LOG_LEVEL || 'info', format: logFormat, defaultMeta: { service: 'swagger-mcp' }, transports: [ // Write all logs with level 'error' and below to error.log new winston.transports.File({ filename: 'logs/error.log', level: 'error' }), // Write all logs with level 'info' and below to combined.log new winston.transports.File({ filename: 'logs/combined.log' }) ] }); export default logger;

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/Vizioz/Swagger-MCP'

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