Support
Contact: found a bug, or have an idea? Open an issue on GitHub. MacWall is in beta, so feedback is welcome.
When reporting a problem, please include your macOS version, your MacWall version, and what you expected to happen. The output of MacWall --status (see below) helps too.
Setup
MacWall works through a network content filter system extension, which macOS asks you to approve once. Setup takes about a minute.
- Launch MacWall from Applications. A shield icon appears in the menu bar and a setup popover lists five steps.
- Next to Extension installed, click Install (then Activate or Open Settings on the next row if shown). macOS reports that a system extension was blocked.
- Open System Settings > General > Login Items & Extensions > Network Extensions and turn MacWall on. An administrator password may be required.
- Back in the MacWall popover, click Install next to Filter installed, then click Allow when macOS asks whether MacWall may filter network content.
- Filter enabled turns green and the menu bar shield turns green. Click Log Viewer in the popover to see connections as they happen.
If the shield isn't green, open the popover: it shows which step still needs attention.
Set up the MCP server
MacWall includes a Model Context Protocol (MCP) server, so an AI assistant or coding agent can answer questions about your network activity and, if you allow it, manage your rules. The server runs locally: your AI client starts it and talks to it over standard input and output. It does not listen on the network.
Before you start, finish the setup above. MacWall must be in Applications and the menu bar shield must be green, because the server reads data from the running filter. Every client below runs the same command:
/Applications/MacWall.app/Contents/MacOS/MacWall --mcp Read-only mode: add --read-only after --mcp to give the agent query tools only. It can then read connections and rules but can't add, change or delete rules or turn the filter on or off.
Claude Code
Run this in Terminal:
claude mcp add macwall -- /Applications/MacWall.app/Contents/MacOS/MacWall --mcp Read-only: claude mcp add macwall -- /Applications/MacWall.app/Contents/MacOS/MacWall --mcp --read-only
Claude Desktop
Open Claude > Settings > Developer > Edit Config. This opens ~/Library/Application Support/Claude/claude_desktop_config.json. Add MacWall under mcpServers, then quit and reopen Claude:
{
"mcpServers": {
"macwall": {
"command": "/Applications/MacWall.app/Contents/MacOS/MacWall",
"args": ["--mcp"]
}
}
} Cursor
Add the same mcpServers entry to ~/.cursor/mcp.json to use MacWall in every project, or to .cursor/mcp.json in a project folder to use it only there:
{
"mcpServers": {
"macwall": {
"command": "/Applications/MacWall.app/Contents/MacOS/MacWall",
"args": ["--mcp"]
}
}
} VS Code with GitHub Copilot
Run MCP: Open User Configuration from the Command Palette to use MacWall in every workspace, or create .vscode/mcp.json in a workspace. VS Code uses a servers key (not mcpServers):
{
"servers": {
"macwall": {
"type": "stdio",
"command": "/Applications/MacWall.app/Contents/MacOS/MacWall",
"args": ["--mcp"]
}
}
} MacWall's tools then appear in Copilot Chat in agent mode.
OpenAI Codex
Run this in Terminal:
codex mcp add macwall -- /Applications/MacWall.app/Contents/MacOS/MacWall --mcp Or add it to ~/.codex/config.toml yourself. The Codex CLI and IDE extension share this file:
[mcp_servers.macwall]
command = "/Applications/MacWall.app/Contents/MacOS/MacWall"
args = ["--mcp"] Other clients
Any MCP client that supports local (stdio) servers works. Set the command to /Applications/MacWall.app/Contents/MacOS/MacWall and the arguments to --mcp, plus --read-only if you want it.
Try it
Ask your assistant things like:
- “What did this app connect to in the last hour?”
- “Which countries did my Mac send data to today?”
- “Show me the process tree for the connection to this host.”
- “Block outbound connections from curl.” (needs full mode, not read-only)
The agent can query connections with FQL, inspect process trees and bandwidth timelines, list rules and their history, and, outside read-only mode, add, edit, enable, disable, archive or delete rules. Anything your AI client does with the results, such as sending them to its AI provider, is up to that client; see the privacy policy.
Frequently asked questions
What does MacWall record?
For each TCP or UDP connection: the app and process that made it (name, process ID, code-signing identifier and parent-process chain), direction, protocol, remote host, IP address and port, local address, the URL when macOS provides one, the server's country, and the number of bytes sent and received over time.
MacWall does not store the contents of your traffic. Everything is kept on your Mac. See the privacy policy.
How do Block, Allow and Ask rules work?
A rule is an FQL expression plus an action. Create one from the Rules tab in the sidebar (Add Rule), or save your current search as a rule with Save Rule.
- Block drops matching connections as they open.
- Allow lets matching connections through.
- Ask lets a matching connection through and then shows a prompt, so you can turn it into an allow or block rule with one click. The first connection is not held while you decide.
Every edit creates a new version of the rule. You can enable, disable or archive rules at any time. Rules apply to TCP and UDP traffic.
What are some useful FQL queries?
FQL (flow query language) is MacWall's own original query language, with filters inspired by Wireshark display filters and pipelines inspired by Loki's LogQL. It filters the log. Type it in the search bar; autocomplete suggests fields, operators and values, and errors are highlighted in place.
last 5m AND dir = out AND host CONTAINS "openai"
country != US AND proto = TCP
proc = "curl" | sort bytes_out DESC
host CONTAINS "apple" You can also click any value in the detail panel to show or hide matching rows.
Does the MCP server send my data anywhere?
No. The server only talks to the AI client on your Mac that started it, and it does not listen on the network. Your AI client decides what to do with the answers, such as sending them to its AI provider. Setup steps for each client are in Set up the MCP server.
Is there a command line?
Yes. The app binary doubles as a CLI:
/Applications/MacWall.app/Contents/MacOS/MacWall --status
/Applications/MacWall.app/Contents/MacOS/MacWall --flows 20
/Applications/MacWall.app/Contents/MacOS/MacWall --flows 50 --query "dir = out AND proto = TCP"
/Applications/MacWall.app/Contents/MacOS/MacWall --rules
/Applications/MacWall.app/Contents/MacOS/MacWall --rule-add --name "block curl" --action block --fql "proc = curl and dir = out" Rules can also be edited, enabled, disabled, archived and deleted (--rule-edit, --rule-enable, --rule-disable, --rule-archive, --rule-delete, each followed by the rule ID).
How do I turn MacWall off or remove it?
- Click Disable in the MacWall menu bar popover to stop filtering, or turn MacWall off in System Settings > General > Login Items & Extensions > Network Extensions.
- To remove it completely, remove MacWall from that same Network Extensions list, then delete the app from Applications. A restart may be needed to finish removing the extension.
Deleting the app does not delete the connection log. It lives in the app group container group.net.macwall under /private/var/root/Library/Group Containers/ (the extension's copy) and ~/Library/Group Containers/ (the app's copy). Delete those folders to remove all MacWall data; the first needs an administrator account.
A website or app stopped working.
Check the Rules tab for a Block rule that matches it: search the log for the host and look at the matching connections. Disable or edit the rule, or click Disable in the popover to pause filtering entirely.
Why isn't the menu bar shield green?
The extension or the filter isn't active yet. Open the popover and finish the remaining setup steps. If the extension was approved but nothing is logged, make sure MacWall is turned on in the Network Extensions list in System Settings, then restart your Mac.
Requirements
- A Mac running macOS 14.0 Sonoma or later
- An administrator account to approve the network extension
- For the MCP server: any MCP-capable AI client installed on the same Mac