Back to Home
infanputra icon

nettune

by infanputra

Overview

Nettune provides a client-side wrapper that downloads and runs a Go-based server in MCP stdio mode, enabling AI-assisted network diagnostics and TCP optimization for improved connection speeds and stability.

Installation

Run Command
npx @jtsang/nettune-mcp --api-key YOUR_API_KEY --server http://your-server:9876

Environment Variables

  • API_KEY
  • XDG_CACHE_HOME
  • HOME

Security Notes

The server component (`nettune server`) requires root privileges to modify system-level network configurations (sysctl, qdisc, systemd), which is a significant security consideration. The client-server communication uses HTTP with Bearer token authentication, but the README explicitly warns that TLS termination (e.g., via a reverse proxy) is recommended for production, implying non-encrypted communication by default. API keys are passed via command-line arguments, posing a risk if shell history or process lists are compromised. The Go adapters execute external commands (`tc`, `sysctl`, `systemctl`, `ip`), raising potential concerns for command injection if user-supplied profile parameters are not rigorously sanitized (though validation is present). The JavaScript wrapper downloads binaries from GitHub releases, and while it performs SHA256 checksum verification, the trust chain relies on GitHub's integrity. Running this server on an internet-exposed host without proper firewalling and TLS is highly risky.

Similar Servers

Stats

Interest Score0
Security Score5
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2026-01-19

Tags

network-optimizationtcp-tuningmcp-protocolnetwork-diagnosticsai-assisted-configuration