mcp-autostart-auditor

Iceman2050/mcp-autostart-auditor Checked 1 day ago

Runtime inventory of local MCP servers: listening now, autostart entries, vendor-default-enabled, with kill-switches (stdlib only)

On 2026-10-16, NVIDIA App update 11.0.9.565 shipped a local MCP server (GPU control, ShadowPlay, app launching, power profiles) enabled by default on install — under Settings → "Communication with AI agents and applications". Vendors are now silently shipping agent-accessible servers into consumer machines.

Summary extracted from the README.

mcp-autostart-auditor

An MCP server was just installed on your machine. You didn't install it. It starts on boot.

On 2026-10-16, NVIDIA App update 11.0.9.565 shipped a local MCP server (GPU control, ShadowPlay, app launching, power profiles) enabled by default on install — under Settings → "Communication with AI agents and applications". Vendors are now silently shipping agent-accessible servers into consumer machines.

This tool builds a runtime inventory of local MCP servers on your machine: which autostart (XDG autostart, systemd user/system, launchd, Windows Run registry), which are listening right now (live /proc/net/tcp parse on Linux), and which a vendor enabled by default — with a kill-switch (exact disable command) per server.

Runtime discovery, not config-file reading. Config audits miss the server that starts another way.

What it checks

  • Autostart entries — every file in XDG autostart, systemd user/system, launchd agents; Windows Run keys documented for manual review. Entries mentioning MCP are flagged.
  • Listening ports — live TCP listeners from /proc/net/tcp (Linux); cross-reference with --mcp-port for ports you know.
  • Known vendor defaults — curated table of products documented to ship a local MCP server enabled by default (NVIDIA App 11.0.9.565, verified 2026-10-16).
  • Kill-switches — per-server exact disable command (systemctl --user disable --now …, launchctl unload …, rm ~/.config/autostart/…). Commands are printed, never executed, unless you explicitly --apply.

Exit code 1 when any MCP-mentioning autostart entry is found.

Install

Zero third-party dependencies — Python 3.9+ only.

git clone https://github.com/Iceman2050/mcp-autostart-auditor.git
cd mcp-autostart-auditor
pip install -e .

Usage

# Full audit, markdown
python3 mcp_autostart_auditor.py

# Tell it which ports you know are MCP servers
python3 mcp_autostart_auditor.py --mcp-port 6277 --json --out audit.json

Honest scope — what this does NOT detect

  • MCP servers inside containers or VMs.
  • Servers that start on demand via a socket you never polled.
  • Vendor-default status for products released after this tool's data table — update KNOWN_VENDOR_DEFAULTS (pull requests welcome).
  • Zero findings = "no MCP servers observed", never "secure".

Tests

python3 -m pytest -q

Covers: desktop/systemd/launchd entry parsing, MCP-hint detection, registry documentation, /proc/net/tcp LISTEN parsing, kill-switch command generation per platform, and CLI exit codes. Never touches the live system.

License

MIT — see LICENSE.

Built by Ingenious AI

This tool is built and maintained by Ingenious AI. Get early access to our AI security platforms:

Built by Ingenious AI