Koskamo

sftp-mcp

An SFTP-only Model Context Protocol server that allows AI assistants to browse, edit, transfer, and sync files without requiring shell access. It is designed to work with chrooted SFTP accounts and shared-hosting environments where SSH servers cannot run, enforcing per-server read-only, non-destructive, and path policies.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

sftp-mcp logo, by AdversTMCommunity listingLocal stdioSource reviewed; not executedPublished by AdversTM
Vendor documentation

What you can do with it

  • Deploying a website
  • Editing configuration files
  • Pulling logs
  • Syncing a build

Source and maintenance

Community listingRegistry 1.1.4
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

sftp-mcp 1.1.4

npmnpx
sftp-mcp package definition
{
  "version": "1.1.4",
  "transport": "stdio",
  "identifier": "sftp-mcp",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "SFTP_HOST",
      "format": "string",
      "description": "SSH host (single-server mode)."
    },
    {
      "name": "SFTP_PORT",
      "format": "number",
      "default": "22",
      "description": "SSH port."
    },
    {
      "name": "SFTP_USER",
      "format": "string",
      "description": "SSH username (single-server mode)."
    },
    {
      "name": "SFTP_PASSWORD",
      "format": "string",
      "description": "Password authentication."
    },
    {
      "name": "SFTP_PRIVATE_KEY",
      "format": "filepath",
      "description": "Path to a private key file."
    },
    {
      "name": "SFTP_PASSPHRASE",
      "format": "string",
      "description": "Passphrase for the private key."
    },
    {
      "name": "SFTP_SERVERS_FILE",
      "format": "filepath",
      "description": "Path to a JSON map of server id to connection, for multiple servers. Replaces the single-server variables."
    },
    {
      "name": "SFTP_READ_ONLY",
      "format": "boolean",
      "default": "false",
      "description": "Deny every remote mutation."
    },
    {
      "name": "SFTP_ALLOW_DESTRUCTIVE",
      "format": "boolean",
      "default": "true",
      "description": "Set to false to deny delete, rmdir, rename and non-dry-run sync."
    },
    {
      "name": "SFTP_ALLOWED_WRITE_PREFIX",
      "format": "string",
      "description": "Absolute remote path prefix that mutations are limited to."
    },
    {
      "name": "SFTP_ALLOWED_READ_PREFIX",
      "format": "string",
      "description": "Absolute remote path prefix that reads are limited to."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "sftp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sftp-mcp@1.1.4"
      ],
      "env": {
        "SFTP_HOST": "<YOUR_SFTP_HOST>",
        "SFTP_PORT": "<YOUR_SFTP_PORT>",
        "SFTP_USER": "<YOUR_SFTP_USER>",
        "SFTP_PASSWORD": "<YOUR_SFTP_PASSWORD>",
        "SFTP_PRIVATE_KEY": "<YOUR_SFTP_PRIVATE_KEY>",
        "SFTP_PASSPHRASE": "<YOUR_SFTP_PASSPHRASE>",
        "SFTP_SERVERS_FILE": "<YOUR_SFTP_SERVERS_FILE>",
        "SFTP_READ_ONLY": "<YOUR_SFTP_READ_ONLY>",
        "SFTP_ALLOW_DESTRUCTIVE": "<YOUR_SFTP_ALLOW_DESTRUCTIVE>",
        "SFTP_ALLOWED_WRITE_PREFIX": "<YOUR_SFTP_ALLOWED_WRITE_PREFIX>",
        "SFTP_ALLOWED_READ_PREFIX": "<YOUR_SFTP_ALLOWED_READ_PREFIX>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "sftp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sftp-mcp@1.1.4"
      ],
      "env": {
        "SFTP_HOST": "<YOUR_SFTP_HOST>",
        "SFTP_PORT": "<YOUR_SFTP_PORT>",
        "SFTP_USER": "<YOUR_SFTP_USER>",
        "SFTP_PASSWORD": "<YOUR_SFTP_PASSWORD>",
        "SFTP_PRIVATE_KEY": "<YOUR_SFTP_PRIVATE_KEY>",
        "SFTP_PASSPHRASE": "<YOUR_SFTP_PASSPHRASE>",
        "SFTP_SERVERS_FILE": "<YOUR_SFTP_SERVERS_FILE>",
        "SFTP_READ_ONLY": "<YOUR_SFTP_READ_ONLY>",
        "SFTP_ALLOW_DESTRUCTIVE": "<YOUR_SFTP_ALLOW_DESTRUCTIVE>",
        "SFTP_ALLOWED_WRITE_PREFIX": "<YOUR_SFTP_ALLOWED_WRITE_PREFIX>",
        "SFTP_ALLOWED_READ_PREFIX": "<YOUR_SFTP_ALLOWED_READ_PREFIX>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "sftp-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sftp-mcp@1.1.4"
      ],
      "env": {
        "SFTP_HOST": "<YOUR_SFTP_HOST>",
        "SFTP_PORT": "<YOUR_SFTP_PORT>",
        "SFTP_USER": "<YOUR_SFTP_USER>",
        "SFTP_PASSWORD": "<YOUR_SFTP_PASSWORD>",
        "SFTP_PRIVATE_KEY": "<YOUR_SFTP_PRIVATE_KEY>",
        "SFTP_PASSPHRASE": "<YOUR_SFTP_PASSPHRASE>",
        "SFTP_SERVERS_FILE": "<YOUR_SFTP_SERVERS_FILE>",
        "SFTP_READ_ONLY": "<YOUR_SFTP_READ_ONLY>",
        "SFTP_ALLOW_DESTRUCTIVE": "<YOUR_SFTP_ALLOW_DESTRUCTIVE>",
        "SFTP_ALLOWED_WRITE_PREFIX": "<YOUR_SFTP_ALLOWED_WRITE_PREFIX>",
        "SFTP_ALLOWED_READ_PREFIX": "<YOUR_SFTP_ALLOWED_READ_PREFIX>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "sftp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sftp-mcp@1.1.4"
      ],
      "env": {
        "SFTP_HOST": "<YOUR_SFTP_HOST>",
        "SFTP_PORT": "<YOUR_SFTP_PORT>",
        "SFTP_USER": "<YOUR_SFTP_USER>",
        "SFTP_PASSWORD": "<YOUR_SFTP_PASSWORD>",
        "SFTP_PRIVATE_KEY": "<YOUR_SFTP_PRIVATE_KEY>",
        "SFTP_PASSPHRASE": "<YOUR_SFTP_PASSPHRASE>",
        "SFTP_SERVERS_FILE": "<YOUR_SFTP_SERVERS_FILE>",
        "SFTP_READ_ONLY": "<YOUR_SFTP_READ_ONLY>",
        "SFTP_ALLOW_DESTRUCTIVE": "<YOUR_SFTP_ALLOW_DESTRUCTIVE>",
        "SFTP_ALLOWED_WRITE_PREFIX": "<YOUR_SFTP_ALLOWED_WRITE_PREFIX>",
        "SFTP_ALLOWED_READ_PREFIX": "<YOUR_SFTP_ALLOWED_READ_PREFIX>"
      }
    }
  }
}

Let your agent find its tools

Find servers like sftp-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.