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.

评论

其他 分类下的更多 MCP 服务器