Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MACOS_MCP_ALERT_TONoYour own iMessage handle; the HTTP connector texts it on each sign-in, wrong password, lockout and first call from a new network, plus a daily digest. Default: not set (no alerts).
MACOS_MCP_MESSAGESNoMessages module and the texts section of `daily_briefing` (`off` to disable). Default: `on`.
MACOS_MCP_READONLYNoDisable all write tools (`true` or `1`). Default: not set (all tools).
MACOS_MCP_WHATSAPPNoWhatsApp module (`off` to disable). Default: `on`.
MACOS_MCP_CALENDARSNoComma-separated calendar names to include. Default: all calendars.
MACOS_MCP_HTTP_PORTNoLoopback port for the HTTP transport. Default: 8443.
MACOS_MCP_TRANSPORTNo`stdio`, or `http` for the remote connector. Default: `stdio`.
MACOS_MCP_PUBLIC_URLNoPublic origin of the connector, no path (required for `http`); the MCP endpoint is `<url>/mcp`. Default: not set.
MACOS_MCP_MAIL_ACCOUNTNoDefault mail account name. Default: first account.
MACOS_MCP_HTTP_TOOLSETSNoModules exposed over HTTP, e.g. `mail:read,messages`; `:read` keeps only read-only tools. Default: all.
MACOS_MCP_REMINDER_LISTSNoComma-separated reminder list names to include. Default: all lists.
MACOS_MCP_TAILSCALE_LOGINNoTailscale login allowed to sign in; the sign-in page then answers only that tailnet user, never Funnel traffic. Default: not set (sign-in page open to anyone with the URL).
MACOS_MCP_WRITE_RATE_LIMITNoMax write operations per minute. Default: 10.
MACOS_MCP_CONFIRM_DESTRUCTIVENoRequire `confirm: true` on destructive tools (`true` or `1`). Default: not set.
MACOS_MCP_OAUTH_PASSWORD_HASHNoConnector password hash, overriding `~/.macos-mcp/oauth-password` from `npm run set-password`. Default: not set.
MACOS_MCP_MESSAGES_HANDLES_ALLOWLISTNoComma-separated phone numbers or emails `messages_send` may text (`*` wildcards allowed); every participant of a group must match. Default: not set (any).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
mail_list_accountsA

List all configured email accounts in Apple Mail. Use when: discovering available email accounts, checking account configuration

mail_list_mailboxesA

List all mailboxes for an email account. Use when: browsing mailbox structure, checking unread counts per folder

mail_get_emailsA

Get emails with optional filtering. Each result includes the account, mailbox, and a body preview (~200 chars). Omit mailbox to search across all mailboxes and accounts. TRIAGE GUIDELINES: (1) Group results by account when presenting to the user. (2) Use the preview field to understand what each email is about — never guess from the subject line alone. (3) For any email you want to describe in detail, call mail_get_email first to read the full body. Returns newest first with pagination metadata. Use when: triaging inbox, reviewing recent messages

mail_get_emailA

Get a single email with full content including body text. Reads the email body directly from disk — no need to specify mailbox or account. Returns the account and mailbox the email belongs to. Use when: reading full email content, preparing to reply or forward

mail_searchA

Search emails by subject and/or sender. Each result includes the account, mailbox, and a body preview (~200 chars). Omit mailbox to search across all mailboxes and accounts. Use the preview field to understand results — never guess content from the subject line alone. Returns pagination metadata. Use when: finding emails by subject, sender, or keyword

mail_sendA

Send an email. Supports HTML formatting via htmlBody for rich text (bold, italic, links, tables, etc). For important emails, prefer mail_create_draft so the user can review first. Use when: sending a quick reply, automated email dispatch

mail_create_draftB

Create a plain text draft email for user review in Mail.app. Preferred for important emails. Note: HTML drafts are not supported — use mail_send for HTML emails. Use when: composing an important email that needs review, preparing a message for later

mail_replyA

Reply to an email (plain text only). Set send=false to save as draft for review. Honours MACOS_MCP_SEND_AS_DRAFT (forces draft mode). Use when: responding to a conversation, following up on a thread

mail_forwardA

Forward an email (plain text only). Set send=false to save as draft for review. Validates recipients against MACOS_MCP_ALLOWED_RECIPIENTS and honours MACOS_MCP_SEND_AS_DRAFT (forces draft mode). Mailbox and account are auto-resolved from the message ID if not provided. Use when: sharing an email with someone else, delegating a message

mail_moveA

Move an email to a different mailbox. Source mailbox and account are auto-resolved from the message ID if not provided. Use when: organizing emails into folders, archiving messages

mail_set_flagsA

Set flagged and/or read status on an email. Mailbox and account are auto-resolved from the message ID if not provided. Use when: marking emails as read/unread, flagging important messages

mail_search_bodyA

Search email body content using full-text search. Searches inside the actual email text, not just subject/sender. Requires the FTS index to be built first (use mail_fts_index). Returns pagination metadata. Use when: searching for specific content within emails, finding messages mentioning a topic

mail_fts_indexA

Build or update the full-text search index for email bodies. Run with rebuild=true for a full re-index, or rebuild=false (default) for incremental updates. Use when: preparing for body search, updating search index after new emails

mail_fts_statsA

Get statistics about the full-text search index: how many messages are indexed, total messages, index size. Use when: checking if FTS index is up to date, diagnosing search issues

calendar_listA

List all calendars (iCloud, Google, Exchange, etc.). Use when: discovering available calendars, checking which calendars are configured

calendar_todayB

Get all events for today. Returns pagination metadata. Use when: checking today's schedule, daily planning

calendar_this_weekB

Get all events for the next 7 days. Returns pagination metadata. Use when: weekly planning, checking upcoming schedule

calendar_get_eventsB

Get events in a date range. Dates should be ISO 8601 format (e.g. 2026-03-08). Returns pagination metadata. Use when: looking up events in a date range, checking availability for a period

calendar_get_eventA

Get full details for a specific event including attendees. Use when: viewing event details, checking attendee list or event description

calendar_create_eventC

Create a new calendar event. Use when: scheduling a meeting, adding an event to the calendar

calendar_modify_eventA

Modify an existing calendar event. You can update the title (summary), start/end dates, location, and/or description. Only include the fields you want to change. Use when: rescheduling a meeting, updating event details

calendar_delete_eventB

Delete a calendar event. Use when: cancelling a meeting, removing an event from the calendar

reminders_list_listsA

List all reminder lists. Use when: discovering available reminder lists, checking list names before creating reminders

reminders_getB

Get reminders with filtering. Default: incomplete only. Returns pagination metadata. Use when: checking tasks for a specific list, reviewing to-dos

reminders_get_detailB

Get full details for a specific reminder. Use when: viewing reminder notes, checking reminder metadata

reminders_createA

Create a new reminder. Use when: adding a task or to-do item, setting a due-date reminder

reminders_completeC

Mark a reminder as completed. Use when: finishing a task, checking off a to-do

reminders_deleteC

Delete a reminder. Use when: removing a task that is no longer needed

contacts_listA

Browse contacts alphabetically with pagination. Use when: browsing the address book, listing contacts without a specific search term

contacts_getA

Get full details for a specific contact including all emails, phones, addresses, and notes. Use when: viewing complete contact information, getting phone numbers or addresses

contacts_searchA

Search contacts by name, email, phone number, or organization. Use when: finding a specific person's contact details by name or email

notes_listA

List notes with filtering by folder, account, pinned status, or date. Returns title, snippet, and metadata (not full body). Use when: browsing notes, checking recent activity

notes_getA

Get a single note with full body content. Returns plaintext by default; use format='html' for rich text. Password-protected notes return metadata only. Use when: reading a specific note's content

notes_searchA

Search notes by title and/or snippet content. Does not search full body text (use notes_get for that). Use when: finding notes by keyword, looking up a specific topic

notes_list_foldersA

List all note folders with note counts. Use when: discovering available folders, checking folder structure before creating or moving notes

notes_createA

Create a new note in the specified folder. Body is plain text (converted to HTML internally). Use when: saving information, capturing meeting notes, creating a new document

notes_updateA

Update a note's body content. WARNING: This replaces the ENTIRE body — there is no append or patch. Read the note first if you need to preserve existing content. Cannot modify password-protected or trashed notes. Use when: editing an existing note

notes_deleteA

Move a note to Recently Deleted (not permanent deletion). Use when: removing a note that is no longer needed

notes_moveB

Move a note to a different folder. Use when: organizing notes, moving between folders or accounts

notes_create_folderB

Create a new folder in Notes. Use when: organizing notes into a new category

messages_list_chatsA

Recent iMessage/SMS chats, newest first, with participants, unread count and last message preview. Use when: seeing who has texted, finding a chat_identifier

messages_get_chatA

Messages in one chat, oldest first, with tapbacks folded into the message they react to. Returns the newest limit messages; page back with before_id = next_before_id. Use when: reading a conversation

messages_unreadA

Unread incoming texts across all chats, newest first. Junk is excluded. Use when: checking for new texts

messages_searchA

Search text messages by content, newest first. Optionally limit to one person by handle or contact name. Use when: finding what someone texted

messages_sendA

Send an iMessage (or SMS where that chat already uses SMS) to a phone number or email, or to an existing chat by chat_identifier (needed for groups). A recipient with no existing chat and no contact needs confirm: true. Use when: texting someone

whatsapp_list_chatsA

Recent WhatsApp chats and groups, newest first, with unread count and last message preview. Read-only. Use when: seeing who has messaged on WhatsApp, finding a chat_id

whatsapp_get_chatB

Messages in one WhatsApp chat or group, newest first, each with its individual sender. Media is reported by type and file name only. Read-only. Use when: reading a WhatsApp conversation

whatsapp_searchA

Search WhatsApp message text and captions across chats, newest first. Optionally limit to one chat, or to one person by name (their messages in groups and the one-to-one chat with them). Read-only. Use when: finding what someone said on WhatsApp

whatsapp_unreadA

Unread incoming WhatsApp messages across chats and groups, newest first. Channels and Status are excluded. Read-only. Use when: checking for new WhatsApp messages

daily_briefingA

Get a complete daily briefing: today's calendar events, due/overdue reminders, flagged/unread emails across all configured mail accounts, recently modified notes, and unread texts. Each email includes a body preview. When presenting the briefing: (1) Group emails by account. (2) Use the preview field to accurately describe each email — never guess from the subject line. (3) Call mail_get_email for any email you want to summarize in detail. Use when: morning review, getting a quick overview of the day

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
mail_accountsList of configured email accounts in Apple Mail
calendarsList of all calendars (iCloud, Google, Exchange, etc.)
reminder_listsList of all reminder lists
contacts_listBrowsable contacts from macOS Address Book (first 25)
notes_accountsList of all Notes accounts
messages_chatsRecent iMessage/SMS chats (first 20)

TDQS

A3.5/5.0

Scored across 50 tools

Disambiguation4/5

Tools are cleanly partitioned by app and resource, and the descriptions do a good job separating near-neighbors (mail_get_emails vs mail_search vs mail_search_body, reminders_get vs reminders_get_detail, messages_get_chat vs whatsapp_get_chat). There is mild overlap between the convenience date tools (calendar_today, calendar_this_week, calendar_get_events) and between notes_list/notes_search, but the boundaries are documented well enough that an agent can pick correctly.

Naming Consistency5/5

Almost every tool follows a strict <app>_<verb>_<noun> snake_case pattern (mail_list_accounts, calendar_create_event, reminders_complete, notes_create_folder, messages_get_chat, whatsapp_unread), which makes the surface predictable and scannable. The only outliers are the aggregate daily_briefing and the mail_fts_* maintenance tools, which are still clearly named for their narrow purpose.

Tool Count3/5

Fifty tools is heavy by absolute standards, though it is spread across eight distinct macOS app domains (mail, calendar, reminders, contacts, notes, messages, WhatsApp, briefing), so roughly 5-8 tools per domain is defensible. Some mail tools (mail_fts_index, mail_fts_stats) are low-level plumbing that inflate the surface for what is mostly a read/triage workflow.

Completeness4/5

Coverage is strong: full CRUD on calendar events and notes, read/send/reply/forward/organize on mail, and complete read paths plus send for Messages. Notable gaps remain — no reminder update/reschedule, no contact create/edit/delete, no explicit mail delete (only move), and no attachment handling — but agents can work around most of these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues