macOS MCP Server
Integrates with Apple's native Notes application to programmatically create, list, and read notes and folders.
Provides a comprehensive suite of tools for interacting with macOS system features, including file and folder dialogs, clipboard management, Finder integration, system notifications, screenshots, and utilities for image and PDF processing.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@macOS MCP Server Take a screenshot of my full screen and save it to the desktop"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
macOS MCP Server
An MCP (Model Context Protocol) server for macOS system operations: file dialogs, clipboard, notifications, and Finder integration.
Features
File Dialogs: Open file/folder pickers, save dialogs, multiple selection
Clipboard: Read and write text to system clipboard
System: Notifications, open URLs, get system info
Finder: Reveal files, open with default app, get current selection
Related MCP server: macos-computer-use-mcp
Tools
File Dialogs
Tool | Description |
| Open file picker, return selected path |
| Open folder picker, return selected path |
| Multiple file selection |
| Save file dialog with default name |
Clipboard
Tool | Description |
| Get clipboard text content |
| Set clipboard text content |
System
Tool | Description |
| Display system notification |
| Open URL in default browser |
| Get macOS version, hostname, username |
| Get screen dimensions and scale factor |
Finder
Tool | Description |
| Reveal path in Finder |
| Open file with default app |
| Get currently selected files in Finder |
| Open file with Quick Look preview |
Screenshot
Tool | Description |
| Take screenshot (full screen, region, or window) |
| Screenshot to clipboard |
Image Tools (sips)
Tool | Description |
| Get image metadata (dimensions, format, etc.) |
| Resize image (width, height, or max size) |
| Convert between formats (jpeg, png, gif, tiff, bmp, heic) |
PDF Tools
Tool | Description |
| Get number of pages in PDF |
| Merge multiple PDFs into one |
Notes App
Tool | Description |
| Create a new note |
| List all folders |
| List notes in a folder |
| Read note content by ID |
Installation
Clone and build:
git clone https://github.com/alexlock1/macos-mcp-server.git
cd macos-mcp-server
npm install
npm run buildConfiguration
Add to your MCP settings (e.g., .mcp.json or Claude Desktop config):
{
"mcpServers": {
"macos": {
"command": "node",
"args": ["/path/to/macos-mcp-server/dist/index.js"]
}
}
}Usage Examples
Pick a file
macos_pick_file({
prompt: "Select a document",
fileTypes: ["pdf", "doc", "docx"]
})Copy to clipboard
macos_clipboard_write({ text: "Hello, World!" })Show notification
macos_notify({
title: "Task Complete",
message: "Your file has been processed",
sound: "Glass"
})Get system info
macos_system_info({})
// Returns: { computerName, userName, homeDirectory, osVersion }Reveal in Finder
macos_reveal_in_finder({ path: "/Users/me/Documents/report.pdf" })Take a screenshot
macos_screenshot({
path: "/tmp/screenshot.png",
fullScreen: true
})Resize an image
macos_image_resize({
inputPath: "/path/to/image.png",
outputPath: "/path/to/resized.png",
maxSize: 800
})Get PDF page count
macos_pdf_page_count({ path: "/path/to/document.pdf" })Create a note
macos_note_create({
name: "Meeting Notes",
body: "Discussion points...",
folder: "Work"
})Requirements
Node.js 18+
macOS (uses AppleScript for all operations)
How It Works
All operations use AppleScript via osascript to interact with macOS system features. This provides native dialog appearances and full system integration.
License
MIT
Available Tools
25 toolsmacos_clipboard_readA
Read the current text content from the system clipboard.
Inputs: no named parameters.
macos_clipboard_writeB
Write text content to the system clipboard.
Inputs: text (required).
macos_get_finder_selectionA
Get the currently selected files/folders in the frontmost Finder window.
Inputs: no named parameters.
macos_image_convertC
Convert image to another format (jpeg, png, gif, tiff, bmp, heic).
Inputs: inputPath (required), outputPath (required), format (required).
macos_image_infoB
Get image metadata: dimensions, format, color space, bit depth.
Inputs: path (required).
macos_image_resizeC
Resize an image. Specify width, height, or maxSize to maintain aspect ratio.
Inputs: inputPath (required), outputPath (required), width, height, +1 more.
macos_note_createC
Create a new note in the Notes app.
Inputs: name (required), body (required), folder.
macos_note_foldersB
List all folders in the Notes app.
Inputs: no named parameters.
macos_note_listC
List all notes in a folder.
Inputs: folder.
macos_note_readC
Read the content of a note by its ID.
Inputs: noteId (required).
macos_notifyB
Display a macOS system notification.
Inputs: title (required), message (required), subtitle, sound.
macos_open_urlA
Open a URL in the default web browser.
Inputs: url (required).
macos_open_with_defaultC
Open a file with its default application.
Inputs: path (required).
macos_pdf_mergeC
Merge multiple PDF files into one.
Inputs: inputPaths (required), outputPath (required).
macos_pdf_page_countB
Get the number of pages in a PDF file.
Inputs: path (required).
macos_pick_fileA
Open a file picker dialog and return the selected file path. Returns null if cancelled.
Inputs: prompt, defaultLocation, fileTypes.
macos_pick_filesA
Open a file picker dialog allowing multiple selection. Returns array of paths or null if cancelled.
Inputs: prompt, defaultLocation, fileTypes.
macos_pick_folderA
Open a folder picker dialog and return the selected folder path. Returns null if cancelled.
Inputs: prompt, defaultLocation.
macos_quick_lookC
Open a file with Quick Look preview.
Inputs: path (required).
macos_reveal_in_finderA
Reveal a file or folder in Finder and bring Finder to front.
Inputs: path (required).
macos_save_dialogA
Open a save file dialog and return the chosen path. Returns null if cancelled.
Inputs: prompt, defaultName, defaultLocation.
macos_screen_resolutionA
Get the current screen resolution and scale factor.
Inputs: no named parameters.
macos_screenshotB
Take a screenshot and save to file. Can capture full screen, a region, or specific window.
Inputs: path (required), fullScreen, region.
macos_screenshot_clipboardB
Take a screenshot and copy to clipboard (interactive selection).
Inputs: no named parameters.
macos_system_infoA
Get macOS system information: computer name, username, home directory, OS version.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Each tool has a clearly distinct purpose with no significant overlap. Tools are organized by functional domains like clipboard, images, notes, PDFs, file operations, and system utilities, making it easy for an agent to select the right tool. For example, macos_screenshot and macos_screenshot_clipboard serve different output destinations, and macos_pick_file, macos_pick_files, and macos_pick_folder handle distinct selection types.
All tool names follow a consistent 'macos_' prefix with snake_case and a clear verb_noun pattern, such as macos_clipboard_read, macos_image_convert, and macos_note_list. This uniformity enhances readability and predictability, allowing agents to easily understand and navigate the toolset without confusion from mixed conventions.
With 25 tools, the count is on the higher side for a macOS utility server, bordering on heavy. While it covers many common macOS operations comprehensively, it might feel overwhelming or redundant in some areas, such as multiple screenshot and file picker variants. A more streamlined set could improve usability without losing core functionality.
The toolset provides complete coverage for macOS automation tasks, including CRUD operations for notes, image and PDF manipulation, file system interactions, clipboard management, and system information. There are no obvious gaps; agents can perform end-to-end workflows like creating notes, processing images, and handling files without dead ends.
Maintenance
Related MCP Connectors
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Mac & Windows: let ChatGPT, Claude & Cursor use your email, calendar, iMessage, Teams, files.
PDF, image, video, OCR, screenshot, SQL, QR and text tools for agents. No API key, no signup.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables AI assistants to automate macOS through AppleScript and JXA by providing 44 tools for application management, window control, and UI interaction. It allows for comprehensive system control including screen capture, keyboard and mouse simulation, and system information retrieval.441MIT
- AlicenseAqualityDmaintenanceProvides native macOS computer control tools including mouse and keyboard simulation, screenshot capture, and application management for MCP-compatible agents. It enables AI assistants to directly interact with the macOS operating system and installed apps through standard tool calls.249MIT
- FlicenseBqualityDmaintenanceEnables macOS automation through 45 AppleScript-powered tools for system control, app management, calendar, reminders, notifications, clipboard, and task scheduling.45-
- AlicenseAqualityDmaintenanceEnables macOS system automation, window management, and productivity tools for AI agents, including running AppleScripts, opening apps, retrieving browser tabs, taking screenshots, and controlling system settings.21MIT