https://github.com/zhaoyunxing92/dingtalk-mcp
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。
https://github.com/zhaoyunxing92/dingtalk-mcp
dingtalk mcp
Last synced: about 6 hours ago
JSON representation
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。
- Host: GitHub
- URL: https://github.com/zhaoyunxing92/dingtalk-mcp
- Owner: zhaoyunxing92
- License: apache-2.0
- Created: 2025-04-01T12:44:35.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-04-01T14:07:27.000Z (3 months ago)
- Last Synced: 2025-04-01T15:26:16.976Z (3 months ago)
- Topics: dingtalk, mcp
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- mcp-index - DingTalk MCP - Integrate with DingTalk enterprise applications to query employee information and send messages through a well-defined API. Supports essential functionalities for enhancing team communication and streamlining workflows within the DingTalk platform. (APIs and HTTP Requests)
README
# dingtalk-mcp
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。# 安装
```bash
go install github.com/zhaoyunxing92/dingtalk-mcp@latest
```## 配置MCP服务
> [钉钉开放平台](https://open-dev.dingtalk.com) 创建一个应用,并给应用配置权限
```json
{
"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格式消息 |