Apple Mail for VS Code
io.github.mgcrea/mcp-apple-mail
Search, read and act on Apple Mail — threads, attachments, body search, writes off by default
client:VS Code
transport:stdio
runtime:npm
Install Apple Mail in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "apple-mail-allow-writes",
"description": "APPLE_MAIL_ALLOW_WRITES",
"password": true
},
{
"type": "promptString",
"id": "apple-mail-accounts",
"description": "APPLE_MAIL_ACCOUNTS",
"password": true
}
],
"servers": {
"mcp-apple-mail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mgcrea/mcp-apple-mail"
],
"env": {
"APPLE_MAIL_ALLOW_WRITES": "${input:apple-mail-allow-writes}",
"APPLE_MAIL_ACCOUNTS": "${input:apple-mail-accounts}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs