port_scan
Scan a target host using TCP connect scan on specified ports. Optionally grab service banners to identify running services.
Instructions
TCP connect-scan an in-scope host. ports is 'top' (a curated common
set) or a spec like '80,443,8000-8100'. Optionally grabs service banners.
Unprivileged and non-malformed (full handshake). Intrusive: requires
MOONMCP_ALLOW_INTRUSIVE and the host to be in scope.
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": {
"target": "<target>"
},
"name": "port_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | No | top | |
| target | Yes | ||
| timeout | No | ||
| grab_banner | No |