1. Conduid
  2. Developer Tools
  3. Mac Control MCP
MCP server · Developer Tools

Mac Control MCP

Native Swift macOS automation MCP — 63 tools: AX, browser, capture, OCR, Spotlight, windows.

Unclaimed last commit a year ago browser
37Low

Scored 16 days ago · breakdown

About Mac Control MCP

Mac Control MCP is an MCP server published by belcrod5 in the Developer Tools category: native Swift macOS automation MCP — 63 tools: AX, browser, capture, OCR, Spotlight, windows. It has been installed 0 times through Conduid.

The repository has 3 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx mac-control-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Mac Control MCP

Powered by Claude · Grounded in docs

I know everything about Mac Control MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

Macの操作をAIで自動化する

License Sponsor

Macのあらゆる操作を、AIで自動化することを目指すプロジェクトです。

画面に表示されている内容をOCRで読み取り、その意味をAIが理解。そして、まるで人間のようにマウスやキーボードを操作することで、これまで手動で行っていた定型作業や複雑なタスクを自動化します。

このツールはModel-Context Protocol (MCP)に対応しており、外部のAIエージェントから簡単に呼び出して利用できます。

特徴

  • ビジュアル化と透明性: AIが取得した情報や処理しようとしていることを画面上に表示するようにしています。
  • 完全オープンソース: Apache 2.0およびその他の寛容なライセンスに基づいています。
  • MCP互換: GUI制御機能をツールとして公開するMCPサーバーとして実行できます。
  • 画像認識: テンプレートマッチングによる操作の自動化。
  • マルチディスプレイ対応: 接続されているすべてのディスプレイ上の要素を検索し、操作できます。

ユースケース

このツールは、「画面上の画像を見つけてクリックする」といった単純なGUI自動化タスクに最適です。1080pから1440pのディスプレイ環境での使用を想定しています。

機能一覧

用途 機能
Youtube広告のスキップ 広告のスキップ
アプリケーションOCR Macで起動中のアプリのテキストを判別、判別からクリックも可能
音量操作 Macの音量をパーセンテージ指定で変更します
ノイズキャンセル操作 ノイズキャンセルのON、OFFの操作

プラットフォーム

macOS (Apple Silicon / Intel)

セットアップ

1. MCPサーバーの登録方法

{
  "mcpServers": {
    "mac-control-mcp": {
      "command": "node",
      "args": [
        "{mac-control-mcpのルートパス}/index.js",
      ]
    }
  }
}

※ nodeが認識しない場合は ターミナルで which nodeとコマンドを実行したnodeのフルパスを使うと確実に動作します

例
% which node
/Users/{ユーザー名}/.nodebrew/current/bin/node

2. アクセシビリティと画面記録の権限を許可

初回実行時、macOSはターミナルアプリケーション(例: ターミナル、iTerm2、Visual Studio Code)に対してアクセシビリティと画面記録の権限を要求します。システム設定 > プライバシーとセキュリティでこれらの要求を許可してください。

デバッグ

定義済みプランの実行

actions.jsonで定義されたプランをコマンドラインから実行します。

# 例: "youtube_ad_skip" プランを実行
node index.js "youtube_ad_skip"

カスタマイズ

アクション定義 (actions.json)

actions.jsonで複数ステップの自動化シーケンス(プラン)を定義します。

{
  "youtube_ad_skip": {
    "metadata": { "description": "YouTube広告をスキップします" },
    "plan": [
      {
        "type": "mouse_move",
        "text": "スキップ",
        "target_app": "Google Chrome",
        "threshold": 0.6
      },
      { "type": "wait", "ms": 500 },
      { "type": "click" }
    ]
  },
  "volume_up": {
    "metadata": { "description": "システムの音量を10%上げます" },
    "plan": [
      { "type": "volume_up", "amount": 10 }
    ]
  }
}

ステップの種類

  • mouse_move: OCRまたは画像でテキストを検索し、その位置にマウスを移動します。
    • img: テンプレート画像のパス。
    • text: OCRで検索するテキスト。
    • target_app: (任意) 検索対象のアプリケーション。
    • threshold: (任意) マッチングの信頼度のしきい値 (0.0-1.0)。
  • click: 現在のマウス位置でクリックします。
  • key: キーを押します。
    • keyCode: 数値のキーコード。
  • wait: 実行を一時停止します。
    • ms: 待機時間(ミリ秒)。
  • volume_up/volume_down/volume_set: システムの音量を制御します。
  • get_app_list/get_app_ocr: アプリケーションウィンドウを管理し、OCRを実行します。

トラブルシューティング

権限エラー

権限に関するエラーが発生した場合、ターミナルがシステム設定 > プライバシーとセキュリティ > アクセシビリティおよび画面記録で必要な権限を持っていることを確認してください。

画像が見つからない

  • actions.json内のテンプレート画像のパスを確認してください。
  • thresholdの値を下げてみてください(例: 0.7)。
  • 対象の画像が画面に表示されていることを確認してください。

パフォーマンス

  • 1080p-1440p: 良好なパフォーマンス。
  • 4K: WASMモジュールのシングルスレッド性のために遅くなります(150-300ms)。

ライセンス

このプロジェクトは Apache 2.0 ライセンス の下で公開されています。

ただし、将来的にプロジェクトの継続性を担保するため、商用利用を制限するライセンス(BUSLなど)へ変更する可能性があることをご了承ください。

利用しているライブラリ

本プロジェクトは、以下のオープンソースソフトウェアを利用しています。素晴らしいソフトウェアを提供してくださる開発者の皆様に感謝します。

  • OpenCV.js: Apache-2.0 License
  • @modelcontextprotocol/sdk: Apache-2.0 License
  • canvas: MIT License
  • jimp: MIT License
  • jsdom: MIT License
  • node-mac-displays: MIT License
  • screenshot-desktop: MIT License

README mirrored from the source repository 16 days ago. The original is authoritative.

Questions

About Mac Control MCP

How do I install Mac Control MCP?

Run npx mac-control-mcp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Mac Control MCP safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mac Control MCP still maintained?

The last commit was a year ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.