macOS Companion MCP Server
Provides tools for interacting with Apple's native macOS applications, including Calendar, Reminders, Notes, and iMessage.
Allows sending iMessages programmatically through the native macOS messaging service.
Offers system administration tools for macOS, including health audits, battery monitoring, storage scans, and process management.
Enables retrieval of open Safari tabs and browsing context.
Click on "Install 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 Companion MCP Serverrun a system health check"
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 Companion MCP Server ๐ป
The Local Bridge Between AI Agents and the macOS Substrate.
You don't need another generic electron wrapper. You need raw, direct access to the native data structures already running on your machine. macos-mcp is a bare-metal Model Context Protocol (MCP) server that hooks your agents (OpenClaw, Claude Desktop, Cursor) directly into native macOS services, media, and system administration utilities.
This is critical because context engineering is an ongoing exercise. A simple file-read tool won't help when you need to know if the CPU is throttling, what your latest podcast playback head is, or if Apple Notes is refusing to sync.
๐ฏ The Toolset
Highly granular tools exposed directly to your agent layer:
Domain | Tools | Actionable Intel Provided |
System Health |
| Machine Intel. Deep dive into thermal pressure, cycle counts, memory swaps, and local Time Machine snapshots. |
Native Apps |
| Productivity. Headless access to Reminders, Notes, and Calendar without UI bloat. |
Media / Web |
| Context. Directly reads |
Admin |
| Control. Triggers native |
Related MCP server: macos-mcp
๐ Getting Started
1. Installation
Clone it, build it, and point your MCP config at the dist/index.js file.
git clone https://github.com/surendranb/macos-mcp.git
cd macos-mcp
npm install
npm run build2. Configuration (Claude Desktop / Cursor)
Add the server to your agent's MCP settings configuration file:
{
"mcpServers": {
"macos-companion-mcp": {
"command": "node",
"args": ["/absolute/path/to/macos-mcp/dist/index.js"]
}
}
}Note: Replace /absolute/path/to/ with the actual path to where you cloned the repository.
๐ ๏ธ Project Philosophy (The "Anti-Slop" Rules)
This project focuses on bare-metal efficiency for local AI agents:
Zero Sloppy Abstractions: We hit
/usr/bin/shortcutsexplicitly. No PATH collisions with python environments.No Bulky SQLite Bindings: The server executes queries against local databases using macOS's built-in
sqlite3command-line utility. This prevents heavy native compilation failures ofnode-sqlitepackages on Apple Silicon.Fire and Forget Warmups: Notes and Reminders have aggressive headless cold-start times. We background
osascriptcalls at startup to warm the process memory so the agent isn't left waiting.Local Only: All processing stays on the machine.
๐งช Testing
A regular laptop combined with basic testing harnesses is enough. Run npm run test to spin up a headless stdio test suite that probes the endpoints and outputs a clean success dashboard.
License
MIT License
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/surendranb/macos-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server