ftp-ssh-mcp
by Chris221
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_NAME | No | Default database for mysql_query. | |
| DB_USER | No | Database user for mysql_query. Must be set explicitly (does not inherit REMOTE_USER). | |
| FTP_HOST | No | FTP host, inherits REMOTE_HOST. | inherits REMOTE_HOST |
| FTP_PORT | No | FTP port. | 21 |
| FTP_USER | No | FTP user, inherits REMOTE_USER. | inherits REMOTE_USER |
| SSH_HOST | No | SSH host, inherits REMOTE_HOST. | inherits REMOTE_HOST |
| SSH_PORT | No | SSH port. | 22 |
| SSH_USER | No | SSH user, inherits REMOTE_USER. | inherits REMOTE_USER |
| DB_PASSWORD | No | Database password. Not required; if unset, remote mysql client may use ~/.my.cnf. | |
| REMOTE_HOST | No | Shared host, used when a profile does not set its own. | |
| REMOTE_USER | No | Shared user. | |
| FTP_BASE_DIR | No | Base directory for files tools on FTP. Inherits REMOTE_BASE_DIR, then SSH_BASE_DIR. | |
| FTP_PASSWORD | No | FTP password. If FTP_USER is set, must be set explicitly; otherwise inherits REMOTE_PASSWORD. | |
| FTP_SECURITY | No | FTP security mode: ftps, ftp, or ftps-implicit. | ftps |
| MCP_ENV_FILE | No | Path to an alternate .env file. A leading ~ is expanded; relative paths resolve against the working directory. | |
| SSH_ACTIVATE | No | Remote path to a script sourced before every command. | |
| SSH_BASE_DIR | No | Base directory for ssh_exec and mysql_query, and confinement for sftp files. Inherits REMOTE_BASE_DIR, then FTP_BASE_DIR. | |
| SSH_PASSWORD | No | SSH password. If SSH_USER is set, must be set explicitly; otherwise inherits REMOTE_PASSWORD. | |
| FILE_TRANSPORT | No | Which profile serves the files tools: ftp or sftp. | ftp if FTP profile configured, else sftp if SSH profile configured, else ftp |
| FTP_TIMEOUT_MS | No | FTP timeout in milliseconds. | 30000 |
| SSH_ALLOW_EXEC | No | Must be true for ssh_exec to be registered. | false |
| SSH_MAX_OUTPUT | No | Combined stdout+stderr byte cap per command. | 100000 |
| SSH_PASSPHRASE | No | Passphrase for SSH_PRIVATE_KEY. | |
| SSH_TIMEOUT_MS | No | Connection and per-command timeout in milliseconds. | 120000 |
| REMOTE_BASE_DIR | No | Shared base directory that remote paths are confined to. A leading ~ is expanded to the account's login directory. | |
| REMOTE_PASSWORD | No | Shared secret. Only inherited by a profile with no *_USER of its own. | |
| REMOTE_READONLY | No | When true, blocks every write across file transfer, ssh_exec, and mysql_query. | false |
| SSH_PRIVATE_KEY | No | Local path to a private key for SSH authentication. | |
| MCP_CAPABILITIES | No | Comma-separated allowlist restricting which capabilities register tools (files, ssh, mysql). | all configured capabilities |
| SSH_ALLOWED_CMDS | No | Comma-separated allowlist of program names ssh_exec may invoke. Presets: @basic, @node, @php, @mysql. | @basic,@node,@mysql |
| REMOTE_ALLOW_DELETE | No | Must be true for file_delete to work. | false |
| SSH_HOST_FINGERPRINT | No | SHA-256 host key fingerprint to pin. Inherits REMOTE_HOST_FINGERPRINT. If unset, any host key is accepted (with a warning). | |
| REMOTE_HOST_FINGERPRINT | No | Shared SSH host key fingerprint; inherited by SSH_HOST_FINGERPRINT. | |
| FTP_TLS_REJECT_UNAUTHORIZED | No | Set false to accept self-signed certificates. | true |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Chris221/ftp-ssh-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server