How it works
PounceMCP is a native Swift menu bar app with a small MCP server inside. Here’s every moving part.
The server
- Protocol: MCP over Streamable HTTP (JSON responses), protocol version 2025-06-18.
- Address: bound to
127.0.0.1itself, so nothing off your Mac can reach it. Port 47821 for the first Mac account; each other account gets its own (47822, 47823, …), or the next free one. - Token: 24 random bytes, made on first launch and kept in
server.json(mode 600). Every request needsAuthorization: Bearer <token>. - Hello:
GET /mcp/helloanswers without the token with only the name, version, endpoint, categories and the account’s user id, so an app can find PounceMCP without seeing any data.
Category endpoints
/mcp offers every tool you’ve shared. /mcp/calendar or /mcp/calendar,reminders offers only those sources’ tools plus pounce_status, with short instructions, so a small model isn’t handed 50 tools. A call to a tool outside the category is refused. Categories only narrow what the menu allows; they never widen it.
The checks
How each source reads your data
| Source | Reading | Changing |
|---|---|---|
| Mail’s own index database, opened read-only, and the message files on disk (needs Full Disk Access) | Through Mail itself with AppleScript; values are passed as arguments, never pasted into the script | |
| Calendar, Reminders | Apple’s EventKit | EventKit |
| Contacts | Apple’s Contacts framework | None |
| Messages | The Messages database, read-only, including newer messages kept in Apple’s archive format | None |
| Send Texts | Your approved list and limits | Through Messages with AppleScript, arguments only |
| Files | Spotlight (mdfind), PDFKit and the system’s document readers | None |
| Logs | log show with a predicate built only from safe characters, and crash reports | None |
| Mac Status | Apple’s own tools: system_profiler, pmset, ps, lsof, ioreg and more, run without a shell | None |
What happens on a change
- The assistant calls a tool, for example
move_messages. - PounceMCP checks the token, the endpoint’s category and the source switch.
- It checks the change permission and that changes aren’t paused, then waits for the pace (Steady: 1.5 seconds after the last change) and checks the hourly cap.
- It makes the change through the Apple app or framework, a few at a time.
- It writes the change to the activity log, and the menu’s Recent Activity shows it.
Guards
- No send. There is no code that sends email. Messages can send only to your approved people.
- Files block list. Hidden folders,
~/.ssh, keychains,.envfiles, keys and certificates, password databases, shell history and app data in~/Libraryare never listed or read, even if Spotlight finds them. - Secrets removed from logs. Bearer tokens, API keys, passwords in URLs, JWTs and long random strings are replaced with “[redacted]”.
- Mail can’t pile up. If Mail doesn’t answer during a change, PounceMCP pauses everything until you check Mail. A slow read just fails.
- One copy per account. A second copy sees the first and quits.
macOS permissions
macOS keeps permissions per app and per Mac account. Upgrades keep them; a differently signed copy of the app asks again. If you refuse a prompt, macOS won’t show it again, so the menu points you to the right System Settings page.