Skip to main content
Glama

Mailgun MCP Server

Official
by mailgun
Apache 2.0
6
  • Apple

Mailgun MCP 服务器

概述

Mailgun的模型上下文协议 (MCP) 服务器实现,使与 MCP 兼容的 AI 客户端(如 Claude Desktop)能够与该服务进行交互。

先决条件

  • Node.js(v18 或更高版本)
  • Git
  • Claude 桌面(用于 Claude 集成)
  • Mailgun 帐户和 API 密钥

快速入门

手动安装

  1. 克隆存储库:
    git clone https://github.com/mailgun/mailgun-mcp-server.git cd mailgun-mcp-server
  2. 安装依赖项并构建:
    npm install
  3. 配置Claude桌面:创建或修改配置文件:
    • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json

    添加以下配置:

    { "mcpServers": { "mailgun": { "command": "node", "args": ["CHANGE/THIS/PATH/TO/mailgun-mcp-server/src/mailgun-mcp.js"], "env": { "MAILGUN_API_KEY": "YOUR-mailgun-api-key" } } } }

测试

使用以下命令运行本地测试套件:

NODE_ENV=test npm test

克劳德的样本提示

发送电子邮件

注意:目前(2025-03-18)发送电子邮件似乎需要 Anthropic 付费账户。使用免费账户发送电子邮件会提示失败。

Can you send an email to EMAIL_HERE with a funny email body that makes it sound like it's from the IT Desk from Office Space? Please use the sending domain DOMAIN_HERE, and make the email from "postmaster@DOMAIN_HERE"!
获取并可视化发送统计数据
Would you be able to make a chart with email delivery statistics for the past week?

调试

MCP 服务器通过 stdio 进行通信,请参阅模型上下文协议的调试部分。

执照

LICENSE文件的详细信息

贡献

欢迎大家贡献代码!欢迎提交 Pull 请求。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

模型上下文协议服务器实现,使 Claude Desktop 等 AI 助手能够与 Mailgun 电子邮件服务进行交互,从而允许用户发送电子邮件并通过自然语言可视化电子邮件传递统计数据。

  1. 概述
    1. 先决条件
      1. 快速入门
        1. 手动安装
      2. 测试
        1. 克劳德的样本提示
      3. 调试
        1. 执照
          1. 贡献

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to interact with Gmail services, supporting email operations, draft management, and calendar functionality through Google API integration.
              Last updated -
              TypeScript
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that provides a seamless email management interface through Claude, allowing users to search, read, and send emails directly through natural language conversations.
              Last updated -
              40
              Python
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants like Claude to interact with Gmail through natural language, providing comprehensive email management capabilities including sending, reading, organizing, searching, and managing drafts and labels.
              Last updated -
              Python
              GPL 3.0
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to access and manage email through IMAP, supporting browsing, searching, reading, and organizing emails while learning user preferences over time.
              Last updated -
              2
              Python
              • Linux
              • Apple

            View all related MCP servers

            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/mailgun/mailgun-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server