MCPVault

sandbox_fs_copy_to_host

MCP tool from Microsandbox MCP by superradcompany

Copy a sandbox path to an allowlisted host destination

How to use it

sandbox_fs_copy_to_host is exposed by the Microsandbox MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the sandbox_fs_copy_to_host tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Microsandbox MCP

$claude mcp add --transport stdio microsandbox -- npx -y microsandbox-mcp
FULL MICROSANDBOX MCP LISTING

Other tools in Microsandbox MCP (39)

runtime_check

Check whether the microsandbox runtime, msb, and libkrunfw are available

runtime_install

Install runtime dependencies using the microsandbox SDK installer

sandbox_create

Create and boot a persistent sandbox with rootfs, resources, process, mounts, patches, network, secrets, and lifecycle options

sandbox_drain

Request graceful drain for selected sandboxes

sandbox_exec

Execute an argv command with env, cwd, user, TTY, timeout, rlimits, stdin, and output caps

sandbox_exec_close

Close and forget an exec session

sandbox_exec_poll

Poll output events and exit status for an exec session

sandbox_exec_signal

Send hup, int, term, kill, or a numeric signal to an exec session

sandbox_exec_start

Start a long-running command and return an in-memory exec session id

sandbox_exec_write_stdin

Write UTF-8 or base64 data to an exec session stdin

sandbox_fs_copy

Copy a file within one sandbox or between two running sandboxes

sandbox_fs_copy_from_host

Copy an allowlisted host path into a sandbox

sandbox_fs_exists

Check whether a sandbox path exists

sandbox_fs_list

List sandbox directory entries

sandbox_fs_mkdir

Create a sandbox directory

sandbox_fs_read

Read a sandbox file as UTF-8 text or base64 bytes

sandbox_fs_remove

Remove a sandbox file or directory

sandbox_fs_rename

Rename a sandbox file or directory

sandbox_fs_stat

Get sandbox path metadata

sandbox_fs_write

Write UTF-8 text or base64 bytes to a sandbox file

sandbox_inspect

Return full configuration and metadata for one sandbox

sandbox_list

List sandboxes with status, image, labels, and timestamps

sandbox_logs_read

Read captured logs with tail, time, source, grep, session id, and output cap filters

sandbox_logs_stream

Poll captured logs using cursors and a bounded follow timeout

sandbox_metrics

Get point-in-time metrics for one running sandbox

sandbox_metrics_all

Get point-in-time metrics for all running sandboxes

sandbox_metrics_stream

Collect a bounded number of metrics samples from one sandbox

sandbox_remove

Remove selected stopped sandboxes, optionally force-stopping running ones first

sandbox_run

Create an ephemeral sandbox, run a shell command, return output, and remove it

sandbox_shell

Execute a shell command string with the same execution controls

sandbox_start

Start stopped sandboxes by name, labels, or status selector

sandbox_status

Show status for one sandbox or a filtered sandbox set

sandbox_stop

Stop selected sandboxes gracefully or forcefully, with optional timeout

sandbox_wait

Wait until selected sandboxes reach a terminal state

volume_create

Create a directory or disk-backed named volume with quota, capacity, and labels

volume_fs_read

Read a volume file as UTF-8 text or base64 bytes

volume_inspect

Inspect one named volume

volume_list

List named volumes with kind, quota, capacity, usage, disk format, labels, and timestamps

volume_remove

Remove one or more named volumes