ftp_connect
Connect to a remote server via a named profile or environment variables, enabling subsequent FTP/SFTP operations.
Instructions
Establish or switch the active connection to a specific remote server profile defined in your .ftpconfig (e.g., 'production', 'staging'). This is the first step before performing any remote operations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ftp_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| useEnv | No | If true, bypasses .ftpconfig and connects using global environment variables (FTPMCP_HOST, etc.) | |
| profile | No | The named profile key from your .ftpconfig file. |