dingtalk-wiki 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "dingtalk-wiki",
3
+ "version": "1.1.1",
4
+ "description": "DingTalk Wiki / Docs read-write MCP server that fills the gap left by DingTalk official MCP.",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "dingtalk-wiki": "./index.js"
8
+ },
9
+ "scripts": {
10
+ "start": "node index.js",
11
+ "check": "node --check index.js",
12
+ "test": "echo \"No automated tests yet\""
13
+ },
14
+ "keywords": [
15
+ "mcp",
16
+ "model-context-protocol",
17
+ "dingtalk",
18
+ "wiki",
19
+ "docs",
20
+ "knowledge-base",
21
+ "ai-agent",
22
+ "openclaw",
23
+ "javascript"
24
+ ],
25
+ "files": [
26
+ "skill/",
27
+ "docs/",
28
+ "index.js",
29
+ "README.md",
30
+ "LICENSE"
31
+ ],
32
+ "author": "ianen",
33
+ "license": "MIT",
34
+ "homepage": "https://github.com/shuans/dingtalk-wiki-mcp",
35
+ "bugs": {
36
+ "url": "https://github.com/shuans/dingtalk-wiki-mcp/issues"
37
+ },
38
+ "type": "commonjs",
39
+ "dependencies": {
40
+ "@modelcontextprotocol/sdk": "^1.29.0",
41
+ "axios": "latest",
42
+ "dotenv": "latest",
43
+ "zod": "latest"
44
+ }
45
+ }
package/skill/SKILL.md ADDED
@@ -0,0 +1,56 @@
1
+ # DingTalk Wiki MCP Server
2
+
3
+ 钉钉知识库 MCP Server,支持通过 MCP 协议读写钉钉 Wiki / Docs 内容。
4
+
5
+ ### 知识库管理
6
+ - `list_wiki_workspaces` - 列出知识库工作空间列表
7
+ - `get_wiki_workspace` - 获取知识库详情
8
+ - `list_wiki_nodes` - 列出知识库节点(文档 / 目录)
9
+ - `get_wiki_node` - 获取节点详情
10
+ - `create_wiki_doc` - 创建文档(支持 `DOC` / `WORKBOOK` / `MIND` / `FOLDER`)
11
+ - `search_wiki` - 搜索知识库内容
12
+ - `list_notable_sheets` - 获取 `.able` / AI 表格中的所有数据表
13
+ - `list_notable_records` - 获取指定数据表中的 records
14
+
15
+ ### 组织架构
16
+ - `list_departments` - 列出部门列表
17
+ - `get_department_users` - 获取部门成员
18
+ - `get_user_info` - 获取用户详情(包含 `unionid`)
19
+
20
+ ### 配置管理
21
+ - `set_operator` - 设置操作者 `unionid`
22
+ - `show_config` - 显示当前配置信息
23
+
24
+ ## 使用示例
25
+
26
+ ### 查看当前配置
27
+
28
+ ```bash
29
+ mcporter call dingtalk-wiki.show_config
30
+ ```
31
+
32
+ ### 列出知识库
33
+
34
+ ```bash
35
+ mcporter call dingtalk-wiki.list_wiki_workspaces
36
+ ```
37
+
38
+ ### 获取某个知识库节点
39
+
40
+ ```bash
41
+ mcporter call dingtalk-wiki.list_wiki_nodes workspace_id="your_workspace_id"
42
+ ```
43
+
44
+ ### 创建文档
45
+
46
+ ```bash
47
+ mcporter call dingtalk-wiki.create_wiki_doc \
48
+ workspace_id="your_workspace_id" \
49
+ name="新文档标题"
50
+ ```
51
+
52
+ ### 获取用户信息
53
+
54
+ ```bash
55
+ mcporter call dingtalk-wiki.get_user_info userid="your_user_id"
56
+ ```