add_server
Configure SSH servers for remote access by adding or updating connection details, including authentication, proxy, and jump host.
Instructions
Add or update server configuration
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server_id": "<server_id>",
"name": "<name>",
"host": "<host>",
"username": "<username>"
},
"name": "add_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | IP address or hostname | |
| name | Yes | Server name | |
| port | No | SSH port, default 22 | |
| proxy | No | SOCKS5/4 proxy preset ID. Leave empty for direct connection | |
| password | No | SSH password | |
| username | Yes | SSH username | |
| jump_host | No | Jump host server ID (ProxyJump) | |
| server_id | Yes | Server ID (unique identifier) | |
| use_agent | No | Use system ssh-agent | |
| passphrase | No | Private key passphrase | |
| private_key | No | Private key file path (file must exist) | |
| private_key_content | No | Private key content string (takes priority over private_key) | |
| keyboard_interactive | No | Enable keyboard-interactive auth (OTP/2FA) |