mcp server imap for VS Code
io.github.aiwerk/mcp-server-imap
Email tools for any IMAP/SMTP provider: list, read, search, send, and manage messages.
client:VS Code
transport:stdio
runtime:npm
Install mcp server imap in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "imap-host",
"description": "IMAP_HOST",
"password": true
},
{
"type": "promptString",
"id": "imap-user",
"description": "IMAP_USER",
"password": true
},
{
"type": "promptString",
"id": "imap-pass",
"description": "IMAP_PASS",
"password": true
},
{
"type": "promptString",
"id": "smtp-host",
"description": "SMTP_HOST",
"password": true
},
{
"type": "promptString",
"id": "smtp-user",
"description": "SMTP_USER",
"password": true
},
{
"type": "promptString",
"id": "smtp-pass",
"description": "SMTP_PASS",
"password": true
}
],
"servers": {
"mcp-server-imap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aiwerk/mcp-server-imap"
],
"env": {
"IMAP_HOST": "${input:imap-host}",
"IMAP_USER": "${input:imap-user}",
"IMAP_PASS": "${input:imap-pass}",
"SMTP_HOST": "${input:smtp-host}",
"SMTP_USER": "${input:smtp-user}",
"SMTP_PASS": "${input:smtp-pass}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs