Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ftp-ssh-mcp

MCP server by Chris221 Community

Works with a single remote host over FTP, FTPS, SFTP and SSH, with optional shell and MySQL access. Built for shared hosting plans and plain VPS servers. File transfer is on by default, while shell and database tools are opt-in.

  • Score 71
  • 1 stars
  • 106 a week
  • MIT
  • Updated

Install ftp-ssh-mcp

Built from the published package, never by AI.

claude mcp add ftp-ssh-mcp -- npx -y ftp-ssh-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install ftp-ssh-mcp in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ftp-ssh-mcp block.

About

ftp-ssh-mcp is an MCP server for working with one remote host over FTP, FTPS, SFTP and SSH. It groups its tools into file transfer, shell execution over SSH, and a MySQL query wrapper that runs over SSH. The file tools work over FTP or SFTP, depending on configuration.

File transfer is the only capability enabled by default. Shell execution and database access stay off until you turn them on in your .env file. The source warns that mysql_query is as risky as ssh_exec. It is aimed at shared hosting plans and plain VPS servers rather than cloud provider APIs.

Written from the project's README and checked against it.

Tools it gives your assistant

  • file_listLists files in the remote base directory.
  • file_uploadUploads a single file to the remote host.
  • file_upload_dirUploads a whole local directory to the remote host.
  • file_downloadDownloads a file from the remote host.
  • file_mkdirCreates a directory on the remote host.
  • file_deleteDeletes a remote file; requires REMOTE_ALLOW_DELETE=true.
  • ssh_execRuns a shell command over SSH; off unless SSH_ALLOW_EXEC=true.
  • mysql_queryRuns SQL on a MySQL database by piping it over SSH to the host's mysql client.

What you need

  • Node.js 20 or newer
  • A remote host reachable over FTP, FTPS, SFTP or SSH
  • Credentials for that host, kept in a .env file
  • The mysql client installed on the host, for mysql_query
  • Windows, macOS or Linux

Try asking

  • List the files in my remote public_html directory.
  • Upload my local build folder to the remote host.
  • Run a SQL query on my deploy database over SSH.

Good to know

  • Shell execution and database access are off by default.
  • mysql_query has no connection pooling or parameterised queries.
  • Without SSH_HOST_FINGERPRINT, any SSH host key is accepted.
  • The .env parser does not support inline comments.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl … | sh

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to ftp-ssh-mcp

All alternatives →
Supabase supabase
97

Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.

AAA Local 1.3k
DBHubbytebase
94

Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

ftp-ssh-mcp: common questions

Can it query a database without a connection from my machine?

Yes. mysql_query pipes SQL over SSH to the mysql client on the host, because most shared hosts do not accept outside database connections.

Is file transfer encrypted by default?

The default FTP_SECURITY is ftps, which is explicit TLS. Setting it to ftp uses plaintext.

Can I keep credentials out of my MCP client config?

Yes. The server reads a .env file from the working directory, and MCP_ENV_FILE can point to another file. Real environment variables take precedence over the .env file.

How do I install ftp-ssh-mcp?

In Claude Code run claude mcp add ftp-ssh-mcp -- npx -y ftp-ssh-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is ftp-ssh-mcp the official server?

ftp-ssh-mcp is a community project by Chris221, not verified by a company domain.

Is ftp-ssh-mcp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ftp-ssh-mcp safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to ftp-ssh-mcp?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does ftp-ssh-mcp work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

ftp-ssh-mcp Install

Add to stack

Loading.