UNPKG

super-shell-mcp

Version:

MCP server for executing shell commands across multiple platforms

57 lines (56 loc) 2.22 kB
import { CommandWhitelistEntry } from '../services/command-service.js'; /** * Get common safe commands that work across all platforms * @returns Array of common safe command whitelist entries */ export declare function getCommonSafeCommands(): CommandWhitelistEntry[]; /** * Get Windows-specific safe commands * @returns Array of Windows safe command whitelist entries */ export declare function getWindowsSafeCommands(): CommandWhitelistEntry[]; /** * Get macOS-specific safe commands * @returns Array of macOS safe command whitelist entries */ export declare function getMacOSSafeCommands(): CommandWhitelistEntry[]; /** * Get Linux-specific safe commands * @returns Array of Linux safe command whitelist entries */ export declare function getLinuxSafeCommands(): CommandWhitelistEntry[]; /** * Get Windows-specific commands requiring approval * @returns Array of Windows command whitelist entries requiring approval */ export declare function getWindowsApprovalCommands(): CommandWhitelistEntry[]; /** * Get macOS-specific commands requiring approval * @returns Array of macOS command whitelist entries requiring approval */ export declare function getMacOSApprovalCommands(): CommandWhitelistEntry[]; /** * Get Linux-specific commands requiring approval * @returns Array of Linux command whitelist entries requiring approval */ export declare function getLinuxApprovalCommands(): CommandWhitelistEntry[]; /** * Get Windows-specific forbidden commands * @returns Array of Windows forbidden command whitelist entries */ export declare function getWindowsForbiddenCommands(): CommandWhitelistEntry[]; /** * Get macOS-specific forbidden commands * @returns Array of macOS forbidden command whitelist entries */ export declare function getMacOSForbiddenCommands(): CommandWhitelistEntry[]; /** * Get Linux-specific forbidden commands * @returns Array of Linux forbidden command whitelist entries */ export declare function getLinuxForbiddenCommands(): CommandWhitelistEntry[]; /** * Get platform-specific command whitelist entries * @returns Array of command whitelist entries for the current platform */ export declare function getPlatformSpecificCommands(): CommandWhitelistEntry[];