LanKinetix Local LAN & Wi-Fi Auditor
[](https://lankinetix.com)
# LanKinetix CLI, L2 Desktop Bridge & Local MCP Server
[](https://glama.ai/mcp/servers/affinity-ops/lankinetix-cli)
**Local-first, zero-cloud LAN & Wi-Fi forensics CLI (`v3.2.5`), Companion L2 Bridge (`:8787`), and strictly read-only Model Context Protocol (MCP) server — with permanent Hardware Safe-Mode for EPOS card terminals and thermal receipt printers.**
[Download 5-OS Binaries (v3.2.5)](https://github.com/affinity-ops/lankinetix-cli/releases) • [Homebrew Install](#install-in-one-command-homebrew--macos--linux) • [MCP Setup](#local-read-only-mcp-server-lankinetix-mcp) • [App Screenshots](#see-the-full-visual-apps) • [Upgrade & Pricing](#upgrade-to-the-full-native-apps) • [Live Sample Handover PDF](https://lankinetix.com/sample-audit-report.html)
> **Zero cloud accounts. Zero developer telemetry. Zero subscriptions for solo users.**
> Engineered by Patrick Matthews • [ASAI (Affinity Smart AI)](https://affinitysmartai.co.uk) • [lankinetix.com](https://lankinetix.com)
---
## Why LanKinetix CLI?
- **Permanent Hardware Safe-Mode (`TCP 8080, 8081, 9100–9102` Quarantined):** Never prints reams of garbage on thermal receipt printers (Epson TM, Star Micronics, Zebra, Brother, HP JetDirect) or freezes single-socket EPOS card machines (Ingenico, Verifone, PAX, Worldpay, Clover). Uses `SO_LINGER=0` (`RST`) teardown and protects `Apple, Inc.` macOS CUPS (`TCP/631`) from false positives.
- **Built-In Read-Only MCP Server (`lankinetix mcp`):** Connect live local LAN discovery, baseline drift detection, 40,399+ IEEE OUI lookups, Safe-Mode inventory, and site survey summaries straight to **Claude Desktop, Cursor, Windsurf, Antigravity, or local LLMs (Ollama / Open WebUI)** over `stdio` JSON-RPC 2.0 — with zero disk writes, zero packet injection, and zero secret file reads.
- **Dual-Stack IPv4 ARP + IPv6 Neighbor Discovery:** Parses OS kernel ARP + IPv6 neighbor tables (`ndp -an` / `ip -6 neigh` / `netsh`) alongside safe mDNS, UPnP/SSDP, NetBIOS, and Gateway PTR enrichment.
- **Free Companion L2 Bridge (`:8787` TLS + HMAC-SHA256 + QR Pairing):** Gives the free Android app 100% Layer-2 kernel ARP MAC visibility, L2 extender/mesh parent mapping, 802.11 airspace capture, and local LAN throughput tests without root.
- **40,399+ Offline IEEE OUI Vendors:** Compressed `.bin.gz` RAM lookup — works 100% air-gapped.
---
## Install in One Command (Homebrew — macOS & Linux)
```bash
brew install affinity-ops/tap/lankinetix
```
Verify immediately:
```bash
lankinetix --help
lankinetix scan
lankinetix --bridge
```
## Pre-Compiled Native Binaries (Windows, Raspberry Pi & Direct Downloads)
Or download ready-to-run `v3.2.5` executables (bundled with `assets/oui_vendors.bin.gz`, `assets/tcp_services.bin.gz`, and `SHA256SUMS.txt`) from **[GitHub Releases](https://github.com/affinity-ops/lankinetix-cli/releases)** or **[lankinetix.com/downloads.html](https://lankinetix.com/downloads.html#cli-bridge)**:
| Platform | Archive |
| :--- | :--- |
| **macOS Apple Silicon (`arm64`)** | `lankinetix-cli-v3.2.5-macos-arm64.zip` |
| **macOS Intel (`x86_64`)** | `lankinetix-cli-v3.2.5-macos-x86_64.zip` |
| **Windows (`x64`)** | `lankinetix-cli-v3.2.5-windows-x64.zip` |
| **Linux (`x64`)** | `lankinetix-cli-v3.2.5-linux-x64.zip` |
| **Linux ARM64 / Raspberry Pi** | `lankinetix-cli-v3.2.5-linux-arm64.zip` |
Or run the read-only MCP server via Docker (`ghcr.io/affinity-ops/lankinetix-cli:latest`, using `--network host` on Linux for live host ARP visibility):
```bash
docker run --rm -i --network host ghcr.io/affinity-ops/lankinetix-cli:latest
```
Unzip (keep `assets/` next to the executable) and run `./lankinetix --help` (or `.\lankinetix.exe --help` on Windows).
---
## Local Read-Only MCP Server (`lankinetix mcp`)
Add LanKinetix to **Claude Desktop**, **Cursor**, **Windsurf**, **Antigravity**, or any MCP-compatible client so your AI assistant can inspect your LAN safely without uploading data to a cloud scanner. If installed via Homebrew, `lankinetix` is already on your `$PATH`:
```json
{
"mcpServers": {
"lankinetix": {
"command": "lankinetix",
"args": ["mcp"]
}
}
}
```
*(If using a downloaded `.zip` directly instead of Homebrew, set `"command"` to the full path of your `lankinetix` / `lankinetix.exe` binary.)*
Every tool carries human-readable **`LanKinetix • ...`** titles, official MCP read-only/local annotations (`readOnlyHint: true`, `openWorldHint: false`), and `poweredBy` provenance, while `lankinetix mcp` prints the `LanKinetix × ASAI` ASCII radar banner cleanly to `stderr` (keeping `stdout` 100% pure JSON-RPC 2.0):
| MCP Tool | What It Does |
| :--- | :--- |
| `scan_subnet` | Live read-only IPv4 ARP + IPv6 neighbor discovery & Safe-Mode enrichment on the active `/24`. |
| `diff_baseline` | Compares the live LAN against saved `site_profile.json` (new, offline, and IP-drifted hosts) without writing to disk. |
| `lookup_oui` | Instant offline IEEE OUI vendor lookup (40,399+ prefixes) + Locally Administered (`LAA`) randomization check. |
| `get_site_survey` | Reads saved local subnets and synced Mobile ↔ Desktop `lankinetix.site_project.v1` walk-test waypoints. |
| `list_safe_mode_hosts` | Lists printers & EPOS/payment terminals protected by Hardware Safe-Mode (`8080, 8081, 9100–9102` quarantined). |
| `export_audit_summary` | Computes KPIs, dual-stack IPv6 counts, and walk-test coverage summaries without writing files. |
### Built-In MCP Slash-Command Prompts (`prompts/list`)
- **`lan_security_audit`** — Full Safe-Mode LAN inventory + unknown-device baseline diff table.
- **`epos_printer_safety_check`** — Verify thermal printers & EPOS payment terminals protected under Hardware Safe-Mode.
- **`wifi_walktest_report`** — Room-by-room Wi-Fi walk-test summary flagging weak (`< -70 dBm`) and dead-spot (`< -78 dBm`) zones.
**Security boundaries:** Strictly read-only — zero file writes, zero Wake-on-LAN or packet injection, refuses symlinks, never reads bridge tokens or private keys, `256 KiB` line cap, and Hardware Safe-Mode permanently enforced. See [SECURITY.md](SECURITY.md).
---
## CLI Command Reference
```bash
lankinetix # Interactive terminal console (never binds :8787)
lankinetix scan [--json] # L2 ARP + IPv6 NDP + Safe-Mode host enrichment
lankinetix wifi [--json] # 802.11 Wi-Fi channel & Virtual Guest LAA (0x02) audit
lankinetix airspace [--json] # Live 802.11 client station capture (tcpdump -I Radiotap)
lankinetix guest [--json] # Cross-subnet Guest /24 sweep via Gateway DNS PTR
lankinetix diff [--no-save] [--json] # Diff live LAN against saved site_profile.json baseline
lankinetix profile list|clear # Inspect or clear saved baseline subnets
lankinetix oui <mac> [mac2 ...] [--json] # Offline IEEE OUI vendor lookup (40,399+ prefixes)
lankinetix wol <mac> [--broadcast <ip>] # Send Wake-on-LAN UDP/9 magic packet
lankinetix export [--venue "Site"] [--out ./] # Generate JSON + printable HTML5/PDF audit report
lankinetix mcp [--config-dir <dir>] # Start read-only stdio MCP server for AI assistants
lankinetix --bridge [flags] # Start TLS + HMAC-SHA256 L2 Bridge on :8787 with ANSI QR
```
Global flags: `--json`, `--no-color` (or `NO_COLOR=1`), `--config-dir <path>`.
Bridge flags: `--bind <ip>`, `--port <1..65535>`, `--udp-port <0..65535>`, `--rotate-token`, `--allow-plaintext-lan`, `--no-qr`.
---
## See the Full Visual Apps
This free CLI & Bridge pairs seamlessly with the full **LanKinetix Desktop** and **Android** apps — featuring 60 FPS 3D/2D L2 topology, 2.4/5/6 GHz Wi-Fi 7 channel analysis, 1 Hz room walk-test meters, architectural floorplan iso-contour heatmaps, and printable client A4 handover PDFs:
| **3D & 2D Multi-Tier L2 Topology** | **2.4 / 5 / 6 GHz Wi-Fi Channel Equalizer** |
| :---: | :---: |
| [](https://lankinetix.com/features.html)<br>*Gateway → Switch → Safe-Mode Receipt Printer & EPOS* | [](https://lankinetix.com/features.html)<br>*Regulatory domains & optimal channel recommendation* |
| **1 Hz Wi-Fi Walk-Test & Dead-Spot Logger** | **JSON Pipeline, Home Assistant & Handover PDFs** |
| [](https://lankinetix.com/features.html)<br>*24-zone room survey & AP roaming counter* | [](https://lankinetix.com/sample-audit-report.html)<br>*Click to view a live A4 handover report* |
---
## Upgrade to the Full Native Apps
The CLI, Companion L2 Bridge (`:8787`), and MCP server in this repo are **free forever (GPL-3.0)**. When you want the native visual GUI, floorplan heatmaps, or white-label client handover reports, choose the tier that fits your workflow:
| Edition | Price | Get Started |
| :--- | :--- | :--- |
| **1. CLI, L2 Bridge & MCP** *(this repo)* | **£0 forever** | [Download 5-OS Binaries](https://github.com/affinity-ops/lankinetix-cli/releases) |
| **2. Android Standard & Mobile Pro** | **Free app** + optional **one-time Pro unlock** | [Join Android Closed Beta](https://lankinetix.com/beta.html) |
| **3. LanKinetix Desktop Edition** *(1 Seat)* | **£29 one-time** *(perpetual)* | [**Buy Desktop (£29) →**](https://buy.polar.sh/polar_cl_jJy3CPW80rMxGuF543bfPBn3HZLiSAsZFcznX0PNM4q) |
| **4. LanKinetix Commercial** *(3 Techs)* | **£149 / year** | [**Buy Commercial (£149/yr) →**](https://buy.polar.sh/polar_cl_z4L6afvfXhnD8bwj3Q293pwVU0eDAySZYjN5W3mUCE0) |
### What Each Paid Edition Unlocks
#### Android Standard (`£0`) & Mobile Pro *(One-Time Google Play Unlock)*
- **Free Standard:** Unlimited `/24` sweeps, 2D topology, Hardware Safe-Mode, WAN & Local LAN Speedometer, Ping, Traceroute (auto Double-NAT / CGNAT detection), DNS lookup, Wake-on-LAN, and **free QR pairing to this CLI Bridge (`:8787`)**.
- **Mobile Pro** *(live localized Google Play pricing)*: Adds 3D Multi-Subnet Orbit, Global Regulatory 2.4/5/6 GHz Wi-Fi 7 Channel Equalizer, 1 Hz 24-zone Walk-Test, Architectural Floorplan Heatmaps, DNS Leak/Pi-hole Auditor, Critical Host Watchdog + Webhooks, ARP & Evil Twin radar, Smart Banner Grabber, ONVIF/RTSP cameras, and 2.4 GHz BLE Proximity Homing.
- **[Join the Android Closed Beta →](https://lankinetix.com/beta.html)**
#### LanKinetix Desktop Edition — **£29 One-Time (1 Seat, Perpetual)**
- Built for homelabbers, sysadmins, and prosumers leaving cloud subscriptions behind.
- Full native Desktop GUI with **embedded `:8787` L2 Bridge**, 60 FPS 3D Subnet Orbit, **Architectural Floorplan IDW & `-60 / -70 / -78 dBm` Iso-Contour Heatmaps**, Enterprise Multi-Vendor AP OUI Allowlist, and 100% offline RFC 8032 Ed25519 licensing.
- **Availability:** `Windows x64` and `Linux x64` (`.deb` & `.tar.gz`) downloads are **live now**; notarized macOS `.dmg` coming soon — **included in your paid licence**.
- **[Buy Desktop (£29) via Polar →](https://buy.polar.sh/polar_cl_jJy3CPW80rMxGuF543bfPBn3HZLiSAsZFcznX0PNM4q)** • [For Homelabs & Home Assistant](https://lankinetix.com/for-homelab.html)
#### LanKinetix Commercial Multi-Tech — **£149 / year (3 Named Technicians)**
- Built for UK & international Wi-Fi, CCTV, fibre, and EPOS field installers and MSPs.
- Everything in Desktop for **3 named technicians** plus **White-Label Client A4 Handover PDFs** (your company name, logo & sign-off), **Before-vs-After Floorplan Iso-Contour sheets**, and 1-tap Mobile ↔ Desktop `.lankinetix.json` / `/api/survey` handoff.
- **Availability:** `Windows x64` and `Linux x64` ready now; notarized macOS `.dmg` coming soon — **included in your paid licence**.
- **[Buy Commercial (£149/yr) via Polar →](https://buy.polar.sh/polar_cl_z4L6afvfXhnD8bwj3Q293pwVU0eDAySZYjN5W3mUCE0)** • [**View Live Sample A4 Handover PDF →**](https://lankinetix.com/sample-audit-report.html) • [For Installers & MSPs](https://lankinetix.com/for-installers.html)
> **14-Day Refund Window & 100% Offline Activation:** Checkout is handled by **Polar** (Merchant of Record with automatic VAT invoices). Download your Desktop binaries immediately after checkout; your signed **`LK1-...` Ed25519 licence key** arrives by email within about a minute and verifies **100% offline** with no cloud accounts or remote licence check-ins.
---
## Build & Test From Source (Dart `^3.7.2`)
```bash
dart pub get
dart analyze
dart test
# Compile a standalone native executable:
mkdir -p build
dart compile exe bin/lankinetix.dart -o build/lankinetix
./build/lankinetix oui 00:03:93:11:22:33 --json
```
---
## License
`lankinetix-cli` is licensed under the **GNU General Public License v3.0 (GPL-3.0)** — see [LICENSE](LICENSE).
You are free to audit, compile, run, and contribute to the CLI, L2 Bridge, and MCP server. Commercial proprietary redistribution requires a separate commercial licence from Patrick Matthews / ASAI (`info@lankinetix.com`).
TDQS
Scored across 6 tools
Each tool targets a distinct action: live scanning, baseline diffing, survey inspection, KPI export, safe-mode listing, and OUI lookup. Minor potential confusion between diff_baseline, get_site_survey, and export_audit_summary since all consume snapshots/baseline data, but descriptions clearly separate delta vs. inspection vs. aggregation.
All six tools follow a consistent snake_case verb_noun pattern (scan_subnet, diff_baseline, get_site_survey, list_safe_mode_hosts, lookup_oui, export_audit_summary). Verb choices are predictable and resource nouns are unambiguous.
Six tools is well-scoped for a read-only LAN auditing server, with each tool covering a distinct audit capability. No redundant or filler tools are present.
The read-only audit surface is coherent but incomplete: there is no tool to create or refresh the site_profile.json baseline that diff_baseline depends on, and no way to persist or list audit snapshots or walk-test results. Agents can work around these gaps only if baseline creation happens outside this server.