MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
SFTP-only file access for AI: browse, edit, transfer and sync files, no shell access needed.
Skills that teach the AI this kind of work; they work alongside this one
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
A privacy-first app that strips AI watermarks from content you own.
Agent skills for Obsidian. Teach your agent to use Obsidian CLI and open formats including Markdown, Bases, JSON Canvas.
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 0/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 12/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install SFTP. Follow https://mcp.popnx.com/i/adverstm-sftp-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a SFTP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server SFTP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "sftp": { "command": "npx", "args": [ "-y", "sftp-mcp" ], "env": { "SFTP_PASSWORD": "your-value", "SFTP_PRIVATE_KEY": "your-value", "SFTP_PASSPHRASE": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SFTP_PASSWORD, SFTP_PRIVATE_KEY, SFTP_PASSPHRASE, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the SFTP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
SettingsDeveloperEdit Config
{
"mcpServers": {
"sftp": {
"command": "npx",
"args": [
"-y",
"sftp-mcp"
],
"env": {
"SFTP_PASSWORD": "your-value",
"SFTP_PRIVATE_KEY": "your-value",
"SFTP_PASSPHRASE": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use SFTP and tell me what you can do for me, then show me one thing✓ If Claude says it is using SFTP or shows a SFTP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SFTP_HOST SSH host (single-server mode).SFTP_PORT SSH port. · default 22SFTP_USER SSH username (single-server mode).SFTP_SERVERS_FILE Path to a JSON map of server id to connection, for multiple servers. Replaces the single-server variables.SFTP_READ_ONLY Deny every remote mutation. · default falseSFTP_ALLOW_DESTRUCTIVE Set to false to deny delete, rmdir, rename and non-dry-run sync. · default trueSFTP_ALLOWED_WRITE_PREFIX Absolute remote path prefix that mutations are limited to.SFTP_ALLOWED_READ_PREFIX Absolute remote path prefix that reads are limited to.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect SFTP yet
SFTP runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect SFTP
Works with Claude Code, with some setup first
You need a SFTP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server SFTP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user sftp --env SFTP_PASSWORD=your-value --env SFTP_PRIVATE_KEY=your-value --env SFTP_PASSPHRASE=your-value -- npx -y sftp-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SFTP_PASSWORD, SFTP_PRIVATE_KEY, SFTP_PASSPHRASE, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the SFTP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user sftp --env SFTP_PASSWORD=your-value --env SFTP_PRIVATE_KEY=your-value --env SFTP_PASSPHRASE=your-value -- npx -y sftp-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see SFTP listed as connected
Use SFTP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using SFTP or shows a SFTP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SFTP_HOST SSH host (single-server mode).SFTP_PORT SSH port. · default 22SFTP_USER SSH username (single-server mode).SFTP_SERVERS_FILE Path to a JSON map of server id to connection, for multiple servers. Replaces the single-server variables.SFTP_READ_ONLY Deny every remote mutation. · default falseSFTP_ALLOW_DESTRUCTIVE Set to false to deny delete, rmdir, rename and non-dry-run sync. · default trueSFTP_ALLOWED_WRITE_PREFIX Absolute remote path prefix that mutations are limited to.SFTP_ALLOWED_READ_PREFIX Absolute remote path prefix that reads are limited to.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a SFTP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server SFTP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "sftp": { "command": "npx", "args": [ "-y", "sftp-mcp" ], "env": { "SFTP_PASSWORD": "your-value", "SFTP_PRIVATE_KEY": "your-value", "SFTP_PASSPHRASE": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SFTP_PASSWORD, SFTP_PRIVATE_KEY, SFTP_PASSPHRASE, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the SFTP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the SFTP settings, SFTP_PASSWORD, SFTP_PRIVATE_KEY, SFTP_PASSPHRASE is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use SFTP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using SFTP or shows a SFTP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SFTP_HOST SSH host (single-server mode).SFTP_PORT SSH port. · default 22SFTP_USER SSH username (single-server mode).SFTP_SERVERS_FILE Path to a JSON map of server id to connection, for multiple servers. Replaces the single-server variables.SFTP_READ_ONLY Deny every remote mutation. · default falseSFTP_ALLOW_DESTRUCTIVE Set to false to deny delete, rmdir, rename and non-dry-run sync. · default trueSFTP_ALLOWED_WRITE_PREFIX Absolute remote path prefix that mutations are limited to.SFTP_ALLOWED_READ_PREFIX Absolute remote path prefix that reads are limited to.Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a SFTP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server SFTP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "sftp": { "type": "stdio", "command": "npx", "args": [ "-y", "sftp-mcp" ], "env": { "SFTP_PASSWORD": "your-value", "SFTP_PRIVATE_KEY": "your-value", "SFTP_PASSPHRASE": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SFTP_PASSWORD, SFTP_PRIVATE_KEY, SFTP_PASSPHRASE, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the SFTP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the SFTP settings, SFTP_PASSWORD, SFTP_PRIVATE_KEY, SFTP_PASSPHRASE is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use SFTP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using SFTP or shows a SFTP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SFTP_HOST SSH host (single-server mode).SFTP_PORT SSH port. · default 22SFTP_USER SSH username (single-server mode).SFTP_SERVERS_FILE Path to a JSON map of server id to connection, for multiple servers. Replaces the single-server variables.SFTP_READ_ONLY Deny every remote mutation. · default falseSFTP_ALLOW_DESTRUCTIVE Set to false to deny delete, rmdir, rename and non-dry-run sync. · default trueSFTP_ALLOWED_WRITE_PREFIX Absolute remote path prefix that mutations are limited to.SFTP_ALLOWED_READ_PREFIX Absolute remote path prefix that reads are limited to.Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user sftp --env SFTP_PASSWORD=your-value --env SFTP_PRIVATE_KEY=your-value --env SFTP_PASSPHRASE=your-value -- npx -y sftp-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"sftp": {
"command": "npx",
"args": [
"-y",
"sftp-mcp"
],
"env": {
"SFTP_PASSWORD": "your-value",
"SFTP_PRIVATE_KEY": "your-value",
"SFTP_PASSPHRASE": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"sftp": {
"command": "npx",
"args": [
"-y",
"sftp-mcp"
],
"env": {
"SFTP_PASSWORD": "your-value",
"SFTP_PRIVATE_KEY": "your-value",
"SFTP_PASSPHRASE": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"sftp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sftp-mcp"
],
"env": {
"SFTP_PASSWORD": "your-value",
"SFTP_PRIVATE_KEY": "your-value",
"SFTP_PASSPHRASE": "your-value"
}
}
}
}SFTP_HOST envSFTP_PORT envSFTP_USER envSFTP_PASSWORD secret required envSFTP_PRIVATE_KEY secret required envSFTP_PASSPHRASE secret required envSFTP_SERVERS_FILE envSFTP_READ_ONLY envSFTP_ALLOW_DESTRUCTIVE envSFTP_ALLOWED_WRITE_PREFIX envSFTP_ALLOWED_READ_PREFIX envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: sftp-mcpBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
The registry name was verified with the GitHub account AdversTM, which owns the repo
Code last changed 8 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for sftp-mcp@1.1.4
Checks only this package version, not every dependency · checked Nov 16, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/adverstm-sftp-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: SFTP_PASSWORD, SFTP_PRIVATE_KEY, SFTP_PASSPHRASE
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 8 days ago, and the latest version (1.1.4) reached the registry 8 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, Anki MCP Server
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Atlassian’s official server lets AI search and manage Jira work and Confluence pages. Connects to Atlassian’s cloud with OAuth sign-in.
MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.
| This one SFTP | Puter MCP | XcodeBuildMCP | Vexa | Atlassian Rovo MCP Server | Anki MCP Server | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Installs on your computer |
| Needs a key | Yes | No | No | Yes | No | No |
| Add with + in Claude | No | No | No | No | Yes | No |
| Basic checks | 3/3 | 4/4 | 3/3 | 2/4 | 4/4 | 3/3 |
| License | MIT | AGPL-3.0 | MIT | Apache-2.0 | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
SFTP for AI assistants. Files only, no shell.
A Model Context Protocol server that lets Claude and other MCP clients browse, edit, transfer and sync files over plain SFTP. It works on chrooted, SFTP-only and shared-hosting accounts where SSH-based servers can't run, and the assistant never gets a shell.
Install · Configure · Tools · Security · Contribute
Most MCP servers for remote machines are SSH servers that can also move files. They need a shell account and give the assistant command execution. sftp-mcp does the opposite: it only speaks the SFTP protocol.
| sftp-mcp | Typical SSH MCP server | |
|---|---|---|
| Works with SFTP-only and chrooted accounts | Yes | Usually needs a shell |
| Assistant can run arbitrary commands | No | Yes |
| Read-only, no-delete and path limits per server | Built in | Varies |
| Many hosts from one process | Yes | Varies |
| Parallel transfers over one warm connection per host | Yes | Varies |
| Directory sync that uploads only changed files | Yes | Varies |
The only remote command it ever sends is a fixed sha256sum for hashing. If the account has no shell, it hashes over SFTP instead.
Pick sftp-mcp when the assistant should work with files: deploying a site, editing configs, pulling logs or syncing a build. Pick an SSH server when it needs to run commands.
Requires Node.js 24 or newer. Most MCP clients can start the server straight from npm, with nothing to install:
npx -y sftp-mcp
Or install it globally and use the sftp-mcp command:
npm install -g sftp-mcp
Add the server to your MCP client. For Claude Desktop, edit claude_desktop_config.json:
{
"mcpServers": { "sftp": { "command": "npx", "args": ["-y", "sftp-mcp"], "env": { "SFTP_HOST": "sftp.example.com", "SFTP_USER": "deploy", "SFTP_PRIVATE_KEY": "/home/me/.ssh/id_ed25519" } } } }
On Windows, npx may need to go through cmd: "command": "cmd", "args": ["/c", "npx", "-y", "sftp-mcp"].
For Claude Code:
claude mcp add sftp -e SFTP_HOST=sftp.example.com -e SFTP_USER=deploy \
-e SFTP_PRIVATE_KEY=$HOME/.ssh/id_ed25519 -- npx -y sftp-mcp
Restart the client and ask it something like _"list /var/www on the sftp server"_.
All configuration comes from environment variables. Invalid values stop the server at startup with a clear error, so a typo never quietly loosens a policy.
| Variable | Default | Description |
|---|---|---|
SFTP_HOST | required | SSH host |
SFTP_PORT | 22 | SSH port |
SFTP_USER | required | SSH username |
SFTP_PASSWORD | Password authentication | |
SFTP_PRIVATE_KEY | Path to a private key file | |
SFTP_PASSPHRASE | Passphrase for the private key |
The server is registered with the id default.
Describe the servers as a JSON map of id to connection. Pass it inline in SFTP_SERVERS, or as a file path in SFTP_SERVERS_FILE. You can't set both.
{
"prod": { "host": "prod.example.com", "username": "deploy", "privateKey": "/home/me/.ssh/id_ed25519", "allowedWritePrefix": "/var/www", "allowDestructive": false, "description": "Production web" }, "staging": { "host": "staging.example.com", "port": 2222, "username": "ci", "password": "secret" } }
| Field | Description |
|---|---|
host, username (alias user) | Required |
port | Defaults to 22 |
password, privateKey, passphrase | Credentials. privateKey is a local file path |
readOnly, allowDestructive, readyTimeout | Per-server overrides of the global settings below |
allowedReadPrefix, allowedWritePrefix | Path restrictions, see Access control |
description | Shown to the assistant in sftp_list_servers |
Ids must match A-Za-z0-9*. Unknown fields stop startup. The single-server variables can't be combined with a server map.
| Variable | Default | Description |
|---|---|---|
SFTP_READ_ONLY | false | Deny every remote mutation |
SFTP_ALLOW_DESTRUCTIVE | true | false denies delete, rmdir, rename and non-dry-run sync |
SFTP_ALLOWED_WRITE_PREFIX | Absolute path prefix for mutations (single-server mode) | |
SFTP_ALLOWED_READ_PREFIX | Absolute path prefix for reads (single-server mode) | |
SFTP_DISABLED_TOOLS | Comma-separated tool names to hide from the client | |
SFTP_READY_TIMEOUT | 20000 | SSH handshake timeout, in ms |
SFTP_MAX_READ_BYTES | 1048576 | Size limit for sftp_read. Larger files must use sftp_download |
SFTP_MAX_CONCURRENCY | 8 | Default parallelism of the batch tools |
SFTP_TRANSFER_CONCURRENCY | 64 | In-flight requests per file transfer |
SFTP_CHUNK_SIZE | 32768 | Transfer chunk size in bytes (minimum 1024) |
SFTP_LOG_FILE | Also append logs to this file, for clients that hide stderr. Its directory must exist |
Booleans must be exactly true or false.
Policies apply to each server separately and are checked before any SFTP request is sent.
| Policy | Effect |
|---|---|
readOnly: true | Blocks every mutation, including dry-run sync. Overrides everything else. |
allowDestructive: false | Writes, uploads and mkdir still work. Delete, rmdir, rename/move and non-dry-run sync are blocked. |
allowedWritePrefix | Mutations only inside this path. Both ends of a rename are checked. |
allowedReadPrefix | Listing, reading, downloads, stat and hashing only inside this path. |
Prefixes are normalized and compared as POSIX paths: /srv/app allows /srv/app and /srv/app/x, but not /srv/app-old. A prefix of / allows everything.
[!IMPORTANT]
Prefix checks are lexical. A symlink on the server can still point outside the allowed prefix.
For hard isolation, use a chroot, account permissions, or SFTP server configuration.
To hide tools from the assistant entirely, set SFTP_DISABLED_TOOLS, for example sftp_delete,sftp_sync_dir. Hidden tools are never registered, so they never appear in the client's tool list.
Every tool except sftp_list_servers takes a server argument (one of the configured ids).
| Tool | Kind | Description |
|---|---|---|
sftp_list_servers | discovery | Configured servers with their address, policy and description |
sftp_list | read | List a directory (type, size, mtime, name) |
sftp_read | read | Read a text file, up to SFTP_MAX_READ_BYTES |
sftp_stat | read | File metadata |
sftp_exists | read | false, or the entry type: d, - or l |
sftp_sha256 | read | SHA-256 via sha256sum on the server, falling back to SFTP streaming |
sftp_download | read | Download a remote file to a local path |
sftp_download_many | read | Parallel downloads |
sftp_write | write | Create or overwrite a text file from inline content |
sftp_upload | write | Upload a local file (binary-safe, parallel chunks) |
sftp_mkdir | write | Create a directory, optionally recursive |
sftp_write_many | write | Parallel text writes |
sftp_upload_many | write | Parallel uploads |
sftp_sync_dir | write | Upload missing, changed or newer files. Can also delete remote files missing locally. Supports dryRun |
sftp_delete | destructive | Delete a file |
sftp_rmdir | destructive | Remove a directory, optionally recursive |
sftp_rename | destructive | Rename or move |
sftp_delete_many | destructive | Parallel deletes |
Batch tools report each failure individually, so one bad file doesn't abort the batch.
Requires Bun 1.4+ for tooling. The published pa