@papermark/mcp-server 0.0.1 → 0.2.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/README.md +63 -4
- package/dist/chunk-S3ALJ4YG.js +606 -0
- package/dist/chunk-S3ALJ4YG.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1072 -0
- package/dist/index.js.map +1 -0
- package/dist/tools-contract.d.ts +617 -0
- package/dist/tools-contract.js +90 -0
- package/dist/tools-contract.js.map +1 -0
- package/package.json +50 -8
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
addDocumentVersionContract,
|
|
4
|
+
attachDataroomDocumentContract,
|
|
5
|
+
createDataroomContract,
|
|
6
|
+
createDataroomFolderContract,
|
|
7
|
+
createFolderContract,
|
|
8
|
+
createLinkContract,
|
|
9
|
+
deleteDataroomContract,
|
|
10
|
+
deleteDataroomFolderContract,
|
|
11
|
+
deleteDocumentContract,
|
|
12
|
+
deleteFolderContract,
|
|
13
|
+
deleteLinkContract,
|
|
14
|
+
getDataroomAnalyticsContract,
|
|
15
|
+
getDataroomContract,
|
|
16
|
+
getDataroomFolderContract,
|
|
17
|
+
getDocumentAnalyticsContract,
|
|
18
|
+
getDocumentContract,
|
|
19
|
+
getDocumentVersionContract,
|
|
20
|
+
getFolderContract,
|
|
21
|
+
getLinkAnalyticsContract,
|
|
22
|
+
getLinkContract,
|
|
23
|
+
getViewAnalyticsContract,
|
|
24
|
+
getVisitorContract,
|
|
25
|
+
listDataroomDocumentsContract,
|
|
26
|
+
listDataroomFoldersContract,
|
|
27
|
+
listDataroomsContract,
|
|
28
|
+
listDocumentVersionsContract,
|
|
29
|
+
listDocumentsContract,
|
|
30
|
+
listFoldersContract,
|
|
31
|
+
listLinkViewsContract,
|
|
32
|
+
listLinksContract,
|
|
33
|
+
listVisitorViewsContract,
|
|
34
|
+
listVisitorsContract,
|
|
35
|
+
moveDataroomFolderContract,
|
|
36
|
+
moveFolderContract,
|
|
37
|
+
promoteDocumentVersionContract,
|
|
38
|
+
searchDataroomsContract,
|
|
39
|
+
searchDocumentsContract,
|
|
40
|
+
updateDataroomContract,
|
|
41
|
+
updateDataroomFolderContract,
|
|
42
|
+
updateDocumentContract,
|
|
43
|
+
updateFolderContract,
|
|
44
|
+
updateLinkContract
|
|
45
|
+
} from "./chunk-S3ALJ4YG.js";
|
|
46
|
+
export {
|
|
47
|
+
addDocumentVersionContract,
|
|
48
|
+
attachDataroomDocumentContract,
|
|
49
|
+
createDataroomContract,
|
|
50
|
+
createDataroomFolderContract,
|
|
51
|
+
createFolderContract,
|
|
52
|
+
createLinkContract,
|
|
53
|
+
deleteDataroomContract,
|
|
54
|
+
deleteDataroomFolderContract,
|
|
55
|
+
deleteDocumentContract,
|
|
56
|
+
deleteFolderContract,
|
|
57
|
+
deleteLinkContract,
|
|
58
|
+
getDataroomAnalyticsContract,
|
|
59
|
+
getDataroomContract,
|
|
60
|
+
getDataroomFolderContract,
|
|
61
|
+
getDocumentAnalyticsContract,
|
|
62
|
+
getDocumentContract,
|
|
63
|
+
getDocumentVersionContract,
|
|
64
|
+
getFolderContract,
|
|
65
|
+
getLinkAnalyticsContract,
|
|
66
|
+
getLinkContract,
|
|
67
|
+
getViewAnalyticsContract,
|
|
68
|
+
getVisitorContract,
|
|
69
|
+
listDataroomDocumentsContract,
|
|
70
|
+
listDataroomFoldersContract,
|
|
71
|
+
listDataroomsContract,
|
|
72
|
+
listDocumentVersionsContract,
|
|
73
|
+
listDocumentsContract,
|
|
74
|
+
listFoldersContract,
|
|
75
|
+
listLinkViewsContract,
|
|
76
|
+
listLinksContract,
|
|
77
|
+
listVisitorViewsContract,
|
|
78
|
+
listVisitorsContract,
|
|
79
|
+
moveDataroomFolderContract,
|
|
80
|
+
moveFolderContract,
|
|
81
|
+
promoteDocumentVersionContract,
|
|
82
|
+
searchDataroomsContract,
|
|
83
|
+
searchDocumentsContract,
|
|
84
|
+
updateDataroomContract,
|
|
85
|
+
updateDataroomFolderContract,
|
|
86
|
+
updateDocumentContract,
|
|
87
|
+
updateFolderContract,
|
|
88
|
+
updateLinkContract
|
|
89
|
+
};
|
|
90
|
+
//# sourceMappingURL=tools-contract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@papermark/mcp-server",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Model Context Protocol server for Papermark — give AI assistants access to your data rooms, documents, share links, and analytics.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://www.papermark.com",
|
|
7
7
|
"repository": {
|
|
@@ -13,19 +13,61 @@
|
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
15
15
|
"papermark",
|
|
16
|
+
"dataroom",
|
|
17
|
+
"virtual-dataroom",
|
|
18
|
+
"datarooms",
|
|
16
19
|
"mcp",
|
|
17
20
|
"model-context-protocol",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"dataroom",
|
|
21
|
-
"claude",
|
|
22
|
-
"agents"
|
|
21
|
+
"agents",
|
|
22
|
+
"documents"
|
|
23
23
|
],
|
|
24
|
+
"type": "module",
|
|
25
|
+
"bin": {
|
|
26
|
+
"papermark-mcp": "dist/index.js"
|
|
27
|
+
},
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"default": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./tools-contract": {
|
|
34
|
+
"types": "./dist/tools-contract.d.ts",
|
|
35
|
+
"default": "./dist/tools-contract.js"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
24
38
|
"publishConfig": {
|
|
25
39
|
"access": "public"
|
|
26
40
|
},
|
|
27
41
|
"files": [
|
|
42
|
+
"dist",
|
|
28
43
|
"README.md",
|
|
29
44
|
"LICENSE"
|
|
30
|
-
]
|
|
45
|
+
],
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=24"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "tsup",
|
|
51
|
+
"dev": "tsx src/index.ts",
|
|
52
|
+
"typecheck": "tsc --noEmit",
|
|
53
|
+
"smoke": "npm run build && node scripts/smoke.mjs",
|
|
54
|
+
"changeset": "changeset",
|
|
55
|
+
"version": "changeset version",
|
|
56
|
+
"release": "npm run build && changeset publish",
|
|
57
|
+
"prepublishOnly": "npm run build"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
61
|
+
"mime-types": "^3.0.2",
|
|
62
|
+
"zod": "^4.4.3"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@changesets/changelog-github": "^0.7.0",
|
|
66
|
+
"@changesets/cli": "^2.31.0",
|
|
67
|
+
"@types/mime-types": "^3.0.1",
|
|
68
|
+
"@types/node": "^24.12.4",
|
|
69
|
+
"tsup": "^8.3.5",
|
|
70
|
+
"tsx": "^4.21.0",
|
|
71
|
+
"typescript": "^5.7.2"
|
|
72
|
+
}
|
|
31
73
|
}
|