Skip to main content
Glama

apple-notifier-mcp

by turlockmike
command.ts346 B
import { promisify } from 'util'; import { exec } from 'child_process'; export const execAsync = promisify(exec); /** * Escapes special characters in strings for AppleScript */ export function escapeString(str: string): string { // Escape for both AppleScript and shell return str .replace(/'/g, "'\\''") .replace(/"/g, '\\"'); }

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/turlockmike/apple-notifier-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server