Dingtalk MCP

by open-dingtalk

413 downloads
Not rated
GitHub

About

Provides various DingTalk services including contacts, department management, robot messaging, calendar, and tasks.

Details

Author
open-dingtalk
Downloads
413
Categories
Productivity, Communication, Other, Project Management, Automation

- 提供钉钉通讯录与部门管理工具
- 支持机器人发送消息和DING通知
- 管理钉钉待办事项(读写权限)
- 操作钉钉日程、签到、工作通知
- 集成钉钉企业文化荣誉管理
- 覆盖钉钉应用管理与服务窗接口

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Dingtalk MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

通过配置MCP客户端(如Claude Desktop)的mcpServers,添加名为dingtalk-mcp的服务器,使用npx -y dingtalk-mcp@latest命令运行,并设置环境变量DINGTALK_Client_IDDINGTALK_Client_Secret。通过ACTIVE_PROFILES环境变量激活所需的功能模块(如dingtalk-contacts,dingtalk-calendar),设置为ALL则激活全部服务。其他可选变量包括ROBOT_CODEROBOT_ACCESS_TOKENDINGTALK_AGENT_ID

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "dingtalk mcp": {
            "dingtalk": {
                "command": "npx",
                "args": [
                    "-y",
                    "dingtalk-mcp@latest"
                ],
                "env": {
                    "DINGTALK_Client_ID": "your dingtalk app client id",
                    "DINGTALK_Client_Secret": "your dingtalk app cliengt secret",
                    "ACTIVE_PROFILES": "ALL"
                }
            }
        }
    }
}

McpServers

{
    "dingtalk": {
        "command": "npx",
        "args": [
            "-y",
            "dingtalk-mcp@latest"
        ],
        "env": {
            "DINGTALK_Client_ID": "your dingtalk app client id",
            "DINGTALK_Client_Secret": "your dingtalk app cliengt secret",
            "ACTIVE_PROFILES": "ALL"
        }
    }
}

钉钉MCP Server

🚀 功能特性

- 钉钉通讯录 - 钉钉部门管理 - 钉钉机器人发消息/DING - 钉钉企业文化荣誉 - 钉钉待办 - 钉钉日程 - 钉钉签到 - 钉钉工作通知 - 钉钉应用管理 - 钉钉服务窗

如何使用

{
   "mcpServers": {
      "dingtalk-mcp": {
         "command": "npx",
         "args": [
            "-y",
            "dingtalk-mcp@latest"
         ],
         "env": {
            "DINGTALK_Client_ID": "your dingtalk client id",
            "DINGTALK_Client_Secret": "your dingtalk client secret",
           "ACTIVE_PROFILES": "dingtalk-contacts,dingtalk-calendar"
         }
      }
   }
}

env环境变量说明

1. DINGTALK_Client_ID 2. DINGTALK_Client_Secret 3. ACTIVE_PROFILES,激活哪些钉钉MCP服务,逗号风格,如果是ALL则激活全部。可选集合

| ProfileId | Description | Permission |
|--------------------------|--------------------|-------------------------------------------------|
| dingtalk-contacts | 钉钉通讯录,默认激活 |
| dingtalk-department | 钉钉部门管理 |
| dingtalk-robot-send-message | 钉钉机器人发消息/DING,默认激活 | 需要企业内机器人发送消息权限 |
| dingtalk-honor | 钉钉企业文化荣誉 |
| dingtalk-tasks | 钉钉待办 | Todo.Todo.Write<br>Todo.Todo.Read |
| dingtalk-calendar | 钉钉日程 |
| dingtalk-checkin | 钉钉签到 |
| dingtalk-notice | 钉钉工作通知 |
| dingtalk-app-manage | 钉钉应用管理 | qyapi_microapp_manage<br>qyapi_get_microapp_list |
| dingtalk-service-window | 钉钉服务窗 | |

4. ROBOT_CODE,用于发消息/DING的机器人Code
5. ROBOT_ACCESS_TOKEN,群自定义机器人ACCESS_TOKEN,用于自定义机器人发消息
6. DINGTALK_AGENT_ID 用于发送工作通知

如何获取钉钉Client ID和Client Secret


1. 成为钉钉开发者
2. 创建应用
3. 进入应用详情页-凭证与基础信息,获取Client ID和Client Secret
4. 添加权限,根据启用的MCP服务添加相关权限点

如何获取ROBOT_CODE


1. 参考如何创建机器人

📞 支持

- 帮助文档: https://open.dingtalk.com/document/ai-dev/dingtalk-server-api-mcp-overview
- 钉钉开放平台: https://open.dingtalk.com
- MCP协议: https://modelcontextprotocol.io
- 欢迎加入钉钉MCP交流群
欢迎加入钉钉MCP交流群

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.