Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

Hex SSH

NPM · @LEVNIKOLAEVICH/HEX-SSH-MCP · SCANNED AUG 3

Token-efficient SSH MCP with hash-verified files and persistent tmux sessions. 14 tools.

+34 this week 76 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (104 of 108), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (104 of 108), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency97
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to levnikolaevich/claude-code-skills). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 75 days ago).Pass
  • Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability59
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 3937 tokens (~281/item across 14 items; 14 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management23
  • Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @levnikolaevich/hex-ssh-mcp

# add to Claude Code
claude mcp add levnikolaevich-hex-ssh-mcp -- npx -y @levnikolaevich/hex-ssh-mcp
# add to Codex CLI
codex mcp add levnikolaevich-hex-ssh-mcp -- npx -y @levnikolaevich/hex-ssh-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "levnikolaevich-hex-ssh-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@levnikolaevich/hex-ssh-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add levnikolaevich-hex-ssh-mcp --command npx --arg -y --arg @levnikolaevich/hex-ssh-mcp
# ~/.hermes/config.yaml
mcp_servers:
  levnikolaevich-hex-ssh-mcp:
    command: "npx"
    args: ["-y", "@levnikolaevich/hex-ssh-mcp"]
// mcp.json
{
  "mcpServers": {
    "levnikolaevich-hex-ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@levnikolaevich/hex-ssh-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 3 Aug 26 +4
    • Stability: unverified → 0.23 functional
  • 2 Aug 26 +50
    • Provenance: unverified → pass security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. security
    • The attested source repository moved: levnikolaevich/claude-code-skills security
    • Capabilities: pass → unverified functional
    • Maintenance: unverified → pass functional
    • Dependency health: unverified → partial functional
    • License: unverified → pass functional
    • Schema quality: unverified → excellent functional
    • Licence: MIT functional
  • 1 Aug 26 −24
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 31 Jul 26 +20
    • Malware scan: pass → unverified security
    • Provenance: unverified → pass security
    • Install scripts: unverified → pass security
    • The attested source repository moved: levnikolaevich/claude-code-skills security
    • Dependency health: partial → unverified functional
    • Maintenance: unverified → pass functional
    • License: unverified → pass functional
    • Tool coverage: unverified → 100 functional
    • Licence: MIT functional
  • 29 Jul 26 −16
    • Tool coverage: 100 → unverified functional
    • Dependency health: unverified → partial functional
    • First check of Schema quality: unverified functional
  • 27 Jul 26 42

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/@levnikolaevich/[email protected]

Provenance verified

Ecosystem: npm · Outcome: verified

Reason: verified

Source repo:
levnikolaevich/claude-code-skills
Certificate issuer:
https://token.actions.githubusercontent.com
Certificate SAN:
https://github.com/levnikolaevich/claude-code-skills/.github/workflows/publish-hex-ssh.yml@refs/tags/hex-ssh-v1.9.2
Rekor log index:
1573005893
Predicate type:
https://slsa.dev/provenance/v1
Subject digest:
sha512:d2daf3dd7050c18a2988bba18378c3d4958b4ae98c6e2cf1c1dcc6921ab5bdf90cb4595e7fadaa18df2555f835a1f9540c4dfcc6a1e1a324839daad71
Discovery method:
attestation_endpoint
Dependencies 104 packages

104 packages in the resolved dependency tree · 104 deprecated · 34 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 14 exposed · ~3,937 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
remote-ssh ~240

Execute shell commands on remote servers. Disabled by default. Set REMOTE_SSH_MODE=safe or REMOTE_SSH_MODE=open to enable.

NameTypeReqDescription
commandstringyesShell command to execute
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-capabilities ~219

Inspect POSIX remote session support, tmux availability, package managers, and basic shell tools.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-download ~300

Download a remote file to the local machine over SFTP. Supports text and binary files, rejects existing destinations by default, validates path boundaries, and stages to a verified local finalize path.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
localPathstringyesAbsolute local destination path or ~/path
overwritebooleanReplace existing destination when true. Default: false
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePathstringyesAbsolute file path on remote server
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
transferTimeoutMsnumberSFTP inactivity timeout in ms (default: 120000; env TRANSFER_TIMEOUT_MS overrides default). Used by ssh-upload/ssh-download.
userstringSSH username (optional if set in ~/.ssh/config)
verifystringPost-transfer verification mode. Default: stat
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-edit-block ~371

Edit remote files using hash-verified anchors. Use ssh-read-lines first to get hash anchors and checksums.

NameTypeReqDescription
anchorstringHash anchor 'ab.42' to set single line (from ssh-read-lines)
checksumstringRange checksum from ssh-read-lines (e.g. '1-50:f7e2a1b0'). If provided, verifies file unchanged before edit.
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
endAnchorstringEnd hash anchor 'cd.45' for range replace
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
filePathstringyesPath to file on remote server
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
insertAfterstringHash anchor 'ab.42' to insert after
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
newTextstringReplacement text (for anchor/range/insert edits)
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
startAnchorstringStart hash anchor 'ab.42' for range replace
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-read-lines ~310

Read remote file with hash-annotated lines. Use startLine/maxLines for large files. Returns range checksums for edit verification.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
endLinenumberEnd line (optional, reads to limit if not set)
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
filePathstringyesPath to file on remote server
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
maxLinesnumberMax lines to read (default: 200)
plainbooleanOmit hashes (lineNum|content)
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
startLinenumberStart line (1-based, default: 1)
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-search-code ~320

Search remote files with grep. Returns hash-annotated matches with deduplication. Use for finding code before ssh-edit-block.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
contextLinesnumberContext lines around matches (default: 0)
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
filePatternstringGlob filter (e.g. "*.js", "*.py")
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
ignoreCasebooleanCase-insensitive search (default: false)
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
maxResultsnumberMax result lines (default: 50)
pathstringyesDirectory to search on remote server
patternstringyesText/regex pattern to search
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-session-close ~228

Close a trusted persistent tmux session and remove its remote session directory.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
sidstringyesSession id returned by ssh-session-open
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-session-exec ~270

Run a command inside a persistent tmux session. Returns metadata first; read output with ssh-session-read.

NameTypeReqDescription
commandstringyesShell command to execute in the persistent session
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
sidstringyesSession id returned by ssh-session-open
userstringSSH username (optional if set in ~/.ssh/config)
waitSecondsnumberSeconds to wait for command completion. Default: 300
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-session-gc ~246

Remove expired trusted hex-ssh tmux sessions. Only sessions with valid hex-ssh metadata are touched.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
olderThanSecondsnumberDelete trusted sessions older than this many seconds. Default: delete expired sessions only
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-session-open ~256

Open a trusted persistent remote tmux session. Preserves cwd and environment across ssh-session-exec calls.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
namestringOptional session label. Default: empty
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
ttlSecondsnumberSession TTL in seconds. Default: 43200 (12h)
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-session-read ~304

Read a paginated stdout/stderr window from a persistent session command.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
limitnumberLine limit. Default: 50
offsetnumberZero-based line offset. Default: 0
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
rawbooleanWhen true, return only the output content field
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
seqyesCommand sequence returned by ssh-session-exec
sidstringyesSession id returned by ssh-session-open
streamstringOutput stream: stdout or stderr. Default: stdout
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-upload ~325

Upload a local file to a remote server over SFTP. Supports text and binary files, rejects existing destinations by default, validates path boundaries, and stages via the strongest available remote finalize path.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
localPathstringyesAbsolute local file path or ~/path to upload
overwritebooleanReplace existing destination when true. Default: false
permissionsstringOptional octal file mode for uploaded file, e.g. 0644
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePathstringyesAbsolute destination path on remote server
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
transferTimeoutMsnumberSFTP inactivity timeout in ms (default: 120000; env TRANSFER_TIMEOUT_MS overrides default). Used by ssh-upload/ssh-download.
userstringSSH username (optional if set in ~/.ssh/config)
verifystringPost-transfer verification mode. Default: stat
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-verify ~277

Check if range checksums still match remote file. Single-line response avoids full re-read. Use before editing after a pause.

NameTypeReqDescription
checksumsstringyesJSON array of checksum strings, e.g. ["1-50:f7e2a1b0", "51-100:abcd1234"]
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
filePathstringyesPath to file on remote server
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.

ssh-write-chunk ~271

Write or append to remote files. Rewrite mode is atomic (temp file + rename). Append mode is non-atomic (direct >>). Auto-creates parent directories.

NameTypeReqDescription
connectTimeoutMsnumberSSH handshake timeout in ms (default: 20000). Per-call override. Different values spawn separate pooled connections.
contentstringyesContent to write
execTimeoutMsnumberPer-command execution timeout in ms (default: 120000). Used by remote-ssh and hash-verified file tools.
filePathstringyesPath to file on remote server
hoststringyesSSH host - alias from ~/.ssh/config or hostname/IP
keepaliveIntervalMsnumberSSH keepalive interval in ms (default: 30000). Per-call override. Different values spawn separate pooled connections.
modestringWrite mode (default: rewrite)
portnumberSSH port (default: 22)
privateKeyPathstringPath to SSH private key (optional)
remotePlatformstringRemote path platform. Use "windows" for paths like C:\\repo\\file.txt. Default: auto
userstringSSH username (optional if set in ~/.ssh/config)
NameTypeReqDescription
bytes_transferrednumber
bytes_writtennumber
capabilitiesobject
checksumstring
codestring
commandstring
contentstring
deletedarray
duration_msnumber
errorobject
exit_codenumber
failure_classstring
has_moreboolean
hoststring
limitnumber
local_pathstring
next_actionstring
next_commandsobject
offsetnumber
pathstring
rcnumber
recoverystring
remote_pathstring
revisionstring
seqnumber
sessionstring
sidstring
statusstringyes
stderrstring
stderr_linesnumber
stdoutstring
stdout_linesnumber
streamstring
summarystring
tmux_namestring
total_linesnumber
verify

No examples provided.