Skip to main content
Glama
restart-process.d.ts•712 B
import * as Rx from 'rxjs'; import { Command } from '../command'; import { Logger } from '../logger'; import { FlowController } from './flow-controller'; export type RestartDelay = number | 'exponential'; /** * Restarts commands that fail up to a defined number of times. */ export declare class RestartProcess implements FlowController { private readonly logger; private readonly scheduler?; private readonly delay; readonly tries: number; constructor({ delay, tries, logger, scheduler, }: { delay?: RestartDelay; tries?: number; logger: Logger; scheduler?: Rx.SchedulerLike; }); handle(commands: Command[]): { commands: Command[]; }; }

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