MCP servers · Mailgun · MCP server
Connect Windsurf to Mailgun
One line gives Windsurf your Mailgun account as tools: 8 endpoints, domains, validate email, send email, called with your own connection. No key in the prompt, a receipt for every call, revoke Windsurf's access alone any time.
Three steps
- Create a free 0n3 account and connect Mailgun. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Windsurf. The mcp_config.json block.
- Ask Windsurf: whoami. Then: "Send a message in Mailgun".
Write it yourself · ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"0n3": {
"serverUrl": "https://0n3.app/mcp",
"headers": {
"Authorization": "Bearer <your 0n token>"
}
}
}
}The line above carries a placeholder; 0n3.app/install mints a real key named for Windsurf and fills it in.
What Windsurf can then do in Mailgun
Domains · Manage sending domains7
Send a message
POST /{domain}/messagesList domains
GET /domainsGet a domain
GET /domains/{domain}List events
GET /{domain}/eventsGet stats
GET /{domain}/stats/totalList bounces
GET /{domain}/bouncesList unsubscribes
GET /{domain}/unsubscribesValidate email · Validate email addresses1
Validate email
GET /address/validateSend email · Send emails0
Send emails
Track events · Track email events0
Track email events
Mailgun in other AI clients
Claude Code + MailgunMCP server + skillClaude (desktop & claude.ai) + MailgunconnectorChatGPT + Mailgunconnector · GPT actionCodex CLI + MailgunMCP serverGemini CLI + MailgunMCP serverCursor + MailgunMCP serverVS Code (Copilot) + MailgunMCP server
