yahoo-mail-mcp
Click on "Install 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-mcpShow me my inbox stats"
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 — Cleanup Edition
A remote MCP server for cleaning up your Yahoo Mail inbox.
Deploy once to Render.com (free), then connect from Claude.ai or Claude Desktop on any device — no local setup needed on any machine.
Tools Available
Tool | Description |
| List recent emails in any folder |
| Search by sender, subject, age, read status |
| Read full body of a specific email |
| Show all Yahoo Mail folders |
| Count totals & unread in Inbox/Spam/Bulk |
| Delete all mail from a sender (dry_run first!) |
| Delete by subject keyword |
| Delete emails older than N days |
| Delete specific emails by UID |
| Wipe entire Spam or Bulk Mail folder |
| Mark emails as read |
| Find top newsletter senders to bulk-delete |
All delete tools default to
dry_run=True— they only preview what would be deleted until you explicitly passdry_run=False.
Related MCP server: zoho-mail-mcp
Step 1 — Generate a Yahoo App Password
Yahoo does not allow your regular password for IMAP.
You need a 16-character App Password:
Click "Generate app password"
Choose "Other app" → name it
MCP ServerCopy the 16-character password (shown once — save it!)
Step 2 — Deploy to Render.com (Free)
Option A — One-click via render.yaml
Push this folder to a private GitHub repo
Go to https://dashboard.render.com → New → Blueprint
Connect your GitHub repo
Render reads
render.yamland creates the service automaticallyIn the Environment tab, fill in:
YAHOO_EMAIL→ your Yahoo email addressYAHOO_APP_PASSWORD→ the 16-char app password from Step 1MCP_API_TOKEN→ auto-generated by Render (copy it for Step 3)
Click Deploy
Option B — Manual service
Go to https://dashboard.render.com → New → Web Service
Connect your GitHub repo
Set Runtime = Docker
Add Environment Variables:
YAHOO_EMAIL = your.email@yahoo.com YAHOO_APP_PASSWORD = (16-char app password) MCP_API_TOKEN = (generate a random string, e.g. via: python -c "import secrets; print(secrets.token_hex(32))")Set Health Check Path =
/healthDeploy
After deploy you'll get a URL like:https://yahoo-mail-mcp.onrender.com
Step 3 — Connect Claude Desktop (any machine)
Edit your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"yahoo-mail": {
"type": "http",
"url": "https://yahoo-mail-mcp.onrender.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_API_TOKEN"
}
}
}
}Replace:
yahoo-mail-mcp.onrender.com→ your actual Render URLYOUR_MCP_API_TOKEN→ the token from Render's Environment tab
Restart Claude Desktop — the Yahoo Mail tools will appear under the 🔨 Tools icon.
Connect from Claude.ai (browser / mobile)
Go to claude.ai → Settings → Integrations → Add MCP Server
URL:
https://yahoo-mail-mcp.onrender.com/mcpAuth: Bearer token → paste
MCP_API_TOKENSave — tools appear in every chat automatically
Local Testing (optional)
cp .env.example .env
# Edit .env with your credentials
pip install -r requirements.txt
uvicorn server:app --reload --port 8000
# Test health
curl http://localhost:8000/health
# Test MCP endpoint (no auth in local dev when MCP_API_TOKEN is blank)
curl -X POST http://localhost:8000/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'Example Cleanup Session with Claude
Once connected, you can ask Claude naturally:
"Show me my Yahoo Mail inbox stats"
"Find all newsletters in my inbox"
"Preview emails from @promotions.example.com"
"Delete all emails older than 90 days from Bulk Mail — dry run first"
"Empty my Spam folder"
Security Notes
Your Yahoo credentials live only in Render's encrypted environment variables — never in code
All delete operations default to
dry_run=True— safe by defaultDeletes move to Yahoo Trash (recoverable for 7 days) — not permanent
Bearer token protects the MCP endpoint from unauthorized access
Use a private GitHub repo so
.envsecrets can't leak
Free Tier Limits (Render)
Render's free web services sleep after 15 minutes of inactivity and take ~30 seconds to wake on first request. For always-on access, upgrade to Render Starter ($7/month) or deploy to Railway / Fly.io.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sagarparasarmk/yahoo-mail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server