AP

akira-papa/osascript-mcp-1

Productivity workflow

This page was translated automatically. Technical details may differ from the original. View the original

6 stars 9 forks Quality 59 Trend 14

macOS の osascript(AppleScript / JavaScript for Automation)を実行できる MCP サーバーです。

Overview

macOS の osascript(AppleScript / JavaScript for Automation)を実行できる MCP サーバーです。 - : macOS のネイティブ AppleScript を実行 - : JavaScript for Automation(JXA)を実行 - : ファイル削除コマンドのみブロック(その他は全て許可) - : .mcpb 形式でワンクリックインストール 1. .mcpb ファイルをダウンロード 2. Claude Desktop にドラッグ&ドロップ 3. インストールを許可 Claude Desktop の設定ファイル(~/Library/Application Support/Claude/claude_desktop_config.json)に追加: - ✅ : シェルコマンド(ls, curl, cat など) - ✅ : System Events(keystroke, key code) - ✅ : 全アプリケーションの制御 - ❌ : rm, delete, trash などの削除操作 より厳格なセキュリティが必要な場合は、server/index.js の BLOCKED_PATTERNS を編集してください。 - MCP Protocol - MCPB Specification - AppleScript Language Guide - JXA Release Notes

Install

This server does not publish a one-line install command.

Open the repository installation guide New to MCP? Start with the mcpskill.org guide →

Configuration

{ "mcpServers": { "osascript": { "command": "node", "args": ["/path/to/osascript-mcp/server/index.js"], "env": { "OSASCRIPT_TIMEOUT": "30000", "OSASCRIPT_LOG_SCRIPTS": "true" } } } }