/**
* Port interfaces for command execution
*
* These are general infrastructure ports that can be used
* by any use case that needs to execute external commands.
*/
export interface ExecutionResult {
stdout: string;
stderr: string;
exitCode: number;
}
export interface ExecutionOptions {
maxBuffer?: number;
timeout?: number;
shell?: string;
}
export interface ICommandExecutor {
execute(
command: string,
options?: ExecutionOptions
): Promise<ExecutionResult>;
}
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/Stefan-Nitu/mcp-xcode'
If you have feedback or need assistance with the MCP directory API, please join our Discord server