IMAP Draft for VS Code
io.github.zedong-peng/imap-draft-mcp
IMAP mail for agents: search, read and write drafts. It can't send, move or delete.
client:VS Code
transport:stdio
runtime:oci
Install IMAP Draft in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "email-credentials",
"description": "EMAIL_CREDENTIALS",
"password": true
}
],
"servers": {
"imap-draft-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"
],
"env": {
"EMAIL_CREDENTIALS": "${input:email-credentials}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs