About Dingtalk Mcp
Dingtalk Mcp is a Go-based MCP server for interacting with DingTalk enterprise applications. It is for teams that need employee lookups and message operations through MCP, including text and Markdown messages.
Key features
- 01Query employee count
- 02Get basic root-department employee data
- 03Send enterprise text messages
- 04Send Markdown messages
- 05Recall sent messages
Use cases
- 01Check total employee count
- 02Retrieve basic root-department employee details
- 03Send text notices to employees
- 04Recall a message sent to employees
MCP support
The server exposes DingTalk enterprise application APIs to MCP clients, including employee lookups and messaging operations.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEdingtalk-mcp
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。
安装
go install github.com/zhaoyunxing92/dingtalk-mcp@latest
配置MCP服务
钉钉开放平台 创建一个应用,并给应用配置权限
{
"mcpServers": {
"dingtalk": {
"command": "dingtalk-mcp", // 如果提示找不到命令,可以将项目编译后的可执行文件放在PATH中
"args": [],
"env": {
"DINGTALK_AGENT_ID": "申请的agentId",
"DINGTALK_KEY": "应用key",
"DINGTALK_SECRET": "应用密钥"
},
"disabled": false,
"autoApprove": [
"get_employees_count",
"get_simple_employees",
"recall_corp_conversation",
"send_corp_conversation",
"send_markdown_corp_conversation"
],
"timeout": 60
}
}
}
功能列表
| API名称 | 功能描述 |
|---|---|
| get_employees_count | 获取企业员工人数 |
| get_simple_employees | 获取企业的员工基础信息(只获取根部门的人) |
| recall_corp_conversation | 撤回给员工的消息 |
| send_corp_conversation | 企业用户发送文本消息 |
| send_markdown_corp_conversation | 企业用户发送Markdown格式消息 |
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.