mcp-server-macos
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools that act on the Mac this server runs on, which is the user's own computer. Reading tools are safe to call at any time. Tools that show, change or send something are seen by the user: call them when the user asked for it, or when it clearly serves what they asked. When a tool fails for a missing permission, only the user can grant it: tell them what the error says to allow and where, and call the tool again once they say it's done. Only some of the tools are listed at first, and there's one for most of what a Mac does: files, PDFs, images, videos, audio, apps, windows, the screen, the keyboard and mouse, the settings. To do something in an app, get_ui_elements lists its buttons, fields and menus, to use by id: rather than a screenshot. For a task on this Mac, look for a tool here before writing a script or installing a library: enable_toolsets lists every toolset with the names of its tools, and adds the toolset a task needs; find_tools searches every tool by what it does.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_clipboardA | Read the clipboard: its text, whether it holds an image, and the files on it. What the user copied last may be private (a password, a message): read it when the task calls for it. |
| get_clipboard_imageA | Get the image on the clipboard, as a PNG. Fails when the clipboard holds no image. |
| set_clipboardA | Put text on the clipboard, replacing what it held, for the user to paste. |
| copy_files_to_clipboardA | Put files on the clipboard, replacing what it held, as if they were copied in Finder: pasting in Finder copies them there, and apps like Mail attach them. |
| copy_image_to_clipboardA | Put an image on the clipboard, from a file, replacing what it held. Other apps get it as an image copied in Preview, not as a file. |
| clear_clipboardA | Empty the clipboard. What it held is gone. |
| wait_for_clipboard_changeA | Wait until the user, or an app, copies something new, and return it. Clearing the clipboard doesn't count. Fails when nothing is copied in time. |
| show_alertA | Show the user an alert with an OK button, and wait until it's dismissed. To tell them something without waiting, send a notification instead. |
| ask_confirmationA | Ask the user a yes or no question in a dialog, and wait for the answer. |
| ask_textA | Ask the user for a line of text in a dialog, and wait for it. What they type comes back as the result, a password included: ask for one only when the task needs it. |
| ask_choiceA | Let the user pick one option from a list, in a dialog. It waits until they answer, or the time runs out. |
| ask_for_filesA | Let the user pick a file, or several, in the system's file picker. It waits until they answer, or the time runs out. |
| ask_for_folderA | Let the user pick a folder in the system's folder picker. It waits until they answer, or the time runs out. |
| check_notification_permissionA | Check whether send_notification can show notifications, without sending one. A Focus mode such as Do Not Disturb can still hide notifications that are allowed. |
| send_notificationA | Show a notification on this Mac, in the top-right corner of the screen and in Notification Center. macOS shows it as coming from Script Editor. Text over 4096 characters is clipped. Don't put a secret in a notification: other processes of the user can see its text while it's being posted. |
| get_ui_elementsA | List what an app shows on screen: its buttons, text fields, links, checkboxes, tabs and menus, each with an id, its name, its value and where it is. Use it to see an app before acting on it, rather than a screenshot: then press_ui_element, set_ui_element_value or click_menu_item with what it gives. Only what can be seen is listed: the window in front, with the panels over it. When a menu, a dialog or a sheet (a save panel) is open, only it is, as nothing else can be used until it closes. Web pages are read too, in Safari, Chrome and Electron apps. Some apps (games, a few cross-platform ones) show little or nothing this way: take a screenshot then. |
| find_ui_elementsA | Find the elements on screen with a name, a role, or both: the 'Send' button, the search field. Those named exactly so come first ('Save' before "Don't Save"), then the others, top to bottom. Text is found too, not only controls. Give a name, a role, or both. |
| wait_for_ui_elementA | Wait until an element shows up (a page loaded, a dialog opened, a button enabled), and return it; null if it doesn't within the timeout. An app that isn't running yet is waited for too. |
| get_focused_ui_elementA | Get the element keystrokes go to now (a text field, a list), in whichever app. Null when there's none. |
| get_ui_element_atA | Get the element at a point of the screen, in whichever app shows it there: what a click there would reach. |
| read_ui_element_textA | Read all the text an element holds, its own and what's in it, what's scrolled out of view included: a long text area, a message, a dialog. |
| list_menu_itemsA | List the items of an app's menus, with their keyboard shortcuts: what the app can do, including what no button on screen shows. The app needn't be in front. click_menu_item chooses one. |
| focus_ui_elementA | Bring an element's app to the front and give it the keyboard focus, for type_text or press_keys to go to it. |
| set_ui_element_valueA | Set what an element holds: a text field's text, replacing it, or a slider's position. When the app refuses, or a web form doesn't notice, focus_ui_element and type_text instead. |
| press_ui_elementB | Use an element as a click would: press a button, follow a link, toggle a checkbox, choose a tab or a menu item. It's done through Accessibility: the pointer doesn't move, and the window needn't be in front. What it does is the app's: a button may send, delete or buy. |
| click_ui_elementA | Click an element's middle with the mouse, bringing its app to the front: for a double-click, a right click, or an element press_ui_element doesn't work on. |
| perform_ui_actionB | Ask an element to do one of its actions, as its actions field lists them. |
| click_menu_itemA | Choose an item of an app's menus, as a click on it would. The app comes to the front first, since its menus act on its window in front. What it does is the app's: an item may delete, send or quit. |
| find_toolsA | Search every tool this server has, enabled or not: the best matches first. A tool that isn't enabled yet is called once its toolset is, with enable_toolsets. |
| enable_toolsetsA | Add toolsets to this server: their tools are listed, and callable, from now on, as the others. Enable only what the task needs: each toolset makes the list of tools longer. The toolsets:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 30 tools
Most tools target clear resource/action pairs: clipboard, dialog, notification, and UI operations are broadly distinct. The main overlap is within UI interaction—press_ui_element, click_ui_element, perform_ui_action, and click_menu_item could be confused—but the descriptions differentiate them well enough.
All tool names use consistent snake_case verb_noun phrasing, including variants like get_, set_, ask_, wait_for_, and click_. The convention is predictable across clipboard, dialog, notification, UI, and meta tools.
Thirty initially exposed tools is at the heavy end, though the server is explicitly modular with find_tools and enable_toolsets to add further toolsets. For broad macOS automation the count is defensible, but the initial surface feels large and the overall available tool universe is massive.
The loaded toolsets cover their domains thoroughly: clipboard read/write/copy/clear/wait, dialog prompts, notification permission and sending, and a rich UI inspection and interaction surface. The find_tools and enable_toolsets meta-tools also provide a path to the broader macOS automation surface, avoiding dead ends.