Feedback

Osascript MCP Server

@m0rvayne Claim

Basic information

Runtime
node
Version
1.1.3
Category
License
MIT
Author
m0rvayne
Submitted by
Community
Stars
12

About Osascript MCP Server

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

Osascript is a MCP server in the Other category listed in the AddMCP.net directory, published by m0rvayne. It exposes 18 tools, including check_permissions, run_osascript, get_clipboard, set_clipboard and more. Runtime: node. License: MIT. The repository has 12 GitHub stars. Source code is hosted on github.com.

Setup

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

Osascript MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Osascript MCP Server tools

  • check_permissions — Report which permissions are granted and what each unlocks
  • run_osascript — Execute any AppleScript or JXA script
  • get_clipboard — Read clipboard as text
  • set_clipboard — Write text to clipboard
  • send_notification — Show macOS notification banner
  • open_url — Open URL in browser (http/https/mailto only)
  • open_app — Launch or bring app to front
  • get_frontmost_app — Get active app name + bundle ID
  • get_browser_tabs — List tabs in Safari, Chrome, or Arc
  • type_text — Type text into active app (max 500 chars)
  • press_key — Press key with modifiers (cmd+c, return, f5)
  • manage_windows — List / move / resize / minimize / fullscreen / close
  • get_displays — List monitors — position, size, which is main
  • app_menu — List or click menu items in any app
  • screenshot — Capture full screen, a region, or an app window
  • app_visibility — Hide, unhide, or quit an application
  • file_open — Open a file or folder, optionally in a given app
  • run_shortcut — List or run Apple Shortcuts

Overview

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.

Frequently asked questions

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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬