Skip to main content
Glama
senseisven

MCP Remote macOS Control Server

by senseisven
logger.ts803 B
import winston from 'winston' import { config } from '../config/environment' const logger = winston.createLogger({ level: config.server.logLevel, format: winston.format.combine( winston.format.timestamp(), winston.format.errors({ stack: true }), winston.format.json() ), defaultMeta: { service: 'macos-ai-chat-backend' }, transports: [ new winston.transports.File({ filename: 'logs/error.log', level: 'error' }), new winston.transports.File({ filename: 'logs/combined.log' }), ], }) // If we're not in production, log to the console as well if (config.server.nodeEnv !== 'production') { logger.add(new winston.transports.Console({ format: winston.format.combine( winston.format.colorize(), winston.format.simple() ) })) } export default logger

Latest Blog Posts

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/senseisven/mcp_macos'

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