Pylos MCP Server
by adamvassio.github.adamVass/pylos-mcpv0.4.0
Read-focused, prompt-injection-hardened email MCP server for any IMAP provider
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install Pylos MCP server
Install in Claude Code
claude mcp add pylos -e EMAIL_USER='<email-user>' -e EMAIL_PASSWORD='<email-password>' -- npx -y pylos-mcpInstall in Cursor
{
"mcpServers": {
"pylos": {
"command": "npx",
"args": [
"-y",
"pylos-mcp"
],
"env": {
"EMAIL_USER": "<email-user>",
"EMAIL_PASSWORD": "<email-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"pylos": {
"command": "npx",
"args": [
"-y",
"pylos-mcp"
],
"env": {
"EMAIL_USER": "<email-user>",
"EMAIL_PASSWORD": "<email-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"pylos": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pylos-mcp"
],
"env": {
"EMAIL_USER": "<email-user>",
"EMAIL_PASSWORD": "<email-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"pylos": {
"command": "npx",
"args": [
"-y",
"pylos-mcp"
],
"env": {
"EMAIL_USER": "<email-user>",
"EMAIL_PASSWORD": "<email-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| EMAIL_USER | yes | — | Account login. |
| EMAIL_PASSWORD | — | yes | App password. Either this or EMAIL_PASSWORD_CMD is required. |
| PROVIDER | — | — | One of gmail, icloud, yahoo, gmx, fastmail, mailbox.org, posteo. Fills in IMAP, SMTP and Sieve hosts and ports. |
| IMAP_HOST | — | — | IMAP hostname for self-hosted or unlisted providers. Overrides the preset. |
| CAPABILITIES | — | — | Comma-separated list of tiers beyond read, which is always included. Defaults to drafts. |
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-09 · 1d ago · GitHub
Latest release
2026-10-09 · 1d ago · GitHub · v0.4.1
Package published
no data · npm/PyPI
Registry entry updated
2026-10-08 · 1d ago · official registry · v0.4.0
FAQ
›How do I install the Pylos MCP server in Claude Code?
Run: claude mcp add pylos -e EMAIL_USER='<email-user>' -e EMAIL_PASSWORD='<email-password>' -- npx -y pylos-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Pylos require an API key?
Yes. It expects EMAIL_USER, EMAIL_PASSWORD, of which 1 is a secret.
›Can I use Pylos as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Pylos in the official MCP registry?
Yes, as io.github.adamVass/pylos-mcp.
Alternatives to Pylos
Other email MCP servers.