check-port
Test connectivity to remote servers by checking if specific ports are open or listening, using SSH connections to verify network accessibility.
Instructions
Check if a port is open/listening on the remote server or test connectivity to external hosts
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": {
"port": "<port>"
},
"name": "check-port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port number to check | |
| host | No | Host to check (optional, default is 'localhost' for local port check) | |
| connectionName | No | SSH connection name (optional, default is 'default') | |
| timeout | No | Connection timeout in seconds (optional, default is 5) |