Yahoo Mail MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yahoo Mail MCP Serversearch my inbox for unread emails from my boss"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Yahoo Mail MCP Server
MCP server exposing Yahoo Mail (via IMAP) as tools for Claude: list folders, search/read emails, manage flags and folders.
Setup
Generate a Yahoo App Password: Yahoo Account Security page -> "Generate app password". A regular account password will not work if 2FA is enabled.
Copy
.env.exampleto.envand fill in your credentials:cp .env.example .envInstall dependencies (managed by devenv/bun):
bun installRun the server directly to confirm it authenticates without error:
bun run src/index.tsCtrl-C to stop. If you see an
AuthenticationFailure-related error, double checkYAHOO_APP_PASSWORDis an app password, not your account password.
Related MCP server: Babushka Email MCP
Registering with Claude Code
claude mcp add yahoo-mail bun run /home/bhuvan/Developer/yahoo-mail-mcp/src/index.tsOr add to .mcp.json:
{
"mcpServers": {
"yahoo-mail": {
"command": "bun",
"args": ["run", "/home/bhuvan/Developer/yahoo-mail-mcp/src/index.ts"],
"env": {
"YAHOO_EMAIL": "you@yahoo.com",
"YAHOO_APP_PASSWORD": "xxxxxxxxxxxxxxxx"
}
}
}
}Registering with Claude Desktop
Add to claude_desktop_config.json (Settings -> Developer -> Edit Config):
{
"mcpServers": {
"yahoo-mail": {
"command": "bunx",
"args": ["github:boo1-boo1/yahoo-mail-mcp"],
"env": {
"YAHOO_EMAIL": "you@yahoo.com",
"YAHOO_APP_PASSWORD": "xxxxxxxxxxxxxxxx"
}
}
}
}Or, running from a local clone instead of GitHub:
{
"mcpServers": {
"yahoo-mail": {
"command": "bun",
"args": ["run", "/home/bhuvan/Developer/yahoo-mail-mcp/src/index.ts"],
"env": {
"YAHOO_EMAIL": "you@yahoo.com",
"YAHOO_APP_PASSWORD": "xxxxxxxxxxxxxxxx"
}
}
}
}Restart Claude Desktop after editing the config.
Tools
list_folders- list all mailboxes.search_emails- search a folder by sender, subject, free text, date range, unread/flagged status. Returns lightweight summaries (newest first).get_email- fetch full content (headers, text/HTML body, attachment metadata) of one message by folder + UID.get_attachment- download one attachment's content (base64) by folder, UID, andpartId(fromget_email).mark_read- mark a message read/unread.flag_email- flag/unflag (star) a message.move_email- move a message to another folder.delete_email- soft delete (move to Trash) by default;permanent: trueexpunges immediately and cannot be undone.
All operations identify messages by IMAP UID (stable across sessions), not sequence number.
This server cannot be deployed
Maintenance
Related MCP Connectors
Your mailboxes in ChatGPT and Claude: Gmail, iCloud, Fastmail, any IMAP. Passwords stay yours.
Connect any mailbox to Claude, ChatGPT & AI: read, send, reply, schedule & search emails.
Read and search FranklyMail email and prepare drafts, replies, and forwards for human approval.
Email inboxes and calendars for AI agents: send, receive, search, draft and schedule.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables Claude to interact with email accounts via IMAP and SMTP, providing tools for searching, reading, sending, and managing emails across multiple providers.40445 npm94MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude Code to manage email inboxes via IMAP, including reading, categorizing, phishing detection, archiving, junking, and sending emails with user permission.-
- FlicenseAqualityDmaintenanceEnables users to manage their Yahoo Mail account through natural language, including listing, reading, searching, deleting, archiving, flagging, and moving emails via IMAP. Supports both local Claude Desktop integration and remote access with secure OAuth 2.0 authentication.11-
- AlicenseNot gradedqualityCmaintenanceEnables controlling Yahoo Mail from Claude in plain English — read, search, organize, delete, and send emails, with a two-phase confirmation step to prevent accidental destructive actions.MIT