Skip to main content
Glama
bvisible

MCP SSH Manager

by bvisible

ssh_sync

Synchronize files between local and remote servers over SSH using rsync, with dry-run, delete, and checksum options.

Instructions

Synchronizes files or directories between local and remote using rsync over SSH on the named server. Each of source and destination must carry a local: or remote: prefix and one side must be local and the other remote; with no prefix it assumes a push from local to remote. On Windows MCP hosts, provide native Windows local paths such as C:\project or .\project; the tool converts drive-letter and UNC paths to MSYS2 format before spawning rsync. Do not pre-convert a local path to /c/project because Node performs local filesystem checks using Windows path semantics. Mutates the destination. Setting delete true removes destination files absent from source, which is destructive; dryRun true previews without changing anything. Compression is on by default. Password authentication requires sshpass installed locally. Blocked on readonly or restricted servers. Timeout defaults to 30000 ms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deleteNoDelete files in destination not in source
dryRunNoPerform dry run without actual changes
serverYesServer name from configuration
sourceYesSource path with a "local:" or "remote:" prefix. On Windows, use a native local path such as "local:C:\project" or "local:.\project"; do not pre-convert it to MSYS2 /c/... syntax.
excludeNoPatterns to exclude from sync
timeoutNoTimeout in milliseconds (default: 30000)
verboseNoShow detailed progress
checksumNoUse checksum instead of timestamp for comparison
compressNoCompress during transfer
destinationYesDestination path with a "local:" or "remote:" prefix. On Windows, use a native local path such as "local:C:\output" or "local:.\output"; do not pre-convert it to MSYS2 /c/... syntax.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and excels: it discloses mutation of the destination, destructive nature of delete true, dryRun preview, default compression, sshpass requirement, blocking on readonly/restricted servers, and Windows path conversion behavior. This far exceeds minimal disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a dense paragraph of about 250 words that front-loads the core purpose and packs each sentence with essential operational details. While not terse, every sentence contributes unique value and no information is redundant. It is appropriately sized for a complex 10-parameter tool, though a bulleted structure could improve scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the key operational aspects: direction semantics, destructive behavior, dryRun, defaults, Windows support, auth requirement, and server restrictions. The only missing piece is the return/output format, which is not described and there is no output schema. However, for an action tool this is largely adequate, and all important edge cases are addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds critical semantics beyond the schema: the requirement that one side be local and the other remote, the no-prefix default to push, the destructive meaning of delete, and Windows path conversion details for source/destination. This goes well beyond baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Synchronizes files or directories between local and remote using rsync over SSH on the named server,' which clearly states the action and scope. It distinguishes from sibling tools like ssh_upload/ssh_download by emphasizing bidirectional synchronization with prefix-based direction control. The purpose is unambiguous and specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains the prefix rules for source and destination and the default push behavior, giving clear context for operation. However, it does not explicitly contrast with alternatives such as ssh_upload/ssh_download for one-way transfers, nor state when to prefer this tool. Thus, it meets 'clear context, no exclusions' but not explicit alternative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bvisible/mcp-ssh-manager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server