UNPKG

@edjl/gcloud-mcp

Version:

Google Cloud Platform tools for MCP (Model Context Protocol)

41 lines 1.13 kB
import { GCloudCommandResult, GCloudConfig } from '../types.js'; /** * Check if gcloud CLI is installed */ export declare function checkGCloudInstalled(): Promise<boolean>; /** * Check if user is authenticated with gcloud */ export declare function checkGCloudAuth(): Promise<{ authenticated: boolean; account?: string; error?: string; }>; /** * Get current gcloud configuration */ export declare function getGCloudConfig(): Promise<GCloudConfig>; /** * Validate gcloud setup before executing commands */ export declare function validateGCloudSetup(): Promise<{ valid: boolean; error?: string; config?: GCloudConfig; }>; /** * Execute a gcloud command with validation */ export declare function executeGCloudCommand(command: string, options?: { skipValidation?: boolean; timeout?: number; }): Promise<GCloudCommandResult>; /** * Parse JSON output from gcloud commands */ export declare function parseGCloudJson<T>(output: string): T | null; /** * Format timestamp for display */ export declare function formatTimestamp(timestamp: string): string; //# sourceMappingURL=gcloud.d.ts.map