mcp-emailjs
An MCP server for EmailJS that enables AI agents to send emails, validate configurations, and query email history through natural language.
README
mcp-emailjs
An MCP (Model Context Protocol) server for EmailJS — lets AI agents like Claude send emails, validate configurations, and query email history directly through EmailJS.
Tools
| Tool | Description |
|---|---|
send_email |
Send an email using an EmailJS template with dynamic parameters |
validate_config |
Validate credentials and template ID before sending |
get_email_history |
Retrieve history of emails sent via your EmailJS account |
Installation
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"emailjs": {
"command": "npx",
"args": ["-y", "mcp-emailjs"],
"env": {
"EMAILJS_SERVICE_ID": "your_service_id",
"EMAILJS_PUBLIC_KEY": "your_public_key",
"EMAILJS_PRIVATE_KEY": "your_private_key"
}
}
}
}
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor / other MCP clients
{
"mcpServers": {
"emailjs": {
"command": "npx",
"args": ["-y", "mcp-emailjs"],
"env": {
"EMAILJS_SERVICE_ID": "your_service_id",
"EMAILJS_PUBLIC_KEY": "your_public_key",
"EMAILJS_PRIVATE_KEY": "your_private_key"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
EMAILJS_SERVICE_ID |
Yes* | Your EmailJS service ID |
EMAILJS_PUBLIC_KEY |
Yes* | Your EmailJS public key |
EMAILJS_PRIVATE_KEY |
No | Your EmailJS private key (required for get_email_history) |
*Can be passed per tool call as parameters instead of env vars.
Credential Priority
Credentials are resolved in this order:
- Parameter passed in the tool call (overrides everything)
- Environment variable
- Error with a descriptive message
This allows using multiple EmailJS accounts in the same session.
Usage Examples
Send an email
Send an email using template "template_contact" with:
- to_name: "Alice"
- to_email: "alice@example.com"
- message: "Hello from Claude!"
Validate your config
Validate my EmailJS configuration for service "service_gmail" and template "template_welcome"
Check email history
Show me the last 10 emails I sent via EmailJS
Where to find your credentials
- Go to EmailJS Dashboard
- Service ID → Email Services → your service
- Public Key → Account → API Keys → Public Key
- Private Key → Account → API Keys → Private Key
Local Development
git clone https://github.com/ElizioMartins/mcp-emailjs
cd mcp-emailjs
npm install
npm run build
# Test with MCP Inspector
npm run inspector
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.