Back to MCP directory
publicPublicdnsLocal runtime

DingDing (DingTalk)

钉钉群机器人消息发送服务

article

README

🚀 mcp-钉钉机器人服务器

mcp-钉钉机器人服务器是一个 MCP 服务器应用程序,可向钉钉群机器人发送各类消息,支持文本、Markdown、图片、图文、模板卡片消息及文件上传,极大地丰富了消息交互形式。

🚀 快速开始

mcp-钉钉机器人服务器是一个 MCP(消息控制协议)服务器应用程序,允许您向钉钉群机器人发送各种类型的消息。它支持文本、Markdown、图片、图文和模板卡片消息,以及文件上传。

✨ 主要特性

  • 支持文本消息,满足基础信息传达需求。
  • 支持 Markdown 消息,可呈现更丰富的格式内容。
  • 支持图片消息,直观展示图片信息。
  • 支持图文消息,结合图片与文字,信息更全面。
  • 支持模板卡片消息,提供多样化的消息展示形式。
  • 支持文件上传,方便共享文件资源。
  • 具备签名验证功能,增强安全性。

📦 安装指南

手动安装

# 克隆仓库并构建
$ git clone https://github.com/HundunOnline/mcp-dingdingbot-server.git
$ cd mcp-dingdingbot-server && make build
$ sudo ln -s $PWD/dist/mcp-dingdingbot-server_xxx_xxxx /usr/local/bin/mcp-dingdingbot-server

# "$PWD/dist/mcp-dingdingbot-server_xxx_xxxx" 替换为实际的二进制文件名

# 您也可以下载并使用预编译的发布二进制包。

📚 详细文档

配置

{
  "mcpServers": {
    "mcp-dingdingbot-server": {
      "command": "mcp-dingdingbot-server",
      "env": {
        "DINGDING_BOT_WEBHOOK_KEY": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
      }
    }
  }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client