Lemon Email MCP Server
Built using Python as the implementation language for the 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., "@Lemon Email MCP Serversend a welcome email to newuser@example.com with subject 'Welcome!' and body 'Thanks for joining us!'"
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.
๐ Lemon Email MCP - Direct API Integration
Send emails directly from AI agents. No intermediate servers. Zero config.
๐ What This Does
Connects AI agents directly to Lemon Email API - no intermediate servers, no proxies, just direct API calls.
โ Direct connection to Lemon Email API
โ No Railway or other intermediates - pure API client
โ MCP protocol for AI agent integration
โ Works with Claude Desktop, Continue.dev, Cline
โ Open source - see exactly what it does
Related MCP server: AgentMail MCP Server
โก Quick Start (30 seconds)
1. Clone & Install
git clone https://github.com/manojk0303/lemon-email-mcp.git
cd lemon-email-mcp
pip install -r requirements.txt2. Get API Key
DM @Norman_Szobotka on Twitter
Or email: manojk030303@gmail.com
You'll get your key instantly!
3. Set API Key
export LEMON_EMAIL_API_KEY="your-key-here"4. Test It
python simple_mcp_server.py testDone! ๐
๐ง Usage Methods
Method 1: Claude Desktop (Recommended for Mac users)
1. Find your Claude config:
Mac:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
2. Add this to your config:
{
"mcpServers": {
"lemon-email": {
"command": "python",
"args": ["/full/path/to/lemon-email-mcp/simple_mcp_server.py"],
"env": {
"LEMON_EMAIL_API_KEY": "your-key-here"
}
}
}
}3. Restart Claude Desktop
4. Test it:
"Send a test email to test@example.com with subject 'Hello from Claude' and body 'This is amazing!'"Claude will now send emails directly via Lemon API!
Method 2: Continue.dev (VS Code)
1. Install Continue.dev extension in VS Code
2. Create MCP config file:
Create .continue/config.json in your project:
{
"mcpServers": [
{
"name": "lemon-email",
"command": "python",
"args": ["/full/path/to/lemon-email-mcp/simple_mcp_server.py"],
"env": {
"LEMON_EMAIL_API_KEY": "your-key-here"
}
}
]
}3. Restart VS Code
4. Ask Continue:
"Send an email to user@example.com about the new feature"Method 3: Direct API (No MCP)
Want to use the Lemon API directly in your Python code?
import httpx
import asyncio
async def send_email():
headers = {
"Content-Type": "application/json",
"X-Auth-APIKey": "your-lemon-api-key"
}
payload = {
"to": "user@example.com",
"subject": "Hello World",
"body": "This is a direct API call!",
"fromname": "Your App",
"fromemail": "mail@member-notification.com",
"tag": "direct-api"
}
async with httpx.AsyncClient() as client:
response = await client.post(
"https://app.xn--lemn-sqa.com/api/transactional/send",
headers=headers,
json=payload
)
print(response.json())
asyncio.run(send_email())๐ How It Works
Your AI Agent โ MCP Protocol โ simple_mcp_server.py โ Lemon Email API
โ
๐ง Email SentNo intermediate servers! Direct connection to Lemon Email.
๐ Available Tool
The MCP server exposes one tool: send_email
Parameters:
to(required) - Recipient emailsubject(required) - Email subjectbody(required) - Email contentfromname(optional) - Sender name (default: "Email Assistant")fromemail(optional) - Sender email (default: "mail@member-notification.com")toname(optional) - Recipient nametag(optional) - Email tag for trackingvariables(optional) - Template variablesreplyto(optional) - Reply-to address
๐งช Testing
Test direct API connection:
python simple_mcp_server.py testStart MCP server:
python simple_mcp_server.pyGet help:
python simple_mcp_server.py help๐ ๏ธ Troubleshooting
"LEMON_EMAIL_API_KEY required"
Set environment variable:
export LEMON_EMAIL_API_KEY="your-key"Or add to your MCP config (see examples above)
"MCP library not available"
pip install mcp httpx pydantic"Connection timeout"
Check your internet connection
Verify API key is correct
Try test command:
python simple_mcp_server.py test
Claude Desktop not seeing the tool
Verify JSON syntax in config file
Use full absolute paths, not ~
Restart Claude Desktop completely
Check Claude logs for errors
๐ Architecture
What's removed:
โ Railway deployment
โ Web server wrapper
โ FastAPI endpoints
โ Intermediate API layer
What remains:
โ Direct Lemon API client
โ MCP protocol server
โ Pure Python implementation
โ Minimal dependencies
๐ค Contributing
Contributions welcome! See CONTRIBUTING.md
๐ License
MIT License - see LICENSE
๐ Getting API Key
Need a Lemon Email API key?
DM @Norman_Szobotka on Twitter
Or email: manojk030303@gmail.com
You'll get your key within seconds!
๐ Features
Direct API - No proxies or intermediate servers
Fast - Direct connection means lower latency
Simple - One Python file, minimal dependencies
Reliable - Fewer moving parts = fewer failures
Open Source - See exactly what it does
AI-Ready - Perfect for AI agents and automation
Ready to send emails from AI?
Questions? โ manojk030303@gmail.com
This server cannot be deployed
Maintenance
Related MCP Connectors
Send transactional emails for AI agents via SMTP. Templates included.
Transactional email for AI agents: templates, domain verify, and sends.
Send transactional email over a verified domain โ templates, attachments, custom headers.
Email for AI agents: send mail, manage contacts, automations & webhooks. Zero-DNS first send.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables sending emails through SMTP using nodemailer, allowing AI assistants to send plain text and HTML emails with configurable SMTP credentials.26 npm2ISC
- FlicenseNot gradedqualityDmaintenanceEnables creating temporary email inboxes and sending emails through the AgentMail API, allowing AI agents to manage email communications programmatically.1-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to send emails through your SMTP server using Nodemailer. Supports plain text and HTML emails with automatic logging for audit and debugging.13 npmMIT

sendcraft-mcpofficial
AlicenseAqualityDmaintenanceEnables AI agents to send emails, manage campaigns, subscribers, templates, and domains via the SendCraft email API.267 npmMIT