Automatically send scanservjs scanned document to paperless-ngx
Usage of /usr/bin/scantopl:
-config string
path to config file
-pltoken string
Paperless auth token , generated through admin (default "xxxxxxxxxxxxxxxxxx")
-plurl string
The paperless instance URL without trailing / (default "http://localhost:8080")
-prefix string
The file prefix to look for. Use an empty string for all files. (default "pl_")
-scandir string
Scanserjs ouput directory (default "/home/scanservjs/output")
or you can use envvar : SCANDIR, PLTOKEN, PLURL, PREFIX
provide the paperless-ngx url , the paperless-ngx token and the scanservjs output dir ( or bind to /output in docker)
pl_, e.g., test_scan.pdf -> pl_test_scan.pdf), or run scantopl with -prefix "" to upload all new files regardless of prefix.Have a working go env then
go install github.com/Celedhrim/scantopl@v1.0.3
$ docker run --rm \
-v /your/host/scanservjs/output:/output \
-e PLURL=https://paperless.yourdomain.instance \
-e PLTOKEN=XXXXXXXXXXXX \
ghcr.io/celedhrim/scantopl:v1.0.3
$ claude mcp add scantopl \
-- python -m otcore.mcp_server <graph>