Skip to main content
Glama
sfyyy

Claude Code DingTalk MCP Server

by sfyyy

dingtalk_configure

Configure DingTalk webhook settings to integrate Claude Code with DingTalk robot notifications for sending task alerts and messages to groups.

Instructions

Configure DingTalk webhook settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
webhookYesDingTalk webhook URL with access token
secretNoOptional secret for signature verification
keywordsNoOptional keywords for security validation

Implementation Reference

  • The handler function that executes the dingtalk_configure tool. It creates a new DingTalkClient instance with the provided configuration (webhook, secret, keywords) and returns a success message.
    private async handleConfigure(config: DingTalkConfig) { this.dingTalkClient = new DingTalkClient(config); return { content: [ { type: 'text', text: '✅ DingTalk client configured successfully', }, ], }; }
  • Input schema definition for the dingtalk_configure tool, specifying properties for webhook (required), secret, and keywords.
    inputSchema: { type: 'object', properties: { webhook: { type: 'string', description: 'DingTalk webhook URL with access token', }, secret: { type: 'string', description: 'Optional secret for signature verification', }, keywords: { type: 'array', items: { type: 'string' }, description: 'Optional keywords for security validation', }, }, required: ['webhook'], },
  • src/index.ts:62-84 (registration)
    Registration of the dingtalk_configure tool in the ListTools response, including name, description, and input schema.
    { name: 'dingtalk_configure', description: 'Configure DingTalk webhook settings', inputSchema: { type: 'object', properties: { webhook: { type: 'string', description: 'DingTalk webhook URL with access token', }, secret: { type: 'string', description: 'Optional secret for signature verification', }, keywords: { type: 'array', items: { type: 'string' }, description: 'Optional keywords for security validation', }, }, required: ['webhook'], }, },
  • src/index.ts:206-207 (registration)
    Switch case in CallToolRequestSchema handler that routes dingtalk_configure calls to the handleConfigure method.
    case 'dingtalk_configure': return await this.handleConfigure(args as unknown as DingTalkConfig);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sfyyy/claude-code-dingtalk-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server