Apple Messages MCP
by nweii
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Local network address. Keep 127.0.0.1 when putting a tunnel or reverse proxy in front. | 127.0.0.1 |
| PORT | No | Local port the server listens on. | 3460 |
| LOG_DIR | No | Folder for local tool-calls.jsonl and, when MESSAGES_FEEDBACK=on, feedback.jsonl. | ./logs |
| IMSG_BIN | No | Path or command name for the imsg binary. | imsg |
| HEALTH_TOKEN | No | Secret token for GET /health and GET /health/messages. When unset, both return 404. | |
| MCP_BASE_URL | No | Base URL your AI apps connect to (no trailing /mcp). Used for OAuth login and default approval links. | http://localhost:3460 |
| MESSAGES_SEND | No | Sending mode: off, approve, allowlist, or direct. direct logs a startup warning. | off |
| MESSAGES_ACCESS | No | Access mode: allowlist, ask, or all. all logs a startup warning. | ask |
| TOKEN_STORE_PATH | No | File storing paired app logins. chat-access.sqlite is created in the same folder for saved chat permissions. | ./tokens.json |
| APPROVAL_PASSWORD | No | Password for pairing new apps and signing into /approvals. Required unless MESSAGES_APPROVAL_KEYCHAIN_ITEM is set; cannot be combined with it. | |
| MESSAGES_FEEDBACK | No | Feedback mode: off or on. on enables the local report_feedback tool. | off |
| MESSAGES_MAX_DAYS | No | Maximum message age in days for reads, searches, and attachments. 0 disables the limit. | 30 |
| MESSAGES_ALLOWLIST | No | Comma- or newline-separated chats readable by every connected app. | |
| MESSAGES_ATTACHMENTS | No | Attachment mode: none, metadata, or contents. | contents |
| MESSAGES_WIDE_SEARCH | No | Wide search mode: off or ask. ask requires MESSAGES_ACCESS=ask. | off |
| MESSAGES_DRAFT_MINUTES | No | Minutes before an unapproved outgoing draft expires. | 60 |
| MESSAGES_SEND_PER_HOUR | No | Maximum outgoing messages per rolling hour when sending is enabled. | 20 |
| MESSAGES_APPROVAL_HOURS | No | Hours before temporary chat permissions and pending read requests expire. | 24 |
| MESSAGES_APPROVAL_ORIGIN | No | Separate 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_MB | No | Size limit in MB for one returned attachment, and for all attachments combined on one outgoing message. | 25 |
| MESSAGES_APPROVAL_KEYCHAIN_ITEM | No | macOS 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues