Skip to content

Network

Tools for inspecting network interfaces, connections, and listening ports.

Choosing where to run

All tools on this page require a host parameter (string). Pass localhost to run the command on the system the MCP server runs on, or a remote machine to run it there via SSH. See SSH Configuration for details, and Host mode for restricting which of the two a server accepts.

get_listening_ports

Get details on listening port, protocols, and services.

get_network_connections

Get detailed information about active network connections.

get_network_interfaces

Get detailed information about network interfaces including address and traffic statistics.