Cloudflare Email MCP
Cloudflare Email MCP & API Wrapper 📧
Open-source Cloudflare Worker, готовый к промышленному использованию, который предоставляет JSON API и сервер Model Context Protocol (MCP) для отправки электронных писем через сервис Cloudflare Email.
Возможности
MCP-сервер: прямое подключение к ИИ-агентам (Claude, Gemini и др.) для отправки писем.
REST API: простой JSON-эндпоинт для интеграции с традиционными приложениями.
Расширенная поддержка почты: HTML-тела писем, несколько получателей (To, CC, BCC) и вложения.
Производительность на границе сети: построено на базе Cloudflare Workers для обеспечения низкой задержки по всему миру.
Безопасность: аутентификация через Bearer-токен как для API, так и для MCP-эндпоинтов.
Related MCP server: communication-mcp-server
Быстрый старт (развертывание)
1. Предварительные требования
Аккаунт Cloudflare с доменом, настроенным для Email Routing.
Установленный
bunилиnpm.
2. Установка
git clone https://github.com/sh20raj/cf-email-mcp-api.git
cd cf-email-mcp-api
bun install3. Конфигурация
Скопируйте .dev.vars.example в .dev.vars и заполните локальные значения:
API_TOKEN: безопасный токен для аутентификации эндпоинта.DEFAULT_SENDER: авторизованный адрес электронной почты из вашего домена Email Routing.DEFAULT_FROM_NAME: необязательное отображаемое имя отправителя.
4. Развертывание
bun run deploy🤖 Интеграция с ИИ-агентами (MCP)
Добавление в Claude Desktop
Добавьте следующее в ваш claude_desktop_config.json:
{
"mcpServers": {
"cf-email": {
"transport": "http",
"url": "https://your-worker.workers.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Добавление в Gemini / Antigravity
Добавьте в ваш mcp_config.json:
{
"mcpServers": {
"cf-email": {
"transport": "http",
"url": "https://your-worker.workers.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}🛠️ Справочник API
Отправка письма
POST /api/send
Заголовки:
Authorization: Bearer YOUR_API_TOKENContent-Type: application/json
Тело запроса:
{
"to": "recipient@example.com",
"replyTo": "support@example.com",
"subject": "Hello from API",
"html": "<h1>Professional Email</h1><p>Sent via Cloudflare Workers.</p>",
"attachments": [
{
"name": "report.pdf",
"type": "application/pdf",
"data": "BASE64_ENCODED_DATA"
}
]
}Лицензия
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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.
Related MCP Connectors
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Hosted email for AI agents: create inboxes, send, receive, and reply over MCP with scoped API keys
MCP server for e-mail testing: create disposable inboxes, wait for delivery, and extract e-mail content or links - all from your AI agent or test automation workflow. Get a free API key on https://app.zyntra.app/
Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server that empowers AI agents to securely send emails via SMTP, supporting plain text, HTML, and attachments.MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that provides email communication tools (send email, health check, list providers) via SMTP, accessible over HTTP/SSE for remote AI clients like Claude Desktop.25MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI agents to validate email addresses and send emails via SMTP with zero external dependencies.MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that acts as an email gateway for Gmail and Microsoft 365, enabling AI agents to send and read emails via MCP tools, with SMTP/IMAP and REST APIs for email sequencing and automation.AGPL 3.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/SH20RAJ/cloudflare-email-mcp-api-wrapper'
If you have feedback or need assistance with the MCP directory API, please join our Discord server