mcp-dingdingbot
钉钉webhook MCP server
claude mcp add --transport stdio hundunonline-mcp-dingdingbot-server mcp-dingdingbot-server \ --env DINGDING_BOT_SIGN_KEY="SECxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ --env DINGDING_BOT_WEBHOOK_KEY="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
How to use
This MCP server, mcp-dingdingbot-server, enables you to send a variety of DingDing group messages through a DingDing group robot. It supports text, markdown, image, news, and template card messages, as well as file uploads. You can manage access securely via signature verification if you enable the DINGDING_BOT_SIGN_KEY. Use the provided commands to construct and dispatch messages to your DingDing group robot.
Once the server is running and configured with your DingDing webhook and (optionally) a signature key, you can invoke its built-in capabilities such as send_text, send_markdown, send_image, send_news, send_template_card, and upload_file to interact with the DingDing group robot.
How to install
Prerequisites:
- Git
- Go tooling and Makefile support (for building the binary via make build)
- Access to the repository https://github.com/HundunOnline/mcp-dingdingbot-server
Steps:
- Clone the repository:
git clone https://github.com/HundunOnline/mcp-dingdingbot-server.git
- Change into the project directory and build:
cd mcp-dingdingbot-server
make build
- Optional: create a symlink to make the binary easily runnable from anywhere (adjust the binary name if needed):
sudo ln -s $PWD/dist/mcp-dingdingbot-server_xxx_xxxx /usr/local/bin/mcp-dingdingbot-server
Replace "$PWD/dist/mcp-dingdingbot-server_xxx_xxxx" with the actual produced binary name. 4) Prepare configuration via mcp_config format (see README example) and start the server with the required environment variables:
# Example environment setup (adjust keys accordingly)
export DINGDING_BOT_WEBHOOK_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
export DINGDING_BOT_SIGN_KEY=SECxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Run the server (adjust path if needed)
mcp-dingdingbot-server
- Alternatively, download and use a pre-compiled release binary package if available and place it in your PATH.
Additional notes
Notes and tips:
- The server requires DINGDING_BOT_WEBHOOK_KEY to be set. This is the webhook token for your DingDing group robot and is mandatory for forwarding messages.
- DINGDING_BOT_SIGN_KEY is optional but recommended when you want signature verification for enhanced security. If enabled, requests must be signed using HMAC-SHA256 with the provided timestamp and secret key.
- Ensure network access from the server to the DingDing webhook endpoint is allowed (no outbound blocks).
- The configuration format follows the MCP standard shown in the README, with the mcpServers map containing the server entry and its environment variables.
- If you modify env vars, restart the MCP server to apply changes.
- The server supports uploading files to DingDing via upload_file in addition to sending various message types.
Related MCP Servers
trpc-agent-go
trpc-agent-go is a powerful Go framework for building intelligent agent systems using large language models (LLMs) and tools.
station
Station is our open-source runtime that lets teams deploy agents on their own infrastructure with full control.
tiger-cli
Tiger CLI is the command-line interface for Tiger Cloud. It includes an MCP server for helping coding agents write production-level Postgres code.
gopls
MCP server for golang projects development: Expand AI Code Agent ability boundary to have a semantic understanding and determinisic information for golang projects.
kubernetes
A Model Context Protocol (MCP) server for the Kubernetes API.
gcp-cost
💰 An MCP server that enables AI assistants to estimate Google Cloud costs, powered by Cloud Billing Catalog API and built with Genkit for Go