mcp-mail for VS Code
io.github.annseraf/mcp-mail
Self-hosted IMAP/SMTP email for any MCP client, with per-client permissions and audit log.
client:VS Code
transport:stdio
runtime:npm
Install mcp-mail in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "accounts-file",
"description": "ACCOUNTS_FILE",
"password": true
},
{
"type": "promptString",
"id": "stdio-preset",
"description": "STDIO_PRESET",
"password": true
}
],
"servers": {
"mcp-mail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@annseraf/mcp-mail"
],
"env": {
"ACCOUNTS_FILE": "${input:accounts-file}",
"STDIO_PRESET": "${input:stdio-preset}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs