@dasaying/feishu-doc-mcp 1.0.0
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/LICENSE +201 -0
- package/README.md +328 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +15009 -0
- package/dist/index.js.map +1 -0
- package/package.json +175 -0
package/package.json
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dasaying/feishu-doc-mcp",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"mcpName": "io.github.dasaying/feishu-doc-mcp",
|
|
5
|
+
"description": "飞书云文档 MCP 服务器 - 支持 Markdown 文档上传、读取和批量操作。Feishu (Lark) Document MCP Server - Support Markdown upload, read and batch operations.",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"README.md",
|
|
11
|
+
"LICENSE"
|
|
12
|
+
],
|
|
13
|
+
"bin": {
|
|
14
|
+
"feishu-doc-mcp": "dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./*": "./dist/*"
|
|
22
|
+
},
|
|
23
|
+
"type": "module",
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/spelens-gud/feishu-doc-mcp"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/spelens-gud/feishu-doc-mcp/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/spelens-gud/feishu-doc-mcp#readme",
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "tsup",
|
|
35
|
+
"build:watch": "tsup --watch",
|
|
36
|
+
"deploy:dev": "MCP_TRANSPORT_TYPE=http npx wrangler dev",
|
|
37
|
+
"deploy:prod": "MCP_TRANSPORT_TYPE=http npx wrangler deploy",
|
|
38
|
+
"start": "node ./dist/index.js",
|
|
39
|
+
"start:stdio": "MCP_TRANSPORT_TYPE=stdio node ./dist/index.js",
|
|
40
|
+
"start:http": "MCP_TRANSPORT_TYPE=http node ./dist/index.js",
|
|
41
|
+
"dev": "tsx watch src/index.ts",
|
|
42
|
+
"dev:stdio": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=stdio tsx watch src/index.ts",
|
|
43
|
+
"dev:http": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=http tsx watch src/index.ts",
|
|
44
|
+
"devdocs": "tsx scripts/devdocs.ts",
|
|
45
|
+
"devcheck": "tsx scripts/devcheck.ts",
|
|
46
|
+
"rebuild": "npm run clean && npm run build",
|
|
47
|
+
"clean": "rimraf dist",
|
|
48
|
+
"docs:generate": "npx typedoc",
|
|
49
|
+
"depcheck": "npx depcheck",
|
|
50
|
+
"lint": "eslint .",
|
|
51
|
+
"lint:fix": "eslint . --fix",
|
|
52
|
+
"typecheck": "tsc --noEmit",
|
|
53
|
+
"typecheck:scripts": "tsc --project tsconfig.scripts.json --noEmit",
|
|
54
|
+
"tree": "tsx scripts/tree.ts",
|
|
55
|
+
"fetch-spec": "tsx scripts/fetch-openapi-spec.ts",
|
|
56
|
+
"format": "prettier --write \"**/*.{ts,js,json,md,html,css}\"",
|
|
57
|
+
"prepare": "husky",
|
|
58
|
+
"inspector": "npx mcp-inspector --config mcp.json --server mcp-ts-template",
|
|
59
|
+
"test": "vitest run",
|
|
60
|
+
"test:watch": "vitest",
|
|
61
|
+
"test:coverage": "vitest run --coverage",
|
|
62
|
+
"coverage:update": "tsx scripts/update-coverage.ts",
|
|
63
|
+
"coverage:commit": "tsx scripts/update-coverage.ts --commit",
|
|
64
|
+
"audit": "npm audit",
|
|
65
|
+
"audit:fix": "npm audit fix",
|
|
66
|
+
"publish-mcp": "tsx scripts/validate-mcp-publish-schema.ts"
|
|
67
|
+
},
|
|
68
|
+
"overrides": {},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@cloudflare/workers-types": "^4.20251212.0",
|
|
71
|
+
"@eslint/js": "^9.39.1",
|
|
72
|
+
"@hono/mcp": "^0.2.2",
|
|
73
|
+
"@types/diff": "^8.0.0",
|
|
74
|
+
"@types/js-yaml": "^4.0.9",
|
|
75
|
+
"@types/node": "^25.0.1",
|
|
76
|
+
"@types/node-cron": "^3.0.11",
|
|
77
|
+
"@types/papaparse": "^5.5.1",
|
|
78
|
+
"@types/sanitize-html": "^2.16.0",
|
|
79
|
+
"@types/validator": "13.15.10",
|
|
80
|
+
"@vitest/coverage-v8": "4.0.15",
|
|
81
|
+
"clipboardy": "^5.0.1",
|
|
82
|
+
"depcheck": "^1.4.7",
|
|
83
|
+
"diff": "^8.0.2",
|
|
84
|
+
"eslint": "^9.39.1",
|
|
85
|
+
"execa": "^9.6.1",
|
|
86
|
+
"globals": "^16.5.0",
|
|
87
|
+
"husky": "^9.1.7",
|
|
88
|
+
"ignore": "^7.0.5",
|
|
89
|
+
"msw": "^2.12.4",
|
|
90
|
+
"prettier": "^3.7.4",
|
|
91
|
+
"repomix": "^1.10.1",
|
|
92
|
+
"rimraf": "^6.0.1",
|
|
93
|
+
"tsup": "^8.4.0",
|
|
94
|
+
"tsx": "^4.19.4",
|
|
95
|
+
"typedoc": "^0.28.15",
|
|
96
|
+
"typescript": "^5.9.3",
|
|
97
|
+
"typescript-eslint": "8.49.0",
|
|
98
|
+
"vite": "7.2.7",
|
|
99
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
100
|
+
"vitest": "^4.0.15"
|
|
101
|
+
},
|
|
102
|
+
"keywords": [
|
|
103
|
+
"mcp",
|
|
104
|
+
"mcp-server",
|
|
105
|
+
"model-context-protocol",
|
|
106
|
+
"feishu",
|
|
107
|
+
"lark",
|
|
108
|
+
"feishu-doc",
|
|
109
|
+
"lark-doc",
|
|
110
|
+
"markdown",
|
|
111
|
+
"document",
|
|
112
|
+
"wiki",
|
|
113
|
+
"knowledge-base",
|
|
114
|
+
"oauth",
|
|
115
|
+
"typescript",
|
|
116
|
+
"ai",
|
|
117
|
+
"ai-agent",
|
|
118
|
+
"llm",
|
|
119
|
+
"claude",
|
|
120
|
+
"openai"
|
|
121
|
+
],
|
|
122
|
+
"author": "Your Name <your.email@example.com>",
|
|
123
|
+
"license": "Apache-2.0",
|
|
124
|
+
"engines": {
|
|
125
|
+
"node": ">=20.0.0"
|
|
126
|
+
},
|
|
127
|
+
"depcheck": {
|
|
128
|
+
"ignores": [
|
|
129
|
+
"repomix",
|
|
130
|
+
"mcp-ts-template"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"publishConfig": {
|
|
134
|
+
"access": "public"
|
|
135
|
+
},
|
|
136
|
+
"dependencies": {
|
|
137
|
+
"@hono/node-server": "^1.19.7",
|
|
138
|
+
"@modelcontextprotocol/sdk": "^1.24.3",
|
|
139
|
+
"@opentelemetry/api": "^1.9.0",
|
|
140
|
+
"@opentelemetry/auto-instrumentations-node": "^0.67.2",
|
|
141
|
+
"@opentelemetry/exporter-metrics-otlp-http": "^0.208.0",
|
|
142
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.208.0",
|
|
143
|
+
"@opentelemetry/instrumentation-pino": "^0.55.0",
|
|
144
|
+
"@opentelemetry/resources": "^2.2.0",
|
|
145
|
+
"@opentelemetry/sdk-metrics": "^2.2.0",
|
|
146
|
+
"@opentelemetry/sdk-node": "^0.208.0",
|
|
147
|
+
"@opentelemetry/sdk-trace-node": "^2.2.0",
|
|
148
|
+
"@opentelemetry/semantic-conventions": "^1.38.0",
|
|
149
|
+
"@supabase/supabase-js": "^2.87.1",
|
|
150
|
+
"ajv": "^8.17.1",
|
|
151
|
+
"ajv-formats": "^3.0.1",
|
|
152
|
+
"axios": "^1.13.2",
|
|
153
|
+
"chrono-node": "^2.9.0",
|
|
154
|
+
"dotenv": "^17.2.3",
|
|
155
|
+
"fast-xml-parser": "^5.3.3",
|
|
156
|
+
"hono": "^4.10.8",
|
|
157
|
+
"jose": "^6.1.3",
|
|
158
|
+
"js-yaml": "^4.1.1",
|
|
159
|
+
"node-cron": "^4.2.1",
|
|
160
|
+
"openai": "^6.10.0",
|
|
161
|
+
"papaparse": "^5.5.3",
|
|
162
|
+
"partial-json": "^0.1.7",
|
|
163
|
+
"pdf-lib": "^1.17.1",
|
|
164
|
+
"pino": "^10.1.0",
|
|
165
|
+
"pino-pretty": "^13.1.3",
|
|
166
|
+
"reflect-metadata": "^0.2.2",
|
|
167
|
+
"sanitize-html": "^2.17.0",
|
|
168
|
+
"surrealdb": "^1.3.2",
|
|
169
|
+
"tslib": "^2.8.1",
|
|
170
|
+
"tsyringe": "^4.10.0",
|
|
171
|
+
"unpdf": "^1.4.0",
|
|
172
|
+
"validator": "13.15.23",
|
|
173
|
+
"zod": "^4.1.13"
|
|
174
|
+
}
|
|
175
|
+
}
|