MCP Sftp Orchestrator logo

MCP Sftp Orchestrator

Orchestrates SSH/SFTP tasks across servers with persistent queues, file operations, snapshots, audits, and access controls.

Install MCP Sftp Orchestrator

Run the project’s own setup commands, in order.

Setup steps from the project

mcp-sftp-orchestrator installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/fkom13/mcp-sftp-orchestrator.git
    
  2. 2. Install
    cd sftp-mcp   # ou tools/sftp-mcp
    
  3. 3. Install
    npm install
    
  4. 4. Configure
    cp .env.example .env
    

Overview

mcp-sftp-orchestrator MCP server connects an AI agent to remote hosts over SSH and SFTP through an stdio MCP process. It provides 82 tools for queued command execution, transfers, remote file editing, infrastructure inventory, snapshots, tunnels, logs, and server notes. Persistent JSON data tracks jobs, history, projects, work sessions, policies, and server aliases. Reach for it when an agent needs repeatable operations across one server, multiple aliases, or defined server groups with dry runs and read-only controls.

Use cases

  • Run commands across a server group
  • Transfer files between remote hosts
  • Apply hash-checked remote file edits
  • Audit infrastructure and inspect service health
  • Track deployments with projects and work sessions

Key features

  • Persistent task queue with retries and history
  • SSH command execution and SFTP transfers
  • Hash-checked file editing with backups
  • Infrastructure inventory, audits, and snapshots
  • Read-only controls and command blocklists
  • Remote shells, tmux sessions, and SSH tunnels

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9/25/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.

How MCP Sftp Orchestrator works

What mcp-sftp-orchestrator does

The mcp-sftp-orchestrator MCP server gives an MCP-compatible agent an interface for administering remote machines through SSH and SFTP. It can run commands against one alias, several aliases, every configured server, or a named group. Commands may be queued, waited on, inspected, retried, logged, or purged. Interactive commands and ordered command sequences are also available.

Remote file workflows include reading, writing, and targeted editing. The documented safe-edit pattern reads a file, records its hash, and applies an edit with expectedHash; dry-run and backup options are available. Transfers support uploads, downloads, server-to-server copies, multiple targets, and globs. The server also exposes remote shells, tmux sessions, SSH tunnels, snapshots, and cross-source or cross-folder comparisons.

Operational data is organized around aliases, groups, projects, and work sessions. Projects map local paths to remote paths and can include ignored paths and runtime metadata. A work session records an intervention and can produce a closing server note. Infrastructure tools cover fleet reachability, resource usage, services, logs, API health, Fail2Ban, PM2, Docker, and server inventory.

How it works

The process uses MCP over stdio and runs with Node.js. Server connection definitions are stored under the configured data directory in servers.json; an alias can use an SSH key or password and may be marked read-only. Jobs, task history, notes, groups, projects, work sessions, policies, tunnels, and infrastructure snapshots are stored in separate JSON files or directories there.

The mcp-sftp-orchestrator MCP server maintains an SSH connection pool per server, with configurable minimum and maximum connections, keepalive behavior, and idle connection closure. Queued work is autosaved, with a maximum queue size and background transition controlled by timeout settings. Secrets are masked in relevant listing and diagnostic responses.

Setup and configuration

Install Node.js 18 or newer, clone the repository, install dependencies with npm install, copy .env.example to .env, and set the data directory and key paths as needed. All documented environment variables are optional. The default data location is ~/.config/mcp-orchestrator.

Configure an MCP client to launch node with the absolute path to server.js. After changing the code, reload or restart the MCP session and use system_diagnostics to check the reported version and read-only state.

Important settings include MCP_READONLY for global write and mutating-execution protection, MCP_ALLOWED_ROOTS for permitted local path roots, command and interactive timeouts, queue limits, connection pool sizes, and MCP_DEBUG for detailed stderr logging. A server alias can also have its own readonly setting.

Tools and capabilities

The 82 tools are grouped into several operational areas:

  • Execute commands, interactive tasks, sequences, transfers, and queued jobs.
  • Add, list, remove, and group SSH server aliases.
  • Compare files and folders, create or restore snapshots, and inspect differences.
  • Manage projects, resolve local and remote paths, and record work sessions.
  • Add SSH public keys with dry-run behavior by default.
  • Apply command blocklists to shell and sequence operations.
  • Inspect fleet status, resources, services, logs, APIs, and infrastructure details.
  • Create SSH tunnels, manage an allowlist, and operate remote tmux sessions.

Limitations and notes

The server communicates through stdio rather than a network MCP endpoint. It requires reachable SSH/SFTP targets and valid credentials configured in its alias data.

The mcp-sftp-orchestrator MCP server can execute mutating actions, so read-only mode, per-alias restrictions, command policies, dry runs, and expected file hashes should be considered before enabling writes. ssh_authorize_key defaults to dry-run, while destructive task execution supports dry-run and force controls. Local path access can be restricted with MCP_ALLOWED_ROOTS.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Sftp Orchestrator

mcp-sftp-orchestrator is an MCP server that connects AI agents to configured remote hosts over SSH and SFTP. Its main tools run queued or interactive commands, transfer files, edit files with hash checks, inspect infrastructure, manage snapshots, and track tasks, projects, notes, and work sessions.

Install Node.js 18 or newer, clone the repository, run `npm install`, copy `.env.example` to `.env`, and configure the data directory and key paths. Start it through an MCP client with `node` and the absolute path to `server.js`.

Yes. The README provides a Claude Desktop JSON configuration that launches `node` with the absolute path to `server.js`, optionally passing `MCP_DATA_DIR` in the client environment.

Set `MCP_READONLY=1` for global protection, or mark an individual server alias as `readonly` in `servers.json`. Command blocklists, dry-run options, and expected file hashes provide additional controls for execution and edits.

It stores queued jobs in `queue.json` with a backup file and records completed task history in `history.json` under `MCP_DATA_DIR`. Queue size, autosave interval, and waiting timeouts can be adjusted through the documented environment variables.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Sftp Orchestrator AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-sftp-orchestrator?style=directory)](https://allmcps.com/mcp/mcp-sftp-orchestrator)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-sftp-orchestrator"><img src="https://allmcps.com/api/badge/mcp-sftp-orchestrator?style=directory" alt="MCP Sftp Orchestrator on AllMCPs" /></a>