Back to Browse

Gardawg MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Deterministic AI-code guardrails, physical-layer link analyzer, and seeded chaos proxy.

About

Deterministic AI-code guardrails, physical-layer link analyzer, and seeded chaos proxy.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

6 files analyzed · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

Gardawg

Link-aware static analysis, physical-layer airtime budgets, and seeded chaos proxies in one offline-first binary.

Gardawg is a 100% offline-first Rust CLI and MCP server by Oceans Niagara, LLC. It enforces deterministic AST rules and quality gates on your code, checks payloads against real physical-layer limits (LoRa, BLE, Wi-Fi, LEO satellite, UART), and runs seeded chaos/impairment proxies - with zero LLM dependencies inside Gardawg and zero code leaving your machine. AST rules cover Python, Rust, TypeScript, JavaScript, C and C++ (including Arduino .ino).

What It Catches

  • GR000 Syntax & stray fences: parse errors and stray Markdown code fences, even without tsc/cargo/ruff.
  • GR001 Money floats: f32/f64 on money and quantity identifiers.
  • GR002 Missing timeouts: fetch, axios, reqwest, requests, httpx, socket.socket(), HTTPServer, and C recv/connect calls without explicit timeouts.
  • GR004-GR005 Swallowed errors & stubs: empty catch/except: pass, ignored C returns, non-atomic state writes, todo!(), NotImplementedError, and placeholder comments.
  • GR006-GR007 Security & panics: hardcoded secrets (sk_live_, AKIA, ghp_, private keys), eval/exec/shell=True/strcpy, and non-test Rust .unwrap().
  • Link budgets & AST rules: budget computes the Shannon ceiling, MTU fragmentation, airtime, and BER loss; --link adds loop-send batching, framing, and timeout checks.
  • Chaos, verify & SARIF: seeded TCP/UDP/HTTP impairment proxies, gardawg verify, and OASIS SARIF 2.1.0 output (--format sarif).

init detects your stack and generates gardawg.toml, AGENTS.md, .mcp.json, and opencode.json. Re-sync them after editing gardawg.toml with gardawg sync.

Install & Multi-Project Quickstart

Prebuilt binaries (no Rust required): download from GitHub Releases. Headless builds suit CI and servers; -gui builds add the desktop dashboard.

OSHeadlessGUI
Windowsgardawg-windows-x86_64.exegardawg-gui-windows-x86_64.exe
macOS (Apple Silicon)gardawg-macos-arm64gardawg-gui-macos-arm64
macOS (Intel)gardawg-macos-x86_64gardawg-gui-macos-x86_64
Linuxgardawg-linux-x86_64gardawg-gui-linux-x86_64

Option 1: Global PATH Install (Recommended for Multiple Repos)

Run gardawg install (alias install-path) to copy the binary + adjacent gardawg.lic into %LOCALAPPDATA%\Programs\gardawg (Windows) or ~/.local/bin (macOS/Linux) and add it to your user PATH - or move gardawg.exe + gardawg.lic there manually:

# Windows (PowerShell)
.\gardawg-windows-x86_64.exe install

# In ANY repo root (new terminal):
gardawg init --link
gardawg check --format text
# macOS / Linux
chmod +x ./gardawg-macos-arm64
./gardawg-macos-arm64 install
gardawg init --link

init --link defaults to wifi-24g-congested (for general networked apps). Pass --link-profile ble-1m or --link-profile lora-sf12 for constrained RF/serial links, or edit [link] profile = "..." in gardawg.toml anytime.

Option 2: Point at Any Project Without Modifying PATH (-w)

.\gardawg-windows-x86_64.exe -w C:\path\to\project init --link

init automatically writes the binary's full path into .mcp.json and opencode.json, so MCP works from your AI tools even without gardawg on PATH.

Build from Source & Core Commands

cargo install --git https://github.com/Oceans-Niagara/gardawg
cargo install --git https://github.com/Oceans-Niagara/gardawg --features gui

gardawg check --format sarif
gardawg budget --profile lora-sf12 --bytes 64 --hz 10
gardawg proxy --listen 127.0.0.1:9000 --target 127.0.0.1:9001 --profile ble-1m --seed 42
gardawg verify --profile wifi-24g-congested --udp --listen 127.0.0.1:9000 --upstream 127.0.0.1:9001 --cmd "python client.py"
gardawg resilience --openapi openapi.yaml
gardawg mcp

gardawg resilience example: pass --openapi openapi.yaml (requires schemathesis on PATH) or set [resilience] openapi_spec / keploy_cmd in gardawg.toml. Start your API on 127.0.0.1:8080 (or set [resilience] upstream), then run gardawg resilience --openapi openapi.yaml.

Desktop GUI (gardawg-gui)

Download the -gui binary (or build with --features gui). Launch it with no arguments (gardawg-gui) and use the top toolbar Mode switcher to toggle anytime between Standalone Simulator and Live Proxy (with editable Listen/Target endpoints and TCP/UDP selection), or pass --target on the CLI to start directly in live proxy mode:

# Standalone simulator & interactive payload calculator (no --target needed)
.\gardawg-gui-windows-x86_64.exe

# Live UDP impairment proxy + real-time throughput/drop plots
.\gardawg-gui-windows-x86_64.exe gui --udp --listen 127.0.0.1:9000 --target 127.0.0.1:9001 --profile ble-1m

AI Agents (MCP) & Local Models

Gardawg itself is 100% offline - your host coding CLI (OpenCode, Claude Code, Cursor, Windsurf, etc.) chooses which LLM runs.

  • Primary Workflow - Agentic MCP Guardrails (AGENTS.md + .mcp.json / opencode.json): gardawg init wires Gardawg's stdio MCP server into your project and writes a 3-step AGENTS.md contract (evaluate_payload -> gardawg_check -> verify_runtime). Pair it with OpenCode's built-in models or any tool-capable coding model so your agent checks link budgets before designing frames, fixes AST findings after every edit, and smoke-tests through the impairment proxy automatically.
  • 100% Local Ollama in opencode.json: gardawg init includes a commented Ollama "provider" template (http://127.0.0.1:11434/v1 with "tool_call": true) in opencode.json so you can uncomment it with any tool-capable ollama list tag.
  • Lightweight CLI Repair Helper (gardawg fix): for localized single-file fixes (such as adding missing timeout= arguments or moving hardcoded secrets to os.environ) using small local Ollama models (1.5B-3B) without full agentic overhead:
gardawg fix --model ollama/qwen2.5-coder:3b
gardawg fix --model ollama/qwen2.5-coder:1.5b --file src/client.py --dry-run

Tools

When run as an MCP server (gardawg mcp), Gardawg exposes the following four tools to AI coding agents:

list_link_profiles

List physical-layer RF/serial link profiles (lora-sf12, ble-1m, wifi-24g-congested, leo-sat, uart-9600, plus licensed custom profiles).

  • Parameters: None

evaluate_payload

Step 1 (Budget first): Compute Shannon ceiling, protocol goodput, MTU fragmentation, safe byte limit, and BER loss before writing wire framing code.

  • profile (string, required): Physical link profile ID (e.g., lora-sf12, ble-1m, wifi-24g-congested, leo-sat, uart-9600).
  • payload_bytes (integer, required): Payload size in bytes (minimum 1).
  • hz (number, required): Transmit rate in Hz (minimum 0.001).

check

Step 2 (Check every edit): Run unified single-pass AST + physical-layer link rules + external compiler/linter gate (alias: gardawg_check).

  • path (string, optional): Subpath or file to scan.
  • profile (string, optional): RF/serial link profile ID (e.g., lora-sf12).
  • hz (number, optional, default 10.0): Assumed transmit rate in Hz.
  • ast_only (boolean, optional, default false): Run only AST rules without external compiler/linter gates.
  • pedantic (boolean, optional, default false): Enable pedantic rule checks.

verify_runtime

Step 3 (Verify runtime): Run an automated black-box smoke test through the impairment/chaos proxy and return structured runtime diagnostics (alias: smoke_test).

  • command (string, required): Shell command to run (e.g., "python app.py").
  • profile (string, optional): Physical link profile ID (e.g., lora-sf12, ble-1m).
  • upstream (string, optional): Target host:port to proxy to (e.g., 127.0.0.1:8080).
  • probe_path (string, optional): HTTP path to probe through the chaos proxy (e.g., /health).
  • duration_secs (integer, optional, default 4): Duration of the smoke test in seconds.
  • udp (boolean, optional, default false): Use UDP proxy mode instead of TCP/HTTP.

See BENCHMARKS.md for latency measurements (45 ms median check) and a 46-run controlled agent evaluation (0/5 -> 5/5 bilateral CRC-16/CCITT-FALSE and binary framing on constrained UART/LoRa tasks).

Licensing

Offline Ed25519-signed keys (LG1...), verified locally with zero network calls. Perpetual, one-time purchase.

License lookup order (first match wins):

  1. --license-key <key-or-path>
  2. GARDAWG_LICENSE_KEY (or LINKGUARD_LICENSE) environment variable
  3. ./gardawg.lic (or ./linkguard.lic) in the current working directory
  4. <exe_dir>/gardawg.lic (or <exe_dir>/linkguard.lic) next to the gardawg binary (global fallback across all repos)
  5. %APPDATA%\gardawg\license.lic (Windows) or ~/.config/gardawg/license.lic (macOS/Linux)

Verify anytime with gardawg license.

  • Free ($0): core CLI, AST rules, quality gates, SARIF output, built-in link profiles, seeded proxy/chaos/verify, gardawg fix --model ollama/<tag>, stdio MCP server, and browser sandbox.
  • Pro ($19.99 one-time - Local Workstations): everything in Free, plus gardawg resilience, custom profiles.toml, local --baseline ratchet, and gardawg-gui desktop dashboard with CSV/JSON export (ci_allowed: false - local workstations only).
  • Team ($59.99 one-time - Up to 6 Seats + CI): everything in Pro, plus CI/CD runner support (ci_allowed: true), gardawg sync --check config drift gate, [agents].custom_rules enforcement, and offline 90-day contributor cap (<= 6 non-bot committers via git shortlog).
  • Enterprise ($299+ - Unlimited Seats & CI): everything in Team with max_seats: null (unlimited developers & CI runners), multi-profile matrix sweeps (gardawg check --profile-matrix ble-1m,wifi-24g-congested,lora-sf12), and organization-stamped SARIF audit headers (Licensed to <Org> - Enterprise).

© 2026 Oceans Niagara, LLC • connect@oceansniagara.com

MCP Registry: mcp-name: io.github.Oceans-Niagara/gardawg

Reviews

No reviews yet

Be the first to review this server!