TCP port scanning β check open ports on any host. x402 micropayment.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Scan TCP ports on any host -- check open/closed status, response time. 16 common ports by default. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
| Tool | Method | Path | Price | Description |
|---|---|---|---|---|
network_scan_ports | POST | /api/scan | $0.008 | Scan common ports on a host to check which are open |
network_scan_portsUse this when you need to check which TCP ports are open on a host. Returns port status and response times in JSON.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
host | string | yes | The hostname or IP address to scan |
ports | array | no | Array of port numbers to scan (default: [21,22,25,53,80,110,143,443,993,995,3306,3389,5432,6379,8080,8443]) |
Example response:
When to use: server reconnaissance, verifying firewall rules, checking service availability, and infrastructure auditing.
Not for: DNS resolution (use network_lookup_dns), SSL certificate checks (use security_check_ssl), HTTP header analysis (use network_analyze_headers).
eip155:8453)100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/port-scanner-api-2)<a href="https://allmcps.com/mcp/port-scanner-api-2"><img src="https://allmcps.com/api/badge/port-scanner-api-2?style=directory" alt="Port Scanner API on AllMCPs" /></a>