We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/debugmcpdev/mcp-debugger'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
command-finder.ts•627 B
/**
* Interface for finding executable commands in the system PATH
*/
export interface CommandFinder {
/**
* Find the full path to an executable command
* @param command The command name to find
* @returns The full path to the executable
* @throws CommandNotFoundError if the command is not found
*/
find(command: string): Promise<string>;
}
/**
* Error thrown when a command cannot be found in the system PATH
*/
export class CommandNotFoundError extends Error {
constructor(public readonly command: string) {
super(`Command not found: ${command}`);
this.name = 'CommandNotFoundError';
}
}