port_check
Checks whether specified TCP ports on a host are open, closed, or filtered, captures service banners, and warns about risky internet-exposed services such as databases, RDP, or telnet.
Instructions
Check whether specific TCP ports on one host are reachable, and grab any banner.
ports is e.g. '22,80,443' or '8000-8005' (max 20 ports per call; this is a health check, not a
scanner, and CIDR ranges are refused). Each port is reported open, closed (refused) or filtered
(no answer, usually a firewall). Open ports are listened to passively for a banner (SSH, SMTP,
FTP announce themselves); nothing is sent. Warns when databases/RDP/telnet are open to the internet.
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": {
"host": "<host>"
},
"name": "port_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| ports | No | 80,443 | |
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |