Network Tools¶
network ¶
Network diagnostic tools.
get_listening_ports
async
¶
Get listening ports.
Retrieves all ports with services actively listening for connections, including protocol (TCP/UDP), bind address, port number, and process name.
Source code in src/linux_mcp_server/tools/network.py
get_network_connections
async
¶
Get active network connections.
Retrieves all established and pending network connections including protocol, state, local/remote addresses and ports, and associated process information.
Source code in src/linux_mcp_server/tools/network.py
get_network_interfaces
async
¶
Get network interface information.
Retrieves all network interfaces with their operational state, IP addresses, and traffic statistics (bytes/packets sent/received, errors, dropped packets).