@baruchiro/paperless-mcp 0.4.2 → 0.4.4
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/build/{src/index.js → index.js} +2 -2
- package/package.json +1 -1
- package/paperless-mcp.dxt +0 -0
- package/build/package.json +0 -60
- /package/build/{src/api → api}/PaperlessAPI.d.ts +0 -0
- /package/build/{src/api → api}/PaperlessAPI.js +0 -0
- /package/build/{src/api → api}/documentEnhancer.d.ts +0 -0
- /package/build/{src/api → api}/documentEnhancer.js +0 -0
- /package/build/{src/api → api}/types.d.ts +0 -0
- /package/build/{src/api → api}/types.js +0 -0
- /package/build/{src/api → api}/utils.d.ts +0 -0
- /package/build/{src/api → api}/utils.js +0 -0
- /package/build/{src/index.d.ts → index.d.ts} +0 -0
- /package/build/{src/tools → tools}/correspondents.d.ts +0 -0
- /package/build/{src/tools → tools}/correspondents.js +0 -0
- /package/build/{src/tools → tools}/customFields.d.ts +0 -0
- /package/build/{src/tools → tools}/customFields.js +0 -0
- /package/build/{src/tools → tools}/documentTypes.d.ts +0 -0
- /package/build/{src/tools → tools}/documentTypes.js +0 -0
- /package/build/{src/tools → tools}/documents.d.ts +0 -0
- /package/build/{src/tools → tools}/documents.js +0 -0
- /package/build/{src/tools → tools}/tags.d.ts +0 -0
- /package/build/{src/tools → tools}/tags.js +0 -0
- /package/build/{src/tools → tools}/utils/descriptions.d.ts +0 -0
- /package/build/{src/tools → tools}/utils/descriptions.js +0 -0
- /package/build/{src/tools → tools}/utils/empty.d.ts +0 -0
- /package/build/{src/tools → tools}/utils/empty.js +0 -0
- /package/build/{src/tools → tools}/utils/middlewares.d.ts +0 -0
- /package/build/{src/tools → tools}/utils/middlewares.js +0 -0
- /package/build/{src/tools → tools}/utils/monetary.d.ts +0 -0
- /package/build/{src/tools → tools}/utils/monetary.js +0 -0
- /package/build/{src/tools → tools}/utils/monetary.test.d.ts +0 -0
- /package/build/{src/tools → tools}/utils/monetary.test.js +0 -0
- /package/build/{src/tools → tools}/utils/queryString.d.ts +0 -0
- /package/build/{src/tools → tools}/utils/queryString.js +0 -0
|
@@ -25,7 +25,7 @@ const customFields_1 = require("./tools/customFields");
|
|
|
25
25
|
const documents_1 = require("./tools/documents");
|
|
26
26
|
const documentTypes_1 = require("./tools/documentTypes");
|
|
27
27
|
const tags_1 = require("./tools/tags");
|
|
28
|
-
const
|
|
28
|
+
const { version } = require("../package.json");
|
|
29
29
|
const { values: { baseUrl, token, http: useHttp, port, publicUrl }, } = (0, node_util_1.parseArgs)({
|
|
30
30
|
options: {
|
|
31
31
|
baseUrl: { type: "string" },
|
|
@@ -49,7 +49,7 @@ function main() {
|
|
|
49
49
|
return __awaiter(this, void 0, void 0, function* () {
|
|
50
50
|
// Initialize API client and server once
|
|
51
51
|
const api = new PaperlessAPI_1.PaperlessAPI(resolvedBaseUrl, resolvedToken);
|
|
52
|
-
const server = new mcp_js_1.McpServer({ name: "paperless-ngx", version
|
|
52
|
+
const server = new mcp_js_1.McpServer({ name: "paperless-ngx", version }, {
|
|
53
53
|
instructions: `
|
|
54
54
|
Paperless-NGX MCP Server Instructions
|
|
55
55
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baruchiro/paperless-mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Model Context Protocol (MCP) server for interacting with Paperless-NGX document management system. Enables AI assistants to manage documents, tags, correspondents, and document types through the Paperless-NGX API.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"bin": {
|
package/paperless-mcp.dxt
CHANGED
|
Binary file
|
package/build/package.json
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@baruchiro/paperless-mcp",
|
|
3
|
-
"version": "0.4.2",
|
|
4
|
-
"description": "Model Context Protocol (MCP) server for interacting with Paperless-NGX document management system. Enables AI assistants to manage documents, tags, correspondents, and document types through the Paperless-NGX API.",
|
|
5
|
-
"main": "build/index.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"paperless-mcp": "build/index.js"
|
|
8
|
-
},
|
|
9
|
-
"scripts": {
|
|
10
|
-
"test": "node --require ts-node/register --test src/**/*.test.ts",
|
|
11
|
-
"start": "ts-node src/index.ts",
|
|
12
|
-
"build": "tsc",
|
|
13
|
-
"dxt-pack": "dxt pack",
|
|
14
|
-
"inspect": "npm run build && npx -y @modelcontextprotocol/inspector node build/index.js",
|
|
15
|
-
"prepack": "npm run build && npm run dxt-pack"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"mcp",
|
|
19
|
-
"paperless-ngx",
|
|
20
|
-
"document-management",
|
|
21
|
-
"ai",
|
|
22
|
-
"claude",
|
|
23
|
-
"model-context-protocol",
|
|
24
|
-
"paperless"
|
|
25
|
-
],
|
|
26
|
-
"author": "Baruch Odem",
|
|
27
|
-
"license": "ISC",
|
|
28
|
-
"engines": {
|
|
29
|
-
"node": ">=24.0.0"
|
|
30
|
-
},
|
|
31
|
-
"repository": {
|
|
32
|
-
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/baruchiro/paperless-mcp.git"
|
|
34
|
-
},
|
|
35
|
-
"homepage": "https://github.com/baruchiro/paperless-mcp",
|
|
36
|
-
"files": [
|
|
37
|
-
"build",
|
|
38
|
-
"README.md",
|
|
39
|
-
"LICENSE",
|
|
40
|
-
"paperless-mcp.dxt"
|
|
41
|
-
],
|
|
42
|
-
"bugs": {
|
|
43
|
-
"url": "https://github.com/baruchiro/paperless-mcp/issues"
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@modelcontextprotocol/sdk": "^1.11.1",
|
|
47
|
-
"axios": "^1.9.0",
|
|
48
|
-
"express": "^5.1.0",
|
|
49
|
-
"form-data": "^4.0.2",
|
|
50
|
-
"typescript": "^5.8.3",
|
|
51
|
-
"zod": "^3.24.1"
|
|
52
|
-
},
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"@anthropic-ai/dxt": "^0.2.6",
|
|
55
|
-
"@changesets/cli": "^2.29.4",
|
|
56
|
-
"@types/express": "^5.0.2",
|
|
57
|
-
"@types/node": "^24.0.0",
|
|
58
|
-
"ts-node": "^10.9.2"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|