IMAP mail for agents: search, read and write drafts. It can't send, move or delete.
- Runs on your machine
Version checks
Not run yet – package checks are being switched on. It runs from a package on your machine, so instead of uptime we will install and start each new version.
Run it on your machine
Add to claude_desktop_config.json (Settings › Developer › Edit Config):
Add to ~/.cursor/mcp.json:
Add to ~/.config/devin/mcp_config.json:
Add to cline_mcp_settings.json (MCP Servers › Configure › Configure MCP Servers):
Add to mcp.json (Program › Install › Edit mcp.json):
Add to ~/.gemini/settings.json:
Add to ~/.llm/config.json:
Add to config.json in oterm's data folder (~/Library/Application Support/oterm on macOS, ~/.local/share/oterm on Linux, %APPDATA%\oterm on Windows):
Add to resources/assets/config/mcp.json in the installed app:
Add to ~/.boltai/mcp.json:
Add to anythingllm_mcp_servers.json in the AnythingLLM storage plugins directory:
Add to Augment Settings Panel – MCP section – Import from JSON (VS Code extension):
Add to ~/.bob/settings/mcp.json (global) or .bob/mcp.json (project):
Add to ~/.config/eca/config.json (global) or .eca/config.json in the project:
Add to ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace):
Add to ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace):
{
"mcpServers": {
"imap-draft-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
} Step by step for Claude Desktop
Step by step for Devin Desktop
Run in a terminal:
claude mcp add --env EMAIL_CREDENTIALS=YOUR_EMAIL_CREDENTIALS --transport stdio imap-draft-mcp -- docker run -i --rm -e EMAIL_CREDENTIALS ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0 Add to .vscode/mcp.json:
{
"servers": {
"imap-draft-mcp": {
"type": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
} Add to ~/.config/zed/settings.json:
{
"context_servers": {
"imap-draft-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
} Add to ~/.continue/config.yaml:
mcpServers:
- name: "imap-draft-mcp"
type: stdio
command: "docker"
args:
- "run"
- "-i"
- "--rm"
- "-e"
- "EMAIL_CREDENTIALS"
- "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"
env:
"EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" Add to ~/.config/goose/config.yaml:
extensions:
"imap-draft-mcp":
type: stdio
name: "imap-draft-mcp"
enabled: true
cmd: "docker"
args: ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"]
env_keys: []
envs: { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
timeout: 300 Run in a terminal:
codex mcp add imap-draft-mcp --env EMAIL_CREDENTIALS=YOUR_EMAIL_CREDENTIALS -- docker run -i --rm -e EMAIL_CREDENTIALS ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0 Add to ~/.config/agenvoy/mcp.json:
{
"servers": {
"imap-draft-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
} Add to ~/.config/amp/settings.json (user) or .amp/settings.json (workspace):
{
"amp.mcpServers": {
"imap-draft-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
} Replace YOUR_EMAIL_CREDENTIALS with your own value.
For agents: the install prompt
Every step above as one Markdown text, for an assistant installing it for you.
# Install the MCP server IMAP Draft (`io.github.zedong-peng/imap-draft-mcp`)
Its page: https://plug.directory/servers/io.github.zedong-peng/imap-draft-mcp
It runs on the person's machine and needs Docker installed.
Ask the person for `YOUR_EMAIL_CREDENTIALS` and put it in place of the placeholder; never invent a value.
Use the section for the person's client.
## Claude Desktop, Cursor, Devin Desktop, Cline, LM Studio, Gemini CLI, mcp-client-cli, oterm, TUUI, BoltAI, AnythingLLM, Augment Code, Bob Shell, ECA, Kiro, Kiro CLI
Merge into the place for the person's client:
- Claude Desktop: claude_desktop_config.json (Settings › Developer › Edit Config)
- Cursor: ~/.cursor/mcp.json
- Devin Desktop: ~/.config/devin/mcp_config.json
- Cline: cline_mcp_settings.json (MCP Servers › Configure › Configure MCP Servers)
- LM Studio: mcp.json (Program › Install › Edit mcp.json)
- Gemini CLI: ~/.gemini/settings.json
- mcp-client-cli: ~/.llm/config.json
- oterm: config.json in oterm's data folder (~/Library/Application Support/oterm on macOS, ~/.local/share/oterm on Linux, %APPDATA%\oterm on Windows)
- TUUI: resources/assets/config/mcp.json in the installed app
- BoltAI: ~/.boltai/mcp.json
- AnythingLLM: anythingllm_mcp_servers.json in the AnythingLLM storage plugins directory
- Augment Code: Augment Settings Panel – MCP section – Import from JSON (VS Code extension)
- Bob Shell: ~/.bob/settings/mcp.json (global) or .bob/mcp.json (project)
- ECA: ~/.config/eca/config.json (global) or .eca/config.json in the project
- Kiro: ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace)
- Kiro CLI: ~/.kiro/settings/mcp.json (user) or .kiro/settings/mcp.json (workspace)
```json
{
"mcpServers": {
"imap-draft-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
}
```
## Claude Code
Run in a terminal:
```sh
claude mcp add --env EMAIL_CREDENTIALS=YOUR_EMAIL_CREDENTIALS --transport stdio imap-draft-mcp -- docker run -i --rm -e EMAIL_CREDENTIALS ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0
```
## VS Code
Merge into .vscode/mcp.json:
```json
{
"servers": {
"imap-draft-mcp": {
"type": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
}
```
## Zed
Merge into ~/.config/zed/settings.json:
```json
{
"context_servers": {
"imap-draft-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
}
```
## Continue
Merge into ~/.continue/config.yaml:
```yaml
mcpServers:
- name: "imap-draft-mcp"
type: stdio
command: "docker"
args:
- "run"
- "-i"
- "--rm"
- "-e"
- "EMAIL_CREDENTIALS"
- "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"
env:
"EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS"
```
## Goose
Merge into ~/.config/goose/config.yaml:
```yaml
extensions:
"imap-draft-mcp":
type: stdio
name: "imap-draft-mcp"
enabled: true
cmd: "docker"
args: ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"]
env_keys: []
envs: { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
timeout: 300
```
## Codex
Run in a terminal:
```sh
codex mcp add imap-draft-mcp --env EMAIL_CREDENTIALS=YOUR_EMAIL_CREDENTIALS -- docker run -i --rm -e EMAIL_CREDENTIALS ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0
```
## Agenvoy
Merge into ~/.config/agenvoy/mcp.json:
```json
{
"servers": {
"imap-draft-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
}
```
## Amp
Merge into ~/.config/amp/settings.json (user) or .amp/settings.json (workspace):
```json
{
"amp.mcpServers": {
"imap-draft-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "EMAIL_CREDENTIALS", "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"],
"env": { "EMAIL_CREDENTIALS": "YOUR_EMAIL_CREDENTIALS" }
}
}
}
```
Then restart the client, or reload its MCP servers, and ask it to list the server's tools to confirm it started.
From the publisher's entry in the Official MCP Registry (the registry entry). We have not checked this server yet. Report a problem