Skip to main content
Glama
Apple Messages MCP

Apple Messages MCP

by nweii

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoLocal network address. Keep 127.0.0.1 when putting a tunnel or reverse proxy in front.127.0.0.1
PORTNoLocal port the server listens on.3460
LOG_DIRNoFolder for local tool-calls.jsonl and, when MESSAGES_FEEDBACK=on, feedback.jsonl../logs
IMSG_BINNoPath or command name for the imsg binary.imsg
HEALTH_TOKENNoSecret token for GET /health and GET /health/messages. When unset, both return 404.
MCP_BASE_URLNoBase URL your AI apps connect to (no trailing /mcp). Used for OAuth login and default approval links.http://localhost:3460
MESSAGES_SENDNoSending mode: off, approve, allowlist, or direct. direct logs a startup warning.off
MESSAGES_ACCESSNoAccess mode: allowlist, ask, or all. all logs a startup warning.ask
TOKEN_STORE_PATHNoFile storing paired app logins. chat-access.sqlite is created in the same folder for saved chat permissions../tokens.json
APPROVAL_PASSWORDNoPassword for pairing new apps and signing into /approvals. Required unless MESSAGES_APPROVAL_KEYCHAIN_ITEM is set; cannot be combined with it.
MESSAGES_FEEDBACKNoFeedback mode: off or on. on enables the local report_feedback tool.off
MESSAGES_MAX_DAYSNoMaximum message age in days for reads, searches, and attachments. 0 disables the limit.30
MESSAGES_ALLOWLISTNoComma- or newline-separated chats readable by every connected app.
MESSAGES_ATTACHMENTSNoAttachment mode: none, metadata, or contents.contents
MESSAGES_WIDE_SEARCHNoWide search mode: off or ask. ask requires MESSAGES_ACCESS=ask.off
MESSAGES_DRAFT_MINUTESNoMinutes before an unapproved outgoing draft expires.60
MESSAGES_SEND_PER_HOURNoMaximum outgoing messages per rolling hour when sending is enabled.20
MESSAGES_APPROVAL_HOURSNoHours before temporary chat permissions and pending read requests expire.24
MESSAGES_APPROVAL_ORIGINNoSeparate HTTPS address for /approvals links, for example a Tailscale address for phone approvals while /mcp stays local. Origin only, with no path or query. Defaults to MCP_BASE_URL.
MESSAGES_ATTACHMENT_MAX_MBNoSize limit in MB for one returned attachment, and for all attachments combined on one outgoing message.25
MESSAGES_APPROVAL_KEYCHAIN_ITEMNomacOS login Keychain generic-password service name (account must match your macOS username) so you do not have to store the password in .env. Required unless APPROVAL_PASSWORD is set; cannot be combined with it.

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources