UNPKG

@aashari/mcp-server-atlassian-bitbucket

Version:

Node.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MC

12 lines (11 loc) 570 B
/** * Executes a command directly without shell interpretation. * Uses execFile instead of exec to prevent command injection (CWE-78). * * @param file The executable to run. * @param args Arguments to pass to the executable. * @param operationDesc A brief description of the operation for logging purposes. * @returns A promise that resolves with the stdout of the command. * @throws An error if the command execution fails, including stderr. */ export declare function executeShellCommand(file: string, args: string[], operationDesc: string): Promise<string>;