bladerunner-mcp

v0.5.0
bladerunner-mcp Checked 16 hours ago Published 3 months ago

MCP server exposing SSH command execution, background process control and rsync file transfer for configured hosts

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_hosts

List configured host aliases.

run_command

Run a shell command on a configured host and return stdout, stderr and exit code. Each stream is capped at MAX_OUTPUT_BYTES. If truncated, the full output stays on the host in work_dir — page through it with read_output. On timeout the remote command may keep running.

ParameterTypeDescription
command *string
host *string
timeoutnumber

read_output

Read a byte slice of stdout/stderr kept in a work_dir by run_command or start_process.

ParameterTypeDescription
host *string
work_dir *string
lengthinteger
offsetinteger
streamstring
timeoutnumber

start_process

Start a long-running command on a host in the background. Returns pid and work_dir; pass both to check_process to track it, and use read_output to page through its logs.

ParameterTypeDescription
command *string
host *string
timeoutnumber

check_process

Check a process started with start_process: status, exit code and log tails.

ParameterTypeDescription
host *string
pid *integer
work_dir *string
timeoutnumber

kill_process

Kill a process started with start_process (SIGKILL).

ParameterTypeDescription
host *string
pid *integer
timeoutnumber

put_file

Upload a local file or directory to a configured host via rsync.

ParameterTypeDescription
host *string
local_path *string
remote_path *string

get_file

Download a file or directory from a configured host via rsync.

ParameterTypeDescription
host *string
local_path *string
remote_path *string