SignalGrid MCP
This is a strict read-only MCP server for collecting macOS-native device trust signals and producing an on-device allow/step-up/restrict/deny verdict.
Inspect hardware identity: serial number, model, UUID, chip, activation lock.
Get OS details: version, build, kernel, hostnames, uptime, console user.
Check security posture: SIP, FileVault, Gatekeeper, application firewall.
Audit remote access: SSH, Screen Sharing, SMB, Apple Remote Desktop.
Assess MDM/DEP enrollment and installed configuration profiles.
Review patch/update state and XProtect/MRT malware-definition currency.
Examine install history, installed apps, and app code signatures/notarization.
Map network posture, DNS/proxies/VPNs, and listening TCP services.
Inspect persistence and extensions: launchd items, kernel extensions, system extensions.
Review local users/admin group, running processes, removable media, screen lock, and Time Machine.
Run an aggregate posture report, optionally with a fail-safe trust verdict.
Read MCP resources for full posture (
signalgrid://posture) and signal sourcing (signalgrid://sourcing).
Provides read-only access to macOS-native device trust signals, including device identity, OS/build, security posture (SIP, FileVault, Gatekeeper, firewall), MDM enrollment, software update and XProtect status, install history, network configuration, listening services, launchd persistence, kernel/system extensions, local users, installed apps, process snapshots, removable media, screen-lock settings, Time Machine status, code-signature inspection, aggregated posture reports, and an on-device trust verdict.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SignalGrid MCP run a full posture report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SignalGrid MCP
An MCP (Model Context Protocol) server that exposes macOS-native device trust signals — the facts about a Mac that cannot be gathered from a Linux container or a cloud runner. Every tool is strictly read-only: nothing on the device is ever mutated.
What it answers
Signal | Tool |
Who is this machine? (serial, UUID, chip, activation lock) |
|
What OS build is it on? |
|
Are SIP / FileVault / Gatekeeper / firewall on? |
|
What remote access is exposed? (SSH, Screen Sharing, SMB, ARD) |
|
Is it MDM/DEP enrolled? What profiles are installed? |
|
Is it patched? Are auto-updates on? |
|
Are XProtect / MRT malware definitions current? |
|
What got installed, and when? |
|
DNS, proxies, VPNs, interfaces |
|
What's listening on the network? |
|
What persists across reboots? (launchd items) |
|
Any third-party kernel extensions? |
|
Any stranded/conflicting system extensions? |
|
Who has accounts? Who is admin? |
|
What apps are installed, and who signed them? |
|
What's running right now? |
|
Is removable storage (a data-egress channel) connected? |
|
Does the device auto-lock when left idle? (walk-up risk) |
|
Is Time Machine backing up, to where, and when did it last finish? |
|
Is this app properly signed & notarized? |
|
Everything above the fold, in one call |
|
The SignalGrid decision for this Mac (allow / step-up / restrict / deny) |
|
The aggregate report is also exposed as an MCP resource at signalgrid://posture.
Call signalgrid_posture_report with include_verdict: true to get the raw facts
and the folded allow/step-up/restrict/deny decision in one round-trip (the same
fail-safe computation as signalgrid_trust_verdict).
Related MCP server: apple-log-mcp
Design principles
Read-only, always. Every tool carries
readOnlyHint: true,destructiveHint: false. No command mutates state.Unknown ≠ off. Posture checks distinguish "the check ran and said X" from "the check could not run" (missing binary, timeout, needs elevation).
enabled: nullalways means unknown — investigate, don't grade.No shell, no injection. Every command is an argv list executed without a shell; user input is never interpolated into a command line.
Context-efficient. Large inventories (apps, processes, launch items, install history, listeners) are paginated (
limit/offset, standardtotal/has_more/next_offsetenvelope), filterable (name_contains), and render as a compact markdown table by default or JSON on request.Degrades gracefully. On a non-macOS host, or when a probe needs elevation, tools return structured error/unknown text — they never crash.
How these signals reach the Grid (sourcing)
SignalGrid's decision fabric classifies every signal by how it is obtained —
api (a vendor read API), native (a first-party integration), grid_collected
(SignalGrid does the lifting itself), or unavailable (a real gap). This
server is the grid_collected path for macOS: SIP, FileVault, Gatekeeper, MDM
enrollment, XProtect currency and the rest are facts no cloud API hands you
faithfully in real time — you read them on the device.
Every signal here is therefore classified grid_collected at medium
fidelity — deliberately not high. The reads are authoritative, but the fabric
never over-trusts a signal it had to collect itself, and some probes degrade to
unknown without elevation.
The server publishes this mapping so a connecting fabric can discover each signal's provenance, as the MCP resource:
signalgrid://sourcingIt lists every posture-report section → the fabric signal it feeds → its
acquisition method and fidelity. tests/test_sourcing.py pins the manifest as a
bijection with the report sections, so no section can go un-sourced and no
stale entry can linger. (The per-signal descriptions are prose, not checked
against collector output.)
Install
Requires Python ≥ 3.10 on the Mac being assessed.
cd signalgrid-mcp
pip install -e . # or: uv pip install -e .Run
stdio transport (the server must run on the Mac it is assessing, as a subprocess of the MCP client):
signalgrid-mcp # console script
# or
python -m signalgrid_mcp.server
# or (back-compat)
python server.pyClaude Desktop / Claude Code config
{
"mcpServers": {
"signalgrid": {
"command": "python3",
"args": ["/Users/<you>/signalgrid-mcp/server.py"]
}
}
}Inspect interactively
npx @modelcontextprotocol/inspector python3 server.pyPermissions & elevation
The server intentionally runs unelevated. Some probes therefore report
null/unknown rather than an answer:
profiles list,systemsetup, and somelaunchctl print system/...targets want root.tmutil latestbackupand the Time Machine preference need Full Disk Access.Unelevated
lsofonly sees the current user's listeners.
This is by design: an unattended trust agent should not hold root. Treat
null as "unresolved signal" and escalate out-of-band if it matters.
Verify (turnkey, on the Mac)
One command sets up, tests, and inspects the live server end to end:
./verify.shIt creates a venv, installs, runs pytest, then inspects the server over MCP
stdio — listing and calling every tool. See RUNBOOK.md for the
step-by-step Mac verification, including how to chase down any signal that reads
unknown against real macOS output.
Testing
pip install -e ".[dev]"
pytestThe smoke tests run on any OS (they exercise the graceful-degradation paths on
Linux CI); the meaningful signal values obviously require macOS. For a Node-free
protocol inspection (no browser, no npx):
python tools/inspect_stdio.py # human-readable
python tools/inspect_stdio.py --json # machine-readable summaryLayout
signalgrid-mcp/
├── server.py # back-compat stdio entry point
├── verify.sh # one-command turnkey verify (install + test + inspect)
├── RUNBOOK.md # step-by-step Mac verification runbook
├── src/signalgrid_mcp/
│ ├── app.py # FastMCP instance + shared annotations
│ ├── runner.py # subprocess plumbing (run/text/probe/run_json)
│ ├── formatting.py # pagination, filtering, markdown/JSON rendering
│ ├── sourcing.py # grid_collected sourcing manifest (signalgrid://sourcing)
│ ├── server.py # entry point (main)
│ └── tools/ # one module per signal domain
├── tools/inspect_stdio.py # Node-free MCP inspector (protocol/read-only/honesty)
├── tests/test_smoke.py
├── tests/test_parsers.py # parser fixtures pinned against captured output
└── evaluation.xml # MCP eval suite (read-only Q&A pairs)Available Tools
22 toolssignalgrid_codesign_inspectARead-onlyIdempotent
Inspect the code signature, signature validity, and Gatekeeper assessment of a bundle or binary on this Mac.
Use to answer "is this app properly signed and notarized, and by whom?". Reads only; never executes the target.
Args: path: Absolute path to the .app or binary to inspect.
Returns:
dict with keys:
- path: the inspected path
- signature: codesign -dv --verbose=4 output (authority chain,
team identifier, hashes)
- verify: codesign --verify --deep --strict result ("valid on disk"
style output, or the specific failure)
- assessment: spctl --assess --verbose=4 Gatekeeper verdict
(accepted/rejected and the source, e.g. "Notarized Developer ID")
A missing path yields codesign/spctl error text in those fields rather
than an exception.
Inputs: path (required). Returns: object
signalgrid_device_identityARead-onlyIdempotent
Hardware identity: serial number, model, hardware UUID, chip, activation lock.
The stable anchor for a device trust record. Serial number + hardware UUID uniquely identify the physical machine across OS reinstalls.
Returns: dict with keys: model_name, model_identifier, chip, serial_number, hardware_uuid, provisioning_udid, memory, activation_lock — or {"error": str} if system_profiler could not run.
Inputs: no named parameters. Returns: object
signalgrid_installed_appsARead-onlyIdempotent
Inventory of installed applications with version, source, and signer
(via system_profiler SPApplicationsDataType; first call can take ~30s).
Use for software-inventory questions and to shortlist risky installs: obtained_from='Unknown' plus no signer is the classic sideloaded-app signal. For a deep verdict on one app, follow up with signalgrid_codesign_inspect on its path.
Args: name_contains: substring filter on the application name. unsigned_only: only apps lacking signing info. limit/offset: pagination (default 30 per page; inventories often have hundreds of entries). response_format: markdown table (default) or JSON envelope; items have name, version, obtained_from, signed_by (first authority), last_modified, path.
Returns: str: rendered table or JSON string; "Error: ..." if system_profiler failed.
Inputs: limit, offset, name_contains, unsigned_only, +1 more. Returns: result
signalgrid_install_historyARead-onlyIdempotent
Software install history (OS updates, security content, packages), newest first — the audit trail of what changed on this Mac and when.
Use to verify security updates actually landed (e.g. filter name_contains='XProtect') or to spot unexpected installs.
Args: name_contains: substring filter on the package name. limit/offset: pagination (default 25 per page). response_format: markdown table (default) or JSON envelope {total, count, offset, items, has_more, next_offset}; items have name, version, source, install_date.
Returns: str: rendered table or JSON string; "Error: ..." if the underlying system_profiler query failed.
Inputs: limit, offset, name_contains, response_format. Returns: result
signalgrid_kernel_extensionsARead-onlyIdempotent
Loaded kernel extensions, with third-party (non-Apple) kexts singled out.
Modern macOS strongly discourages kexts; any third-party kext is a
significant trust signal (legacy security tools, virtualization, or
something worse). Tries kmutil showloaded first, falls back to kextstat.
Returns: dict with keys: third_party (list[str] of loaded non-Apple kext lines, ideally empty), raw (full loader output), source ('kmutil' or 'kextstat'), or {"error": str} if neither tool ran.
Inputs: no named parameters. Returns: object
signalgrid_launch_itemsARead-onlyIdempotent
Third-party launchd persistence: plists installed in /Library/LaunchDaemons, /Library/LaunchAgents, and ~/Library/LaunchAgents.
These are the standard macOS persistence mechanisms -- anything here runs automatically at boot or login. Apple's own sealed /System items are excluded, so every row is software someone installed. A recently-modified, oddly-named plist is a prime malware-persistence signal.
Args: name_contains: substring filter on the launchd label (filename). limit/offset: pagination (default 50 per page). response_format: markdown table (default) or JSON envelope; items have label, scope (system_daemon | system_agent | user_agent | user_daemon_nonstandard), path, modified (ISO timestamp).
Returns: str: rendered table or JSON string.
Inputs: limit, offset, name_contains, response_format. Returns: result
signalgrid_listening_servicesARead-onlyIdempotent
Processes listening on TCP ports (via lsof -iTCP -sTCP:LISTEN).
The live map of this Mac's inbound network exposure. Note: without elevation, lsof only sees processes owned by the current user; system daemons may be missing from the list -- absence of a listener here is weaker evidence than presence.
Args: name_contains: substring filter on the listening process's command. limit/offset: pagination (default 50 per page). response_format: markdown table (default) or JSON envelope; items have command, pid, user, address (e.g. '*:22', '127.0.0.1:8021').
Returns: str: rendered table or JSON string; "Error: ..." if lsof could not run.
Inputs: limit, offset, name_contains, response_format. Returns: result
signalgrid_local_usersARead-onlyIdempotent
Local user accounts, admin-group membership, and the current console user.
Unexpected accounts -- especially unexpected admins -- are a core device trust signal. Cross-check admin_group against your expected owner list.
Args: include_system: include uid < 500 daemon accounts (default false).
Returns: dict with keys: users (list of {username, uid, is_admin}), admin_group (list[str] of admin usernames), console_user (str), _note — or {"error": str} if directory services could not be queried.
Inputs: include_system. Returns: object
signalgrid_mdm_statusARead-onlyIdempotent
MDM enrollment state (including DEP/Automated Device Enrollment) and installed configuration profiles.
Key managed-device signal: an unenrolled corporate Mac is a trust gap. Profile listing may require elevation; the raw output is returned either way.
Returns: dict with keys: enrollment_raw (str), mdm_enrolled (bool | None), dep_enrolled (bool | None), profiles_raw (str), _note. null booleans mean the state could not be determined.
Inputs: no named parameters. Returns: object
signalgrid_network_postureARead-onlyIdempotent
Network configuration snapshot: hardware ports, active interface state, DNS nameservers, proxy settings, and configured VPNs.
Use to spot rogue DNS, unexpected proxies, or missing corporate VPN -- all classic device-trust red flags.
Returns:
dict with keys: hardware_ports (str), active_state (str, from
scutil --nwi), dns_nameservers (list[str]), proxies (str),
vpn_configurations (str), _note.
Inputs: no named parameters. Returns: object
signalgrid_os_infoARead-onlyIdempotent
macOS product/build version, kernel, hostnames, uptime, and current users.
Use to establish OS patch level (compare product_version against Apple's latest release) and which user is on the console.
Returns: dict with keys: product_name, product_version, build_version, kernel, computer_name, local_hostname, uptime, console_user, process_user. Individual values read "unavailable"/error text when a probe fails.
Inputs: no named parameters. Returns: object
signalgrid_posture_reportARead-onlyIdempotent
Full device trust snapshot in a single round-trip: identity + OS + security + MDM + patch state by default, with optional extra sections.
Use this first. One call instead of six, which matters when every tool call is a network round-trip. Drill into the focused tools afterward for anything that looks off. A failed section reports {"error": ...} instead of sinking the whole snapshot.
Set include_verdict=True to also get the on-device SignalGrid decision as a 'verdict' summary alongside the raw facts — the same fail-safe fold as signalgrid_trust_verdict (unknown is never 'allow'). The verdict is a derived summary, never a collected signal, so it is absent unless explicitly asked for.
Args: sections: optional list from {identity, os, security, sharing, mdm, updates, xprotect, network, persistence, time_machine, system_extensions, screen_lock}. include_verdict: attach the folded allow/step_up/restrict/deny verdict.
Returns: dict keyed by section name; each value is that section's collector output (same shapes as the corresponding focused tools). With include_verdict, an extra 'verdict' key holds the folded decision.
Inputs: sections, include_verdict. Returns: object
signalgrid_process_snapshotARead-onlyIdempotent
Point-in-time snapshot of running processes (pid, parent, user, %CPU, %MEM, command path).
Use to confirm an agent/daemon is actually running (filter by name) or to spot suspicious processes. Full executable paths are included -- feed a suspicious one to signalgrid_codesign_inspect.
Args: name_contains: substring filter on the command path. sort_by: cpu (default) | memory | pid. limit/offset: pagination (default 25 per page). response_format: markdown table (default) or JSON envelope; items have pid, ppid, user, cpu_pct, mem_pct, command.
Returns: str: rendered table or JSON string; "Error: ..." if ps failed.
Inputs: limit, offset, sort_by, name_contains, +1 more. Returns: result
signalgrid_removable_mediaARead-onlyIdempotent
Connected USB / removable-media devices, flagging MASS-STORAGE — the data-egress channel a shared or plant-floor device manager cares about. Read-only; needs no elevation.
mass_storage_connected: true means removable storage is physically present.
available: false means the USB tree could not be read (never "nothing
connected"). SignalGrid reports this; it does not block the device.
Returns: dict with available (bool), device_count, mass_storage_count, mass_storage_connected (bool | None), and devices[] each with name, vendor, serial, kind (mass_storage | other), volumes.
Inputs: limit, offset, name_contains, response_format.
signalgrid_screen_lockARead-onlyIdempotent
Screen-lock / auto-lock hygiene: does this Mac lock itself when left idle? The walk-up risk on a shared or plant-floor device. Read-only; no elevation.
Composes three facts — password required on wake, the grace delay before it,
and whether the display ever sleeps — into a fail-safe locks_when_idle
verdict. true only when all three read healthy; false on a real gap;
null when it could not be confirmed (unknown is never graded as locking).
Returns: dict with locks_when_idle (bool | None), password_on_wake (bool | None), password_delay_seconds (int | None), display_sleep_minutes (int | None), concerns (list), unknowns (list), and a _note.
Inputs: response_format.
signalgrid_security_postureARead-onlyIdempotent
Core security posture: SIP, FileVault, Gatekeeper, and application firewall (global state, stealth mode, block-all).
Each control reports {raw, enabled}. enabled is null when the check could
not be completed -- null means UNKNOWN, never "off". Treat null as a signal
to investigate (often the check needs elevation), not as a grade.
Returns: dict mapping control name -> {"raw": str, "enabled": bool | None}, plus "_unknown" (list of controls that could not be evaluated) and "_note" explaining the null semantics.
Inputs: no named parameters. Returns: object
signalgrid_sharing_servicesARead-onlyIdempotent
Remote-access exposure: SSH remote login, remote Apple events, Screen Sharing, SMB file sharing, and Apple Remote Desktop.
An enabled sharing service widens the device's attack surface; on a managed endpoint most of these should be off. Same null-means-unknown semantics as signalgrid_security_posture (systemsetup checks in particular often need elevation and will report null without it).
Returns: dict mapping service name -> {"raw": str, "enabled": bool | None}, plus "_unknown" and "_note".
Inputs: no named parameters. Returns: object
signalgrid_software_updatesARead-onlyIdempotent
Software update posture: auto-update settings, last successful check, cached count of available updates, and optionally a live check.
LastUpdatesAvailable > 0 or a stale LastSuccessfulDate is a patch-hygiene red flag. Values are null when a preference is unset or unreadable.
Args:
check_online: run a live softwareupdate -l (slow) in addition to the
cached state.
Returns: dict with keys: settings (dict of SoftwareUpdate preferences incl. AutomaticCheckEnabled, AutomaticallyInstallMacOSUpdates, CriticalUpdateInstall, LastSuccessfulDate, LastUpdatesAvailable, AppStoreAutoUpdate), and live_check (str, only when check_online=true).
Inputs: check_online. Returns: object
signalgrid_system_extensionsARead-onlyIdempotent
Installed system extensions (endpoint-security / network) and whether any
is STRANDED — still registered after its app is gone (state activated enabled (removed) or terminated waiting to uninstall), which blocks its own
reinstall. Read-only; needs no elevation.
Fail-safe: available: false means the state could not be read (never "none
installed"); reliable: false means the parsed list may be incomplete (a
residual one could be missing — raise the assurance bar); an unrecognized
state is unknown, never active.
Returns: dict with available (bool), reliable (bool), count, declared_count, residual_count, active_count, unparsed_rows, and extensions[] each with teamID, bundleID, version, name, enabled, active, state, status (active | pending | residual | unknown).
Inputs: limit, offset, name_contains, response_format.
signalgrid_time_machineARead-onlyIdempotent
Time Machine posture: automatic backups on/off, configured destinations, and the most recent completed backup.
A device with no recent backup carries higher data-loss risk; a stale latest_backup date on a machine that should back up daily is a drift signal.
Returns: dict with keys: auto_backup (bool | None; null = could not read), destinations (str), latest_backup (str; a snapshot path on success or error text), _note.
Inputs: no named parameters. Returns: object
signalgrid_trust_verdictARead-onlyIdempotent
The SignalGrid decision for THIS Mac, computed on-device: one fail-safe verdict — allow / step_up / restrict / deny — plus the reasons.
Read-only. Composes security posture, MDM enrollment, update settings, XProtect currency, and stranded system extensions. Unknown is never 'allow': a control that could not be read raises the bar to step_up; a disabled hardening control or a stranded security extension restricts (two or more deny).
Returns: dict with verdict (str), reasons (list), criticals, unknowns, controls, mdm_enrolled, and a _note. This is a single-device verdict; the fabric fuses it with other signals for the final decision.
Inputs: no named parameters. Returns: object
signalgrid_xprotect_statusARead-onlyIdempotent
Versions of Apple's built-in anti-malware: XProtect definitions, XProtect Remediator, and MRT (Malware Removal Tool).
Stale definitions indicate the Mac is not receiving Apple security content updates (often caused by ConfigDataInstall being disabled).
Returns: dict with keys: xprotect_definitions, xprotect_remediator, mrt. Each is a version string, or "unavailable: " text.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Every tool targets a distinct macOS subsystem or data source (installed apps, install history, processes, listening services, MDM, etc.), with no two tools doing the same thing. The only aggregate tool, posture_report, explicitly composes the others, and trust_verdict is a derived decision, not a raw collection.
All 22 tools share the signalgrid_ prefix and use lowercase underscore-separated names. The pattern is consistent throughout, with no mix of camelCase or differing verb styles.
At 22 tools, this is in the 16-25 range that feels heavy, but each tool serves a specific security-assessment function and earns its place. The count is borderline and could be seen as slightly over the typical sweet spot.
The tool set provides comprehensive read-only coverage of device trust: identity, OS, security controls, updates, MDM, persistence, network, processes, and aggregate views. Every signal has a follow-up path (e.g., process snapshot to codesign inspect), and the posture_report/trust_verdict tools provide a cohesive summary.
Maintenance
Related MCP Connectors
Guarded MCP server for agent-readable business truth, provenance, readiness, and discovery.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Independent trust scores, tool surfaces and change history for MCP servers.
The MCP server that vets MCP servers: identity, risk grade and per-tool risk before you install.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that runs on a Mac and exposes a small, sharp set of tools (shell, file transfer, binary execution, screenshots) over a token-protected network port.-
- FlicenseAqualityCmaintenanceLocal MCP server for Apple platform console, unified, and diagnostic logs. Enables listing devices and capturing live logs from simulators and real devices.5-
- AlicenseAqualityDmaintenanceA local MCP server that exposes macOS automation actions (AppleScript + CLIs) as tools, enabling MCP clients on your Mac to control apps, system settings, and more.39MIT
- AlicenseBqualityBmaintenanceEnables AI agents to directly access native macOS services, media, system health, and administration tools through a local MCP server.4235 npm2MIT