MCP server/other

macOS Utils MCP Server

An MCP server that provides macOS utility tools for AI assistants.

msageryd/mcp-macos-utils ↗by msagerydupdated
Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1

Prepare the server locally

Run this once before adding it to Claude Code.

git clone <repository-url>
cd mcp-macos-utils
./install.sh
2

Register it in Claude Code

claude mcp add macos-utils -- node /absolute/path/to/mcp-macos-utils/dist/index.js

Replace any placeholder paths in the command with the real path on your machine.

3

Make your agent remember this setup

macos-utils's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Native macOS system notifications
  • Automatic project name detection for notification context
  • Audit trail logging of all notifications to ~/.mcp-notifications.log
  • Support for different notification types: success, error, info, and warning

Tools 1

notifySend a macOS notification with project context.

Try it

Notify me with a success message when the current build process finishes.
Send a warning notification to my desktop that the disk space is running low.
Alert me with an error notification if the script execution fails.
Send an info notification to my macOS desktop about the current project status.
Original README from msageryd/mcp-macos-utils

mcp-macos-utils

A Model Context Protocol (MCP) server that provides macOS utility tools for AI assistants.

Features

  • Native macOS Notifications: Send system notifications with different types (success, error, info, warning)
  • Auto Project Detection: Automatically detects and includes the current project name in notifications
  • Notification Logging: All notifications are logged to ~/.mcp-notifications.log for audit trail
  • TypeScript Support: Fully typed for better development experience

Installation

  1. Clone this repository:
git clone <repository-url>
cd mcp-macos-utils
  1. Run the install script:
./install.sh

This will:

  • Install npm dependencies
  • Build the TypeScript code
  • Create an example configuration file

Configuration

Add the following to your MCP client's configuration file:

{
  "mcpServers": {
    "macos-utils": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-macos-utils/dist/index.js"],
      "env": {}
    }
  }
}

Replace /absolute/path/to/mcp-macos-utils with the actual path to this directory.

Usage

Once configured, the following tool will be available to AI assistants:

notify

Send a macOS notification with project context.

Parameters:

  • title (required): The notification title
  • message (required): The notification message
  • type (optional): Type of notification - success, error, info, or warning (default: info)
  • sound (optional): Whether to play a sound (default: true)
  • subtitle (optional): Custom subtitle (defaults to current project name)

Example:

await notify({
  title: "Build Complete",
  message: "Your project has been built successfully",
  type: "success"
});

Notification Types

  • Success (✅): For successful operations
  • Error (❌): For errors or failures
  • Warning (⚠️): For warnings or cautions
  • Info (ℹ️): For general information

Logging

All notifications are logged to ~/.mcp-notifications.log in JSON format, including:

  • Timestamp
  • Project name
  • Notification type
  • Title and message
  • Any errors that occurred

Development

Building

npm run build

Development Mode

npm run dev

Clean Build

npm run clean
npm run build

Requirements

  • macOS (uses native osascript for notifications)
  • Node.js 20+
  • TypeScript 5.5+

License

MIT

Frequently Asked Questions

What are the key features of macOS Utils?

Native macOS system notifications. Automatic project name detection for notification context. Audit trail logging of all notifications to ~/.mcp-notifications.log. Support for different notification types: success, error, info, and warning.

What can I use macOS Utils for?

Receiving desktop alerts when long-running AI coding tasks complete.. Monitoring background script execution status via system notifications.. Maintaining an audit log of AI-triggered system alerts for debugging.. Integrating AI assistant feedback into the native macOS notification center..

How do I install macOS Utils?

Install macOS Utils by running: git clone <repository-url> && cd mcp-macos-utils && ./install.sh

What MCP clients work with macOS Utils?

macOS Utils works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep macOS Utils docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest