MCP.so
ログイン

Osascript MCP Server

@m0rvayne

基本情報

カテゴリ

その他

ライセンス

MIT

作者

m0rvayne

Osascript MCP Server について

Let Claude control your Mac — windows, menus, keyboard, clipboard, browser tabs. 18 typed tools, 84 tests, security-first MCP server.

Osascript MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "osascript": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-osascript"
      ]
    }
  }
}

Osascript MCP Server のツール

18

Report which permissions are granted and what each unlocks

Execute any AppleScript or JXA script

Read clipboard as text

Write text to clipboard

Show macOS notification banner

Open URL in browser (http/https/mailto only)

Launch or bring app to front

Get active app name + bundle ID

List tabs in Safari, Chrome, or Arc

Type text into active app (max 500 chars)

Press key with modifiers (cmd+c, return, f5)

List / move / resize / minimize / fullscreen / close

List monitors — position, size, which is main

List or click menu items in any app

Capture full screen, a region, or an app window

Hide, unhide, or quit an application

Open a file or folder, optionally in a given app

List or run Apple Shortcuts

概要

What is Osascript?

Let Claude control your Mac — windows, menus, keyboard, clipboard, browser tabs. 18 typed tools, 84 tests, security-first MCP server.

How to use Osascript?

The README includes setup instructions such as "command": "npx",.

Key features of Osascript

  • No permission needed — clipboard, notifications, URLs, apps, files, displays, Shortcuts. Works immediately
  • Automation — browser tabs, frontmost app. macOS prompts once per browser
  • Screen Recording — screenshots only. Grant in System Settings → Privacy & Security → Screen Recording
  • run_osascript executes arbitrary code — this is by design. The MCP client (Claude) is the trust boundary
  • Scripts piped via stdin to /usr/bin/osascript — no temp files, no TOCTOU race conditions

Use cases of Osascript

  • Connect an MCP-compatible client to this repository's service.
  • Review the README-backed setup before enabling it in production.

よくある質問

1

Where is the source code for Osascript?

The source code is linked from the repository URL on this page.

2

Does Osascript include a standard MCP config?

If the README contains a parseable MCP configuration block, it is shown in the Config tab.

コメント

「その他」の他のコンテンツ