[Feature Request] MCP server (or CLI) to manage per-executable connection decisions
@NghiaTranUIT is already working on this.
Since Nov 11, 2026.
Assessment
This issue has not been assessed yet.
Description
Summary
Please consider shipping an MCP server (or a first-class CLI) for managing per-executable connection decisions in Tiny Shield. For anyone running an agent on the Mac — Claude Code, Cursor, Codex, Hermes, or plain scripts — the current per-path approval flow is the single biggest blocker to unattended work, and there is no supported way to resolve it programmatically.
The problem
Tiny Shield asks once per executable path, which is the right default for a human sitting at the machine. It breaks down for automated agents that create and run new executables all day:
- Every new interpreter, package-manager binary or build tool is a new path, showing the prompt even when a dozen related paths were already approved.
- Agents frequently run headless: remote sessions, SSH, cron jobs, or work triggered from a phone while the Mac has its screen locked. Nobody is there to click Allow, and the connection is simply blocked.
- With background mode enabled (
backgroundModeEnabled = 1), no prompt is presented at all, so "just approve it when it pops up" is not even an option — the app is silently blocked. - The failure is indistinguishable from a network outage. The blocked binary reports
connecttimeouts with no hint that a local firewall is the cause.
A concrete case from last night
hermes update was pulling Python dependencies. The pinned uv binary (~/.hermes/tools/uv-0.13.5-darwin-arm64/uv) exhausted three retries per request and failed with:
Failed to fetch: https://github.com/KittenML/KittenTTS/releases/download/0.8.1/kittentts-0.8.1-py3-none-any.whl
cause: client error (Connect)
cause: tcp connect error
cause: deadline has elapsed
Meanwhile curl fetched the exact same URL with 200 in 0.7 s, and the Homebrew uv (an already-approved path) installed the same wheel without a hiccup. That pair of observations was the only way to prove the culprit was Tiny Shield rather than DNS, IPv6 or an outage — and it took roughly an hour of bisecting, including a detour through an unrelated corporate-VPN hypothesis.
What I would like to be able to do
An MCP server, local-only, that exposes something like:
| Tool | Purpose |
|---|---|
list_pending_requests() |
what is waiting for a decision right now, with executable path, bundle id, parent process and destination |
list_decisions() |
current rules, their scope and origin (interactive vs allow list) |
allow(path | bundle_id, scope, ttl) |
create an allow rule, optionally expiring |
deny(path | bundle_id, scope, ttl) |
the symmetric case, useful for testing |
watch_pending() |
subscribe so a remote agent can escalate to a human instead of hanging |
get_mode() / get_version() |
read state without GUI digging |
Non-negotiables from my side:
- Local-only transport (Unix socket or
127.0.0.1with a bearer token / HMAC, the way your Proxyman MCP already does it) — no network exposure. - Opt-in and off by default, with a visible indicator while the server is enabled.
- No "allow all" tool. Only per-path/per-bundle rules, optionally with a TTL, so a mistake degrades to a narrow rule instead of opening the machine.
- Audit trail: every MCP-initiated decision logged in the app with its origin, and reflected live in the GUI.
- Ideally an equivalent CLI (
tinyshield-cli allow <path>), so a shell script can pre-approve the interpreters it needs before running.
What I tried instead (and why it isn't enough)
- Writing
interactive_connection_decisions.jsondirectly. It works as a hint — the app picked up my entry and rewrote the file with its own timestamp, after which the binary was allowed — but the network extension caches policy, so an edit alone does not take effect until the app rewrites/reloads it. Undocumented and fragile, and I would rather not depend on it. - The GUI allow list with CSV import. Correct and supported, but still requires a human at the machine.
- UI automation / Accessibility clicking the prompt. Fragile, and useless in background mode where no prompt appears.
- URL scheme or AppleScript. Neither exists in the bundle (
CFBundleURLTypesandNSAppleScriptEnabledare absent), and the app listens on no TCP port.
Environment
- Tiny Shield 1.18.1, macOS 27.2, Apple Silicon (M-series)
- Mode: background mode enabled, "Allow Apple-signed programs without asking" enabled
- Agent: Hermes Agent, driving builds, package managers, browsers and language runtimes from Telegram
The per-path model itself is good — it is the absence of a supported automation surface that makes it hostile to agents. An MCP server would let Tiny Shield stay strict while making headless work possible: the agent asks the app, the app decides, and the human keeps the policy.
- Dominant language
- No language data
- Stars
- 69
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ProxymanApp/Tiny-Shield
-
Difficulty 5/5 Over a week Newbie friendliness 42/100
ProxymanApp/Tiny-Shield#108 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
ProxymanApp/Tiny-Shield#107 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
ProxymanApp/Tiny-Shield#106 ·
-
[Feature Request] Add IP blocklist with auto-updatePossibly taken @NghiaTranUIT claimed this 3 days ago. OpenDONE enhancement
ProxymanApp/Tiny-Shield#105 · 3 comments · 1 assignee ·
-
[BUG] App search shows no results while a saved app-wide block rule is activePossibly taken @NghiaTranUIT claimed this 17 days ago. Open
ProxymanApp/Tiny-Shield#104 · 4 comments · 1 assignee ·