@nogoo9/mcp-server-cloud-fs / tools/shell / executeShell
Function: executeShell()
executeShell(
command,ctx):Promise<string>
Defined in: tools/shell/index.ts:55
Execute a shell command string against the VFS.
This is the programmatic API — use it without MCP.
Parameters
command
string
ctx
Returns
Promise<string>
Example
ts
import { executeShell, VirtualFS } from "@nogoo9/mcp-server-cloud-fs";
const result = await executeShell("ls -l s3://my-bucket", {
vfs,
roots,
enableDelete: false,
});
console.log(result);