Dingtalk MCP Server

DingTalk MCP Server for Model Context Protocol

Local serverstdio

What is the Dingtalk MCP server?

If you want an AI assistant working directly with Dingtalk, the dingtalk mcp server is the bridge. DingTalk MCP Server for Model Context Protocol.

What Dingtalk does

钉钉的 Model Context Protocol (MCP) 服务器实现,使 Claude 能够与钉钉工作空间进行交互。

Tools it exposes

Once connected, the assistant can call these 3 tools directly:

  • userinfo — 获取用户信息
  • message — 发送消息
  • user — 获取用户列表

Installing the dingtalk mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

Before the server will start you need to supply 2 environment variables: DINGTALK_APP_KEY, DINGTALK_APP_SECRET. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Dingtalk sits in that group, and the shape of its toolset — userinfo, message, user — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by darrenyao.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the dingtalk mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
userinfo获取用户信息
message发送消息
user获取用户列表

How to install the Dingtalk MCP server

{
  "mcpServers": {
    "dingtalk": {
      "command": "npx",
      "args": [
        "-y",
        "@darrenyao/server-dingtalk"
      ],
      "env": {
        "DINGTALK_APP_KEY": "your_app_key",
        "DINGTALK_APP_SECRET": "your_app_secret"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
DINGTALK_APP_KEYCredential the server authenticates with.Yes
DINGTALK_APP_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Dingtalk to userinfo.
  • Use Dingtalk to message.
  • Use Dingtalk to user.

Frequently asked questions

It connects Dingtalk to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (userinfo, message, user) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Dingtalk directly.