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

@archiesun/dingtalk-mcp-messaging

v1.0.1

Published

钉钉消息通知MCP服务器 - 通讯录查询、部门查询、机器人消息、工作通知、服务窗

Downloads

21

Readme

钉钉消息通知MCP服务�?

钉钉消息通知MCP服务器,提供通讯录查询、部门查询、机器人消息、DING消息、工作通知、服务窗等功能�?

功能特�?

  • 🔍 *通讯录查�? - 按姓名搜索用户、获取用户详情、手机号/unionId转换
  • 🏢 部门查询 - 按名称搜索部门、获取子部门、获取父部门路径
  • 🤖 *机器人消�? - 群消息发�?撤回、单聊消息发�?撤回、自定义机器人消�?- 📢 DING消息 - 发送高优先级DING消息、撤回DING消息
  • 📨 工作通知 - 发送工作通知、查询发送结�?进度、撤回通知
  • 📱 *服务�? - 服务窗消息发送、关注者管�?

安装

npm install @archiesun/dingtalk-mcp-messaging

配置

环境变量

# 必需配置
DINGTALK_Client_ID=your_app_key
DINGTALK_Client_Secret=your_app_secret

# 可选配�?ROBOT_CODE=your_robot_code
ROBOT_ACCESS_TOKEN=your_robot_access_token
DINGTALK_AGENT_ID=your_agent_id

MCP客户端配�?

{
  "mcpServers": {
    "dingtalk-messaging": {
      "command": "npx",
      "args": ["-y", "dingtalk-mcp-messaging@latest"],
      "env": {
        "DINGTALK_Client_ID": "your client id",
        "DINGTALK_Client_Secret": "your client secret",
        "ROBOT_CODE": "your robot code",
        "ROBOT_ACCESS_TOKEN": "your access token",
        "DINGTALK_AGENT_ID": "your agent id"
      }
    }
  }
}

工具列表

| 分类 | 工具名称 | 说明 | |------|---------|------| | 辅助工具 | currentDateTime | 获取当前日期和时�?| | 通讯录查�?| searchUser | 按姓名搜索用�?| | | getUserDetailByUserId | 获取用户详情 | | | getUserIdByMobile | 手机号转userId | | | getUserIdByUnionId | unionId转userId | | | getUnionIdByUserId | userId转unionId | | | getDepartmentUsersByDepId | 获取部门成员 | | 部门查询 | searchDepartment | 按名称搜索部�?| | | getDepartmentDetail | 获取部门详情 | | | listSubDepartments | 获取子部�?| | | listSubDepartmentIds | 获取子部门ID列表 | | | getDepartmentParents | 获取父部门路�?| | | getUserDepartmentParents | 获取用户部门路径 | | 机器人消�?| sendMessageToGroupByRobot | 群消息发�?| | | recallGroupMessageByRobot | 群消息撤�?| | | batchSendMessageToUsersByRobot | 单聊消息发�?| | | batchRecallToUsersMessageByRobot | 单聊消息撤回 | | | sendMessageToGroupByCustomRobot | 自定义机器人消息 | | DING消息 | sendDINGMessageByRobot | 发送DING消息 | | | recallDINGMessage | 撤回DING消息 | | 工作通知 | sendNotice | 发送工作通知 | | | getSendResult | 获取发送结�?| | | getSendProgress | 获取发送进�?| | | recallNotice | 撤回工作通知 | | 服务�?| sendServiceWindowMessage | 发送服务窗单人消息 | | | batchSendServiceWindowMessage | 批量发送服务窗消息 | | | getServiceWindowFollowerInfo | 获取关注者信�?| | | listServiceWindowFollowersInfo | 批量获取关注者信�?| | | getUserFollowStatus | 获取关注状�?| | | listServiceWindows | 获取服务窗列�?|

许可�?

MIT License

相关链接