dingtalk-mcp
by zhaoyunxing92
dingtalk-mcp is a DingTalk MCP (Message Connector Protocol) service that provides API interfaces for interacting with DingTalk enterprise applications. It is developed in Go and supports employee information querying and message sending.
Last updated: N/A
What is dingtalk-mcp?
dingtalk-mcp is a service that acts as a Message Connector Protocol for DingTalk, enabling interaction with DingTalk enterprise applications through API calls.
How to use dingtalk-mcp?
- Install the service using
go install github.com/zhaoyunxing92/dingtalk-mcp@latest
. 2. Create an application on the DingTalk Open Platform and configure permissions. 3. Configure the MCP service with the necessary credentials (agentId, key, secret) in the configuration file. 4. Ensure the compiled executable is in your PATH or specify the full path in the configuration.
Key features of dingtalk-mcp
Retrieves the number of employees in an enterprise.
Retrieves basic employee information (root department only).
Recalls messages sent to employees.
Sends text messages to enterprise users.
Sends Markdown-formatted messages to enterprise users.
Use cases of dingtalk-mcp
Automated notifications to employees.
Employee information management.
Integration with other enterprise systems.
Building custom DingTalk applications.
Sending targeted announcements
FAQ from dingtalk-mcp
What is DINGTALK_AGENT_ID?
What is DINGTALK_AGENT_ID?
The agentId of your DingTalk application.
Where do I find DINGTALK_KEY and DINGTALK_SECRET?
Where do I find DINGTALK_KEY and DINGTALK_SECRET?
These are the application key and secret obtained from the DingTalk Open Platform when you create your application.
What does autoApprove do?
What does autoApprove do?
It automatically approves the listed API calls, likely bypassing certain permission checks.
What is the purpose of the timeout setting?
What is the purpose of the timeout setting?
It specifies the maximum time (in seconds) allowed for an API call to complete before timing out.
How do I deploy this to production?
How do I deploy this to production?
Compile the Go code, configure the environment variables, and run the executable on a server.