Skip to main content
Glama
log-output.js•606 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LogOutput = void 0; /** * Logs the stdout and stderr output of commands. */ class LogOutput { logger; constructor({ logger }) { this.logger = logger; } handle(commands) { commands.forEach((command) => { command.stdout.subscribe((text) => this.logger.logCommandText(text.toString(), command)); command.stderr.subscribe((text) => this.logger.logCommandText(text.toString(), command)); }); return { commands }; } } exports.LogOutput = LogOutput;

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/samihalawa/brevo-mcp'

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