About Nettune
Nettune is an MCP server published by jtsang4 in the AI category: a network diagnostics and TCP optimization tool with MCP (Model Context Protocol) integration for AI-assisted configuration. Conduid read 10 tools from its source: nettune.apply_profile, nettune.create_profile, nettune.list_profiles, nettune.rollback, nettune.show_profile, nettune.snapshot_server and 4 more. No package is published for it, so it installs from a source checkout.
The repository has 29 stars and 3 forks, is licensed MIT, and its last commit was on 27 Dec 2025. The latest release is v0.2.5 (27 Dec 2025). It follows v0.2.4 (14 Dec 2025), and the 5 most recent releases go back to v0.2.1 (6 Dec 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include network-optimization, nettune, tcp and bbr.
Install
git clone https://github.com/jtsang4/nettuneTools (10)
nettune.apply_profileApply a profile (dry_run or commit mode)| Parameter | Type | Description |
|---|---|---|
| auto_rollback_seconds | number | Seconds to wait before auto-rollback if verification fails (default: 60, 0 to disable) |
| mode * | string | Mode: 'dry_run' to preview changes, 'commit' to apply |
| profile_id * | string | The ID of the profile to apply |
nettune.create_profileCreate a custom optimization profile| Parameter | Type | Description |
|---|---|---|
| description | string | Detailed description of what this profile does and when to use it |
| id * | string | Unique profile ID (alphanumeric with hyphens, e.g., 'my-custom-profile') |
| name * | string | Human-readable profile name (e.g., 'Low Latency Gaming Profile') |
| qdisc_interfaces | string | Which interfaces to apply qdisc to |
| qdisc_params | object | Additional qdisc parameters. Valid params by type: fq: limit, flow_limit, quantum, initial_quantum, maxrate, buckets, pacing, nopacing, refill_delay, low_rate_threshold, orphan_mask, timer_slack, ce_threshold, horizon; fq_codel: limit, flows, target, interval, quantum, ecn, noecn, ce_threshold, memory_limit; cake: bandwidth, besteffort, diffserv3, diffserv4, diffserv8, flowblind, srchost, dsthost, hosts, flows, memlimit, rtt, overhead; pfifo_fast: (no params). Example: {'limit': 10000} for fq. |
| qdisc_type | string | Queue discipline type for traffic control |
| requires_reboot | boolean | Whether applying this profile requires a system reboot (default: false) |
| risk_level * | string | Risk level of the profile |
| sysctl | object | Sysctl parameters to set. Keys are sysctl paths (e.g., 'net.core.rmem_max'), values are the desired settings. |
| systemd_ensure_qdisc_service | boolean | Whether to create a systemd service to persist qdisc settings across reboots (default: false) |
nettune.list_profilesList available optimization profilesnettune.rollbackRollback to a previous snapshot| Parameter | Type | Description |
|---|---|---|
| rollback_last | boolean | If true, rollback to the most recent snapshot |
| snapshot_id | string | The ID of the snapshot to rollback to |
nettune.show_profileShow details of a specific profile| Parameter | Type | Description |
|---|---|---|
| profile_id * | string | The ID of the profile to show |
nettune.snapshot_serverCreate a configuration snapshot for rollbacknettune.statusGet current server status and configurationnettune.test_latency_under_loadDetect bufferbloat by measuring latency during load| Parameter | Type | Description |
|---|---|---|
| duration | number | Load duration in seconds (default: 10) |
| echo_interval | number | Echo probe interval in milliseconds (default: 100) |
| load_parallel | number | Number of parallel connections for load generation (default: 4) |
nettune.test_rttMeasure RTT (round-trip time) to server| Parameter | Type | Description |
|---|---|---|
| concurrency | number | Number of concurrent requests (default: 1) |
| count | number | Number of echo requests to send (default: 30) |
nettune.test_throughputMeasure upload/download throughput| Parameter | Type | Description |
|---|---|---|
| bytes | number | Number of bytes to transfer per iteration (default: 100MB, use 500MB+ for more accurate results) |
| direction * | string | Test direction: 'download' or 'upload' |
| iterations | number | Number of test iterations to run and average (default: 1, use 3-5 for reliable results) |
| parallel | number | Number of parallel connections (default: 1, use 4-8 for saturating high-bandwidth links) |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.2K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum and js/bun.lock.
- ✓No dynamic code executionScanned 43 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiointernal/client/mcp/server.go:57
- Starts other programs
- 24 callsinternal/server/adapter/qdisc.go:27, internal/server/adapter/qdisc.go:60, internal/server/adapter/qdisc.go:69
- Outbound network calls
- 9 callsinternal/client/http/client.go:29, internal/client/http/client.go:74, internal/client/http/client.go:122
- Writes or deletes files
- 26 callsinternal/server/adapter/sysctl.go:43, internal/server/adapter/sysctl.go:99, internal/server/adapter/sysctl.go:105
- Lockfile
- go.sum and js/bun.lock
Pattern matches on the source text of 43 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.2K words, fetched a month ago. The original in the repository is authoritative.
Read full README