
mediar-ai/mcp-server-macos-use
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
OSレベルのツールでコンピュータを制御し、MCP互換で、あらゆるモデルで動作するAIエージェント
概要
公式ウェブサイト:https://macos-use.dev/ Swiftのモデルコンテキストプロトコル(MCP)サーバー。主にMacosUseSDKを通じてアクセシビリティAPIを活用し、macOSアプリケーションを制御することを可能にします。 Claude Desktopや他の互換性のあるMCPクライアントで使えます。 サーバーは標準的な入出力(stdio)上でMCPコマンドを受信し、アプリケーションとやり取りするための複数のツールを公開します。 https://github.com/user-attachments/assets/cd203171-bac6-4124-9a58-59947a25be07 https://github.com/user-attachments/assets/f274560a-559f-4140-b133-c0b5c500a02d サーバーはCallTool MCPメソッドを通じて以下のツールを公開します: 1. * 指定されたアプリケーションを開くまたは起動し、そのアクセシビリティツリーを通過します。* * 識別子(文字列、必須):アプリケーション名、バンドルID、またはファイルパス。
概要(AI 翻訳)
公式ウェブサイト:https://macos-use.dev/
Swiftのモデルコンテキストプロトコル(MCP)サーバー。主にMacosUseSDKを通じてアクセシビリティAPIを活用してmacOSアプリケーションを制御できます。
Claude Desktopや他の互換性のあるMCPクライアントで使えます。
サーバーは標準的な入出力(stdio)でMCPコマンドを受信し、アプリケーションとやり取りするための複数のツールを公開します。
https://github.com/user-attachments/assets/cd203171-bac6-4124-9a58-59947a25be07
https://github.com/user-attachments/assets/f274560a-559f-4140-b133-c0b5c500a02d
利用可能なツール
サーバーはCallTool MCPメソッドを通じて以下のツールを公開します:
macos-use_open_application_and_traverse
- 説明: 指定されたアプリケーションを起動または起動し、そのアクセシビリティツリーを通過します。
- パラメータ:
identifier(文字列、必須):アプリケーション名、バンドルID、またはファイルパス。
macos-use_click_and_traverse
- 説明: ターゲットアプリケーションのウィンドウ内の特定の座標(PIDで識別)でマウスクリックをシミュレートし、その後アクセシビリティツリーを通過します。
- パラメータ:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
mcp-server-macos-use
Official website: https://macos-use.dev/
Model Context Protocol (MCP) server in Swift. It allows controlling macOS applications by leveraging the accessibility APIs, primarily through the MacosUseSDK.
You can use it in Claude Desktop or other compatible MCP-client.
The server listens for MCP commands over standard input/output (stdio) and exposes several tools to interact with applications.
https://github.com/user-attachments/assets/cd203171-bac6-4124-9a58-59947a25be07
https://github.com/user-attachments/assets/f274560a-559f-4140-b133-c0b5c500a02d
Available Tools
The server exposes the following tools via the CallTool MCP method:
-
macos-use_open_application_and_traverse- Description: Opens or activates a specified application and then traverses its accessibility tree.
- Parameters:
identifier(String, Required): The application’s name, bundle ID, or file path.
-
macos-use_click_and_traverse- Description: Simulates a mouse click at specific coordinates within the window of the target application (identified by PID) and then traverses its accessibility tree.
- Parameters:
pid(Number, Required): The Process ID (PID) of the target application.x(Number, Required): The X-coordinate for the click (relative to the window/screen, depending on SDK behavior).y(Number, Required): The Y-coordinate for the click.
-
macos-use_type_and_traverse- Description: Simulates typing text into the target application (identified by PID) and then traverses its accessibility tree.
- Parameters:
pid(Number, Required): The Process ID (PID) of the target application.text(String, Required): The text to be typed.
-
macos-use_press_key_and_traverse- Description: Simulates pressing a specific keyboard key (e.g., ‘Enter’, ‘Tab’, ‘a’, ‘B’) with optional modifier keys held down, targeting the application specified by PID, and then traverses its accessibility tree.
- Parameters:
pid(Number, Required): The Process ID (PID) of the target application.keyName(String, Required): The name of the key (e.g.,Return,Escape,ArrowUp,Delete,a,B). Case-sensitive for letters if no modifiers are active.modifierFlags(Array, Optional): An array of modifier keys to hold during the press. Valid values:CapsLock(orCaps),Shift,Control(orCtrl),Option(orOpt,Alt),Command(orCmd),Function(orFn),NumericPad(orNumpad),Help.
-
macos-use_refresh_traversal- Description: Only performs the accessibility tree traversal for the specified application (identified by PID). Useful for getting the current UI state without performing an action.
- Parameters:
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"mcp-server-macos-use": {
"command": "/path/to/your/project/mcp-server-macos-use/.build/debug/mcp-server-macos-use"
}
}
}