MCP 服务器

Port Scanner API

com.portscan/port-scanner
安全 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Scans the requesting machine's own public IP for open TCP ports and service banners.

deep_scan
Deep port scan (all ports)
Scan all 65535 TCP ports (~1-5 min) of YOUR OWN public IP address - the egress IP of the machine running this MCP client. There is no target argument: by policy portscan only scans the requester's own IP. The call is non-blocking and keyed by your IP: it starts a scan if none is running, otherwise returns the current state. Call deep_scan repeatedly to poll until status is "complete" (or "incomplete"/"failed"); open ports and service banners are in the result. Pass rescan:true to force a fresh scan when a previous result already exists.
可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'rescan': {'type': 'boolean', 'default': False, 'description': 'Force a new scan even if a recent result exists for your IP. Default false: reuse the in-flight or last result.'}}}
输出模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ip', 'scan_type', 'status', 'message'], 'properties': {'ip': {'type': 'string'}, 'status': {'enum': ['queued', 'running', 'complete', 'incomplete', 'failed'], 'type': 'string'}, 'message': {'type': 'string'}, 'partial': {'type': 'boolean'}, 'percent': {'type': 'number'}, 'scan_type': {'enum': ['fast', 'deep'], 'type': 'string'}, 'ports_open': {'type': 'array', 'items': {'type': 'object', 'required': ['port', 'service', 'banner'], 'properties': {'port': {'type': 'number'}, 'banner': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'service': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'ptr_record': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'duration_ms': {'anyOf': [{'type': 'number'}, {'type': 'null'}]}, 'fail_reason': {'type': 'string'}, 'total_chunks': {'type': 'number'}, 'ports_filtered': {'type': 'array', 'items': {'type': 'number'}}, 'chunks_complete': {'type': 'number'}, 'service_banners': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'poll_after_seconds': {'type': 'number'}}, 'additionalProperties': False}
fast_scan
Fast port scan (common ports)
Scan the 32 most common TCP ports (~20s) of YOUR OWN public IP address - the egress IP of the machine running this MCP client. There is no target argument: by policy portscan only scans the requester's own IP. The call is non-blocking and keyed by your IP: it starts a scan if none is running, otherwise returns the current state. Call fast_scan repeatedly to poll until status is "complete" (or "incomplete"/"failed"); open ports and service banners are in the result. Pass rescan:true to force a fresh scan when a previous result already exists.
可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'rescan': {'type': 'boolean', 'default': False, 'description': 'Force a new scan even if a recent result exists for your IP. Default false: reuse the in-flight or last result.'}}}
输出模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['ip', 'scan_type', 'status', 'message'], 'properties': {'ip': {'type': 'string'}, 'status': {'enum': ['queued', 'running', 'complete', 'incomplete', 'failed'], 'type': 'string'}, 'message': {'type': 'string'}, 'partial': {'type': 'boolean'}, 'percent': {'type': 'number'}, 'scan_type': {'enum': ['fast', 'deep'], 'type': 'string'}, 'ports_open': {'type': 'array', 'items': {'type': 'object', 'required': ['port', 'service', 'banner'], 'properties': {'port': {'type': 'number'}, 'banner': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'service': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'ptr_record': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'duration_ms': {'anyOf': [{'type': 'number'}, {'type': 'null'}]}, 'fail_reason': {'type': 'string'}, 'total_chunks': {'type': 'number'}, 'ports_filtered': {'type': 'array', 'items': {'type': 'number'}}, 'chunks_complete': {'type': 'number'}, 'service_banners': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'poll_after_seconds': {'type': 'number'}}, 'additionalProperties': False}
已添加
deep_scan
2026年9月17日 12:36
已添加
fast_scan
2026年9月17日 12:36