
ericblue/mac-agent-gateway
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ericblue/mac-agent-gateway は https://github.com/ericblue/mac-agent-gateway. からインポートされた Agent スキルの候補です
概要
ericblue/mac-agent-gateway は https://github.com/ericblue/mac-agent-gateway. からインポートされた Agent スキルの候補です
概要(AI 翻訳)
ローカルの macOS HTTP API ゲートウェイで、Apple 保護機能 (Reminders, Messages) を安定、エージェントフレンドリーな REST API 経由で公開します。
なぜMAGなのか?
VM、コンテナ、リモートホストで動作する最新のAIエージェントは、macOS保護されたサービスにアクセスできません。
- TCC許可施行 — Appleは、リマインダー、メッセージなどへのアクセスを制限します。
- サンドボックス制限 — VM とコンテナは macOS CLI を呼び出すことはできません
- Fragile CLIインテグレーション — エージェントからの直接CLIの実行は信頼できない
MAG は、Mac をセキュアな HTTP ゲートウェイとして実行し、すべての TCC の権限と CLI の実行をクリーンな REST エンドポイントで処理します。
あなたにとってこの意味
** MAG では、AI アシスタントが Apple Reminders と Messages で動作します。通常、Mac にロックされているアプリは、制御された安全な方法で動作します。
-あなたのAIアシスタントは、実際のタスクを支援することができます — “明日のリマインダーを追加”、先週のリンクJaneが送信した"、 “私のtodoリストをテキスト私に送信”
- あらゆるAIエージェントとの作業 — OpenClaw、Claudeコード、Cursor、またはHTTPリクエストを使用できるツール
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Mac Agent Gateway (MAG)
A local macOS HTTP API gateway that exposes Apple-protected capabilities (Reminders, Messages) via a stable, agent-friendly REST API.
Why MAG?
Modern AI agents running in VMs, containers, or remote hosts cannot access macOS-protected services due to:
- TCC Permission Enforcement — Apple restricts access to Reminders, Messages, etc.
- Sandbox Restrictions — VMs and containers can’t invoke macOS CLIs
- Fragile CLI Integration — Direct CLI execution from agents is unreliable
MAG solves this by running on your Mac as a secure HTTP gateway, handling all TCC permissions and CLI execution while exposing clean REST endpoints.
What This Means for You
In plain terms: MAG lets AI assistants work with your Apple Reminders and Messages—apps that are normally locked to your Mac—in a controlled, secure way.
- Your AI assistant can now help with real tasks — “Add a reminder for tomorrow”, “Find the links Jane sent me last week”, “Text me my todo list”
- Works with any AI agent — OpenClaw, Claude Code, Cursor, or any tool that can make HTTP requests
- You stay in control — Choose exactly what the AI can do: read-only access, send only to specific contacts, or full access
- No cloud required — Everything runs locally on your Mac; your data never leaves your computer
- Built on trusted tools — Uses popular open-source CLIs (remindctl, imsg) with a standard REST API on top
Example permissions you can set:
- Allow reading messages but not sending
- Allow sending only to yourself or specific contacts
- Allow reminders but disable message access entirely
Try prompts like these with your AI agent:
- “What’s on my todo list for today?”
- “Find the last 20 Trulia links my wife sent me and organize them by state and city”
- “Create a reminder for tomorrow at 9am to call the dentist”
- “Text me a summary of my overdue reminders”
- “Search my messages with John for anything about the project”
- “Find the last restaurant link Jane sent me, look it up, and text me the hours and address”
See EXAMPLES.md for 21+ real-world prompts and workflows.
flowchart LR
subgraph Agents["🤖 AI Agents"]
direction TB
A1["OpenClaw / Hermes"]
A2["Claude Code / Cowork"]
A3["Custom HTTP Client"]
end
subgraph Gateway["🖥️ Mac Agent Gateway"]
direction TB
subgraph API["REST API :8123"]
R["/v1/reminders"]
M["/v1/messages"]
end
subgraph Services["CLI Services"]
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add ericblue/mac-agent-gateway