Basic information
About sftp-ssh-mcp Server
MCP server exposing SSH and SFTP control for Linux and Windows systems via Model Context Protocol.
sftp-ssh-mcp is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by gradyyoung. It exposes 4 tools, including sftp_upload, sftp_download, sftp_list, exec. Supported transport: stdio. Runtime: node. License: MIT. The repository has 8 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"sftp-ssh-mcp": {
"command": "npx",
"args": [
"sftp-ssh-mcp",
"-y",
"--",
"--host=1.2.3.4",
"--port=22",
"--user=root",
"--password=pass",
"--key=path/to/key"
]
}
}
}
{
"mcpServers": {
"sftp-ssh-mcp": {
"command": "npx",
"args": [
"sftp-ssh-mcp",
"-y",
"--",
"--host=1.2.3.4",
"--port=22",
"--user=root",
"--password=pass",
"--key=path/to/key"
]
}
}
}
{
"servers": {
"sftp-ssh-mcp": {
"command": "npx",
"args": [
"sftp-ssh-mcp",
"-y",
"--",
"--host=1.2.3.4",
"--port=22",
"--user=root",
"--password=pass",
"--key=path/to/key"
]
}
}
}
sftp-ssh-mcp config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sftp-ssh-mcp": {
"command": "npx",
"args": [
"sftp-ssh-mcp",
"-y",
"--",
"--host=1.2.3.4",
"--port=22",
"--user=root",
"--password=pass",
"--key=path/to/key"
]
}
}
}
sftp-ssh-mcp tools
-
sftp_upload
— Upload a file to remote server via SFTP
localPath:string*, remotePath:string* -
sftp_download
— Download a file from remote server via SFTP
remotePath:string*, localPath:string* -
sftp_list
— List files in a remote directory via SFTP
remotePath:string* -
exec
— Execute a shell command on the remote SSH server and return the output.
command:string*
Overview
What is sftp-ssh-mcp?
sftp-ssh-mcp is a local Model Context Protocol (MCP) server that exposes SFTP‑SSH control for Linux and Windows systems, enabling LLMs and other MCP clients to execute shell commands securely via SSH.
How to use sftp-ssh-mcp?
Configure it in Claude Desktop by adding a JSON entry under mcpServers with the required arguments: --host, --port, --user, and optionally --password or --key. Run the server using npx sftp-ssh-mcp with the -y flag and the configuration flags.
Key features of sftp-ssh-mcp
- Executes shell commands on remote servers via SSH
- Supports both Linux and Windows target systems
- Authenticates with password or private SSH key
- Configurable host, port, username, and credentials
- Integrates as a local MCP server with Claude Desktop
- Lightweight, run via npx without installation
Use cases of sftp-ssh-mcp
- Execute ad‑hoc SSH commands from an LLM chat interface
- Automate server maintenance tasks using natural language prompts
- Securely manage remote servers without leaving a conversation
- Enable MCP clients to run scripts on Linux or Windows hosts
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In