@turbot/powerpipe-mcp
Version:
Powerpipe MCP server to run benchmarks, detections and controls using AI.
17 lines (16 loc) • 666 B
TypeScript
/**
* Constructs a Powerpipe CLI command with consistent flags and options
* @param command The base command (e.g., 'benchmark list', 'control run foo')
* @param modLocation The mod location directory
* @param options Additional options to include
* @returns The complete command string
*/
export declare function buildPowerpipeCommand(command: string, modLocation: string, options?: {
output?: string;
}): string;
/**
* Gets the environment variables for Powerpipe CLI execution
* @param modLocation The mod location directory
* @returns Environment variables object
*/
export declare function getPowerpipeEnv(modLocation: string): NodeJS.ProcessEnv;