Scan your whole stack
Are you using little-snitch-mcp-server?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0
little-snitch-mcp-server was last scanned on 24 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0 LATEST | 24 Nov 2026 | No rules fired |
| 0.0.0-stage | 24 Nov 2026 | Not shown |
Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
An MCP server for the Little Snitch firewall on macOS. With it, an assistant such as Claude can read your firewall rules and traffic history. If you allow it, the assistant can also switch profiles and rule groups, and add, change or remove rules.
The server works through littlesnitch, the command-line tool inside the Little Snitch app. It opens no network connections of its own.
This is an unofficial project. It is not affiliated with Objective Development, and "Little Snitch" is their trademark.
--allow rules)Read this before you rely on the server. Little Snitch's tool needs root and a setting that is off by default, so part of the server could only be tested against a simulator of that tool.
| Part | How it was checked |
|---|---|
| Finding the tool, reading its version, checking its code signature | On Little Snitch 6.5, macOS 26.6 |
| Detecting whether "Allow access via Terminal" is on or off | On Little Snitch 6.5, in both states |
Reading Little Snitch's own log (get_log) |
On Little Snitch 6.5 |
| The administrator dialog with a real password, with four reads under one approval | On Little Snitch 6.5 |
| Reading and parsing a real configuration of several hundred rules, the preference listing and the traffic history | On Little Snitch 6.5. Only key names, counts and formats were recorded. |
| The lock that keeps two changes apart | With macOS lockf: twelve takers at once, a holder that is killed, a helper process that is killed, and a lock file the taker cannot write to. The real add and remove ran under it. Two macOS users at once were not tried. |
| The wait after a change that did not end in time | Against the simulator, with a restore that outlives the process that started it. The look at the process list ran against a real process on macOS 26.6, and before both real changes without a false alarm. A real administrator dialog that times out was not tried. |
| The restore under the administrator dialog, with its checked private copy in root's folder | On Little Snitch 6.5 |
| Adding a rule and removing it again, each followed by the comparison of every rule, rule group, profile and preference | On Little Snitch 6.5, last with the version in this repository. It passed on the second attempt. The first attempt found three parts that Little Snitch rewrites by itself during a restore, and the server undid the change. |
| The undo after a failed check | On Little Snitch 6.5, in that first attempt: it put every rule back |
| Listing and filtering rules, groups, traffic and preferences | Against the simulator in tests/fixtures/fake-littlesnitch.mjs, whose configuration has the shape of that real one |
| Changing a rule, restoring a backup, switching rule groups and profiles | Against the simulator, which does on every restore what the real tool did |
| Profiles | Against the simulator only. The real configuration had none, so their shape comes from older notes. |
| Touch ID for sudo | Not run |
The simulator follows Objective Development's documentation, the shape of a real Little Snitch 6.5 configuration, and for what that configuration did not contain, the format that the torsday/little-snitch-mcp project recorded from Little Snitch 6.3.3. Where your Little Snitch differs, the server reports what it could not read. It does not guess.
The check after a change is strict. If Little Snitch rewrites something this project does not know about, the server undoes the change and tells you which part differed, down to the name of the preference key. That happened on the first real change, and it may happen again on a version of Little Snitch nobody has tried, or with a kind of change nobody has tried on a real one. You can find out on your own Mac in two minutes. See Check it on your Mac.
The package is on npm as little-snitch-mcp-server. Your MCP client starts it with npx, which downloads it the first time.
Claude Desktop, in ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"little-snitch": {
"command": "npx",
"args": ["-y", "little-snitch-mcp-server@0.1.0"]
}
}
}
Claude Code:
claude mcp add little-snitch -- npx -y little-snitch-mcp-server@0.1.0
The examples name a version on purpose. This server can change your firewall, so a new version should run only when you choose it. Without a version, npx may start a newer release the next time your client starts. To update, read the changelog and change the number.
If Claude Desktop reports that it cannot find npx, put the full path in command. which npx prints it, for example /opt/homebrew/bin/npx.
Started this way, the server only reads. Ask the assistant to "check the Little Snitch status". The get_status tool lists what is still missing on your Mac.
To read the code before you run it, or to run the check on your Mac:
git clone https://github.com/Orhan-Said/little-snitch-mcp-server.git
cd little-snitch-mcp-server
npm install
npm run build
Then use "command": "node" with "args": ["/absolute/path/to/little-snitch-mcp-server/dist/index.js"] in place of the npx lines above.
Almost every littlesnitch command must run as root. An MCP server has no terminal, so sudo cannot ask it for a password. macOS shows the prompts itself, and the server never sees your password.
For reading, the server tries three ways in this order:
sudo without a prompt, which works only if your Mac already allows it.For a change, the server always uses the administrator dialog. The dialog states the change, for example Little Snitch MCP wants to ADD a firewall rule: DENY connections to the domains tracker.example for /Applications/Slack.app/Contents/MacOS/Slack. It is the one prompt the server can rely on: sudo asks nobody when a password-free rule matches, and the server cannot see such a rule.
docs/root-access.md has the setup steps for Touch ID, the --elevation option, and the reason this project does not suggest a password-free sudoers rule.
By default the server offers reading tools only. The tools that change something do not exist for the assistant until you name them at startup with --allow:
| Value | What the assistant may do |
|---|---|
switches |
Activate a profile or deactivate all profiles. Switch a rule group or blocklist on or off. |
rules |
Add a rule. Change a rule's action, priority or notes. Remove a rule. |
restore |
Replace the whole configuration with a backup that this server saved earlier. |
all |
All of the above. |
For example, in the Claude Desktop config:
"args": ["-y", "little-snitch-mcp-server@0.1.0", "--allow", "switches,rules"]
Two settings remove the approval for changes. Use them only if that is what you want:
--unattended-writes lets a change run through sudo like a read. With a password-free sudo rule, or within a few minutes of a Touch ID approval, nobody is asked. It has no effect with --elevation dialog, which always shows the dialog.--elevation none runs the tool directly and never asks anyone. It exists for the tests and works only when the server itself runs as root.get_status says in capital letters when changes need no approval.
Reading tools, always available:
| Tool | What it does |
|---|---|
get_status |
Says whether Little Snitch is reachable, what is allowed, how changes are approved, and what you still have to set up. Never shows a prompt. |
list_rules |
Lists rules with filters by process, remote, action, group, text and days unused. |
list_rule_groups |
Lists rule groups and blocklists and whether each is on. |
list_profiles |
Lists profiles and the active one, when the configuration names it. |
get_traffic |
Summarizes traffic history by app and host: connections, denied connections, bytes. |
get_preferences |
Lists preference keys and values. Hides values whose key looks like a password, key or licence. |
get_log |
Reads Little Snitch's own log messages. Needs no root. |
list_backups |
Lists the backups this server saved. |
create_backup |
Saves the whole configuration to a private file on your Mac. |
Tools that change something, each behind --allow:
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.