Skip to content
VS Code

Apple Mail for VS Code

io.github.jonathanrreed/apple-mcp-mail

Read, search, compose, and send emails via Apple Mail on macOS.

client:VS Code transport:stdio runtime:pypi

Install Apple Mail in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "apple-mail-mcp-safety-profile",
      "description": "APPLE_MAIL_MCP_SAFETY_PROFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "apple-mail-mcp-allowed-attachment-root",
      "description": "APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "apple-mail-mcp-visible-drafts",
      "description": "APPLE_MAIL_MCP_VISIBLE_DRAFTS",
      "password": true
    }
  ],
  "servers": {
    "apple-mcp-mail": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "apple-mcp-mail"
      ],
      "env": {
        "APPLE_MAIL_MCP_SAFETY_PROFILE": "${input:apple-mail-mcp-safety-profile}",
        "APPLE_MAIL_MCP_ALLOWED_ATTACHMENT_ROOT": "${input:apple-mail-mcp-allowed-attachment-root}",
        "APPLE_MAIL_MCP_VISIBLE_DRAFTS": "${input:apple-mail-mcp-visible-drafts}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Apple Mail in other clients