dsh-chatops-mcp: Connecting DingTalk, Lark, and Lark Projects into three MCP tool servers

dsh-chatops-mcp, maintained by li-shaozhe, integrates DingTalk, Lark, and Lark Projects (Meego) as three MCP tool servers into DeepSeek Harness. DingTalk and Lark are wrapped using dws CLI and lark-cli, respectively, reusing local login states without requiring new application keys; Meego directly uses the official @lark-project/mcp server (48 tools), injecting user tokens via meego-launch.js. The tool lists for the two CLI surfaces are not hardcoded but generated by reading the CLI's own schema. It constantly exposes three meta-tools (catalog, schema, cli), while the remaining tools are dynamically generated based on product whitelists, effect filtering, and quantity limits—only effects explicitly marked as "read" count as read-only. After installation, a "DingTalk/Lark Connector" panel appears on the left sidebar. Clicking "+" completes three steps: installing the CLI locally if missing, authorizing via device code if login is missing, and writing the MCP configuration. The configuration is handled via the host's `ctx.loader` and is persisted locally by the plugin to `connections.json` to ensure recovery after restarts. For fixed, high-frequency operations, there are custom wrappers (15 for DingTalk, 13 for Lark), and the panel also supports pasting a JSON block in the shape of `mcpServers` to create multiple custom connections.

Read More