Expose 18 carrier-grade tools to Claude, Antigravity, and Cursor. Let autonomous agents monitor RSRP signal drops, lock high-speed LTE bands, clamp MTU to 1420 to prevent packet fragmentation, and read SMS verification codes.
npx -y @dulith/tplink-mcp
Stdio protocol supported across Claude Desktop, Antigravity, and Zed
Click any tool to inspect its JSON Schema and sample LLM prompt
router_profile_check
Diagnostics
Probe router gateway to detect hardware model, firmware build string, and auth encryption type (AES, RSA, MD5, or plain form).
router_get_status
Diagnostics
Retrieve comprehensive runtime telemetry: WAN IP, gateway, DNS servers, uptime, cellular network type, and connection state.
router_get_rf_signal
Cellular
Read cellular radio frequency telemetry: RSRP (dBm), RSRQ (dB), SINR (dB), RSSI, current LTE/5G band, and Physical Cell ID (PCI).
router_lock_cell_band
Cellular
Force-lock modem to specific LTE carrier band (e.g., Band 3 1800MHz, Band 8 900MHz, Band 40 2300MHz) or Physical Cell ID (PCI).
router_set_network_mode
Cellular
Switch cellular RAT between AUTO, 4G_ONLY, 3G_ONLY, and 5G_NSA to prevent drops to degraded 3G fallbacks.
router_manage_apn
Cellular
Read or update the cellular APN profile, PDP type (IPv4, IPv6, IPv4v6), and authentication credentials.
router_read_sms
SMS
List SMS messages stored on the SIM card, read sender phone numbers, timestamps, message content, and extract 2FA codes.
router_send_sms
SMS
Transmit an outgoing SMS message via the SIM modem to activate package bundles, query quotas, or send alerts.
router_send_ussd
SMS
Send interactive USSD code to the mobile network operator gateway and capture the returned response text.
router_get_wifi_status
Wi-Fi
Inspect 2.4GHz & 5GHz Wi-Fi interfaces: SSID, enable state, channel, channel width (20/40/80 MHz), and security cipher.
router_set_wifi_channel
Wi-Fi
Change Wi-Fi broadcast channel to avoid apartment or neighborhood frequency interference.
router_get_connected_devices
Wi-Fi
List all active DHCP and Wi-Fi clients with hostnames, IP addresses, MAC addresses, and connection interface.
router_reboot
System
Initiate a clean software reboot of the router OS and cellular modem module.
router_reconnect_wan
System
Tear down and re-establish the cellular PPP/QMI/NDIS WAN connection to obtain a fresh CGNAT IP lease without rebooting.
router_ping_pulse
Tuning
Send low-overhead 28-byte UDP/ICMP echo pulses to remote server to prevent carrier NAT timeout and radio state demotion.
router_benchmark_network
Tuning
Measure baseline latency, loaded bufferbloat jitter, and MTU path packet fragmentation.
router_optimize_network
Tuning
Apply or revert kernel BBR congestion control, 1420 MTU GTP clamping, and 1.1.1.1 DNS tuning.
router_execute_command
System
Execute arbitrary raw JSON-RPC or cgi-bin command directly against the router administrative interface.
Configure your favorite AI agent framework in seconds
{
"mcpServers": {
"tplink-router": {
"command": "npx",
"args": ["-y", "@dulith/tplink-mcp"],
"env": {
"TPLINK_ROUTER_IP": "192.168.1.1",
"TPLINK_PASSWORD": "your_router_password"
}
}
}
}