npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@weijingwei/email

v1.0.19

Published

Email MCP Server - SMTP/IMAP email operations via MCP protocol

Readme

@weijingwei/email

Email MCP Server - 通过 MCP 协议进行 SMTP/IMAP 邮件操作。

安装

npm install @weijingwei/email

使用方式

MCP 模式(Claude Desktop 配置)

在 Claude Desktop 配置文件中添加:

{
  "mcpServers": {
    "email": {
      "command": "npx",
      "args": ["-y", "@weijingwei/email"]
    }
  }
}

CLI 模式

# 查看帮助
npx @weijingwei/email --help

# 初始化配置
npx @weijingwei/email init

# 查看收件箱
npx @weijingwei/email inbox

# 发送邮件
npx @weijingwei/email send --to [email protected] --subject "Hello" --body "Hello World"

# 搜索邮件
npx @weijingwei/email search --query "keyword"

MCP 工具列表

| 工具名 | 描述 | |--------|------| | email_initialize | 初始化邮件配置,设置 SMTP 和 IMAP 服务器参数 | | email_check_status | 检查邮件服务的初始化状态和配置信息 | | email_send | 发送邮件,支持纯文本、HTML 和附件 | | email_list_inbox | 分页获取收件箱邮件列表 | | email_list_sent | 分页获取发件箱邮件列表 | | email_get | 获取指定邮件的详细信息 | | email_search | 搜索邮件,支持按发件人、主题、正文搜索 | | email_download_attachment | 下载邮件附件到指定目录 | | email_set_default_download_dir | 设置附件下载的默认保存目录 | | email_test_connection | 测试 SMTP 和 IMAP 服务器连接 |

配置示例

首次使用需要初始化配置:

{
  "smtp_host": "smtp.example.com",
  "smtp_port": 587,
  "smtp_username": "[email protected]",
  "smtp_password": "your_password",
  "imap_host": "imap.example.com",
  "imap_port": 993,
  "imap_username": "[email protected]",
  "imap_password": "your_password",
  "from_address": "[email protected]",
  "from_name": "Your Name"
}

系统要求

  • Node.js >= 18.0.0

License

MIT