Osascript MCP Server

Let Claude control your Mac. Move windows, click menus, type text, read clipboard, manage browser tabs, take screenshots, run Shortcuts - 18 typed tools with input validation and security guardrails. It runs locally over stdio via the published package.

People who work with app and clipboard and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-11 · ★ 11 · #114 OF 227 MAINTAINED AUTOMATION · VERIFIED 2026-09-18

MIT · JavaScript servers · how we verify → /methodology

01 · Install Osascript

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add m0rvayne-mcp-osascript -- npx -y mcp-osascript

Claude Desktop / Cursor / VS Code - add to config

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

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package mcp-osascript - unscoped; check the name against the project README before installing

registry namespace io.github.m0rvayne is GitHub-verified and matches the repo owner

03 · What Osascript can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can report which permissions are granted and what each unlocks, execute any AppleScript or JXA script, read clipboard as text, and write text to clipboard.

Capability map

Tools grouped from the project's README - what Osascript lets an agent do.

run & execute

3 tools - e.g. Execute any AppleScript or JXA script; Show macOS notification banner; List or run Apple Shortcuts

run_osascript · send_notification · run_shortcut

Open

3 tools - e.g. Open URL in browser (http/https/mailto only); Launch or bring app to front; Open a file or folder, optionally in a given app

open_url · open_app · file_open

App

3 tools - e.g. Get active app name + bundle ID; List or click menu items in any app; Hide, unhide, or quit an application

get_frontmost_app · app_menu · app_visibility

Clipboard

2 tools - e.g. Read clipboard as text; Write text to clipboard

get_clipboard · set_clipboard

read & search

2 tools - e.g. List tabs in Safari, Chrome, or Arc; List monitors - position, size, which is main

get_browser_tabs · get_displays

auth & access

1 tool - e.g. Report which permissions are granted and what each unlocks

check_permissions

Type

1 tool - e.g. Type text into active app (max 500 chars)

type_text

Press

1 tool - e.g. Press key with modifiers (cmd+c, return, f5)

press_key

Latest releases

v1.1.3 · 2026-09-08

Security release. Fourth red-team audit, three parallel agents, covering all 17 tools - the four added in v1.1.1 had never been audited. · Install · bash · npx mcp-osascript · Or drop the attached .mcpb onto Claude…

04 · Who maintains Osascript

mcp-osascript is maintained by m0rvayne. It's the only MCP server we track from this author; the repo dates to Jun 2026.

05 · Facts

category
automation - ranked #114 of 227 actively-maintained automation servers as of 2026-09-18.
release cadence
1 release in the last 90 days (latest 2026-09-08)
registry
io.github.m0rvayne/mcp-osascript (active, first published 2026-09-08)
packages
npm:mcp-osascript

06 · Osascript FAQ

Is Osascript still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-11 and it shipped 1 release in the last 90 days. We re-verify nightly.

What can Osascript do?

With this server connected, an agent can report which permissions are granted and what each unlocks, execute any AppleScript or JXA script, read clipboard as text, and write text to clipboard.

How do I install Osascript?

Run `npx -y mcp-osascript`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Osascript run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Osascript

More automation MCP servers · Substack MCP Server (marcomoauro) · Abap Abap Adt API · Delta · Doordash · Instacart

More JavaScript MCP servers · M2M Sentinel · Macfax · Macuse · Acmi MCP · Magpie Capital · see all