Paperless-ngx integration
Paperless-ngx is a self-hosted document management system: it consumes scanned files and e-mail attachments, runs OCR on them, and keeps them searchable and organised. This integration covers its REST API: upload a file for consumption, follow the resulting background task, then list, filter and full-text search documents, read one with its OCR content and technical metadata, download its archived PDF, its original file or its thumbnail, update its title, dates, correspondent, document type, storage path, tags and custom fields, add and remove notes, and read its change history. Bulk calls edit, reprocess, rotate, merge, split, trash, email or ZIP-download many documents at once, and the trash calls restore them or empty it. It also manages the taxonomy (correspondents, document types, tags, storage paths, custom fields and saved views), public share links and share-link bundles, IMAP mail accounts and the rules that turn their messages into documents, workflows with their triggers and actions, users, groups and permissions, the instance configuration, background tasks, server logs and instance statistics, and it can ask either the trained classifier or a configured AI provider to suggest how a document should be filed. The host is part of the credential because Paperless-ngx is self-hosted: enter the hostname of your own instance. Authentication is the API token shown in the Paperless-ngx interface under My Profile, sent in the Authorization header with the Token prefix.
Say what should happen.
The workflow builds itself.
What you can do with Paperless-ngx
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Document, 23 operations
bulk_download_documentsBulk download documentsPOSTAgents: ask firstDownload several documents at once as a ZIP archive.bulk_edit_documentsBulk edit documentsPOSTAgents: ask firstApply one bulk operation to a list of documents.delete_documentDelete documentDELETEAgents: ask firstDelete a document.delete_document_versionDelete document versionDELETEAgents: ask firstDelete one stored version of a document.download_documentDownload documentGETAgents: ask firstDownload a document's file.download_document_previewDownload document previewGETAgents: ask firstDownload the previewable version of a document's file.download_document_thumbnailDownload document thumbnailGETAgents: ask firstDownload a document's thumbnail image.edit_document_pdfEdit document pdfPOSTAgents: ask firstRun PDF page operations on one document: reorder, delete, rotate or split its pages.email_documentEmail documentPOSTAgents: ask firstEmail one document as an attachment.email_documentsEmail documentsPOSTAgents: ask firstEmail several documents as attachments to one or more recipients.get_documentGet documentGETAgents: ask firstGet one document by id.get_document_ai_suggestionsGet document ai suggestionsGETAgents: ask firstAsk the configured AI provider to suggest a title, tags, correspondent, document type and dates for a document.get_document_metadataGet document metadataGETAgents: ask firstGet the technical metadata of a document's stored files.get_document_selection_dataGet document selection dataPOSTAgents: ask firstCount how the documents in a selection break down by correspondent, tag, document type and storage path.get_document_suggestionsGet document suggestionsGETAgents: ask firstGet the classifier's suggested correspondent, tags, document type and storage path for a document.get_document_version_rootGet document version rootGETAgents: ask firstGet the first document of the version chain a document belongs to.get_next_archive_serial_numberGet next archive serial numberGETAgents: ask firstGet the next free archive serial number (ASN).list_document_historyList document historyGETAgents: ask firstList the recorded changes made to a document.list_documentsList documentsGETAgents: ask firstList documents.list_trashed_documentsList trashed documentsGETAgents: ask firstList the documents currently in the trash.merge_documentsMerge documentsPOSTAgents: ask firstMerge several documents into one new document.remove_document_passwordRemove document passwordPOSTAgents: ask firstRemove the password protection from an encrypted PDF document.replace_documentReplace documentPUTAgents: ask firstReplace a document with a complete new representation.
Mail account, 6 operations
create_mail_accountCreate mail accountPOSTAgents: ask firstCreate a new mail account.delete_mail_accountDelete mail accountDELETEAgents: ask firstDelete a mail account.get_mail_accountGet mail accountGETAgents: ask firstGet one mail account by id.list_mail_accountsList mail accountsGETAgents: ask firstList mail accounts.process_mail_accountProcess mail accountPOSTAgents: ask firstPoll a mail account now instead of waiting for the next scheduled run.replace_mail_accountReplace mail accountPUTAgents: ask firstReplace a mail account with a complete new representation.
Share link bundle, 6 operations
create_share_link_bundleCreate share link bundlePOSTAgents: ask firstCreate a new share link bundle.delete_share_link_bundleDelete share link bundleDELETEAgents: ask firstDelete a share link bundle.get_share_link_bundleGet share link bundleGETAgents: ask firstGet one share link bundle by id.list_share_link_bundlesList share link bundlesGETAgents: ask firstList share link bundles.rebuild_share_link_bundleRebuild share link bundlePOSTAgents: ask firstRebuild the archive a share link bundle serves.replace_share_link_bundleReplace share link bundlePUTAgents: ask firstReplace a share link bundle with a complete new representation.
Task, 6 operations
acknowledge_tasksAcknowledge tasksPOSTAgents: ask firstAcknowledge background tasks so they stop being reported as needing attention.get_taskGet taskGETAgents: ask firstGet one background task by id.get_task_status_countsGet task status countsGETAgents: ask firstCount background tasks by status.list_active_tasksList active tasksGETAgents: ask firstList the background tasks currently running or queued.list_tasksList tasksGETAgents: ask firstList background tasks.list_task_summariesList task summariesGETAgents: ask firstList background tasks in a condensed form.
Correspondent, 5 operations
create_correspondentCreate correspondentPOSTAgents: ask firstCreate a new correspondent.delete_correspondentDelete correspondentDELETEAgents: ask firstDelete a correspondent.get_correspondentGet correspondentGETAgents: ask firstGet one correspondent by id.list_correspondentsList correspondentsGETAgents: ask firstList correspondents.replace_correspondentReplace correspondentPUTAgents: ask firstReplace a correspondent with a complete new representation.
Custom field, 5 operations
create_custom_fieldCreate custom fieldPOSTAgents: ask firstCreate a new custom field.delete_custom_fieldDelete custom fieldDELETEAgents: ask firstDelete a custom field.get_custom_fieldGet custom fieldGETAgents: ask firstGet one custom field by id.list_custom_fieldsList custom fieldsGETAgents: ask firstList custom fields.replace_custom_fieldReplace custom fieldPUTAgents: ask firstReplace a custom field with a complete new representation.
Document type, 5 operations
create_document_typeCreate document typePOSTAgents: ask firstCreate a new document type.delete_document_typeDelete document typeDELETEAgents: ask firstDelete a document type.get_document_typeGet document typeGETAgents: ask firstGet one document type by id.list_document_typesList document typesGETAgents: ask firstList document types.replace_document_typeReplace document typePUTAgents: ask firstReplace a document type with a complete new representation.
Group, 5 operations
create_groupCreate groupPOSTAgents: ask firstCreate a new group.delete_groupDelete groupDELETEAgents: ask firstDelete a group.get_groupGet groupGETAgents: ask firstGet one group by id.list_groupsList groupsGETAgents: ask firstList groups.replace_groupReplace groupPUTAgents: ask firstReplace a group with a complete new representation.
Mail rule, 5 operations
create_mail_ruleCreate mail rulePOSTAgents: ask firstCreate a new mail rule.delete_mail_ruleDelete mail ruleDELETEAgents: ask firstDelete a mail rule.get_mail_ruleGet mail ruleGETAgents: ask firstGet one mail rule by id.list_mail_rulesList mail rulesGETAgents: ask firstList mail rules.replace_mail_ruleReplace mail rulePUTAgents: ask firstReplace a mail rule with a complete new representation.
Saved view, 5 operations
create_saved_viewCreate saved viewPOSTAgents: ask firstCreate a new saved view.delete_saved_viewDelete saved viewDELETEAgents: ask firstDelete a saved view.get_saved_viewGet saved viewGETAgents: ask firstGet one saved view by id.list_saved_viewsList saved viewsGETAgents: ask firstList saved views.replace_saved_viewReplace saved viewPUTAgents: ask firstReplace a saved view with a complete new representation.
Share link, 5 operations
create_share_linkCreate share linkPOSTAgents: ask firstCreate a new share link.delete_share_linkDelete share linkDELETEAgents: ask firstDelete a share link.get_share_linkGet share linkGETAgents: ask firstGet one share link by id.list_document_share_linksList document share linksGETAgents: ask firstList the public share links that point at a document.list_share_linksList share linksGETAgents: ask firstList share links.
User, 5 operations
create_userCreate userPOSTAgents: ask firstCreate a new user.deactivate_user_totpDeactivate user totpPOSTAgents: ask firstTurn off two-factor authentication for a user.delete_userDelete userDELETEAgents: ask firstDelete a user.get_userGet userGETAgents: ask firstGet one user by id.list_usersList usersGETAgents: ask firstList users.
App config, 4 operations
delete_app_configDelete app configDELETEAgents: ask firstDelete a application configuration.get_app_configGet app configGETAgents: ask firstGet one application configuration by id.list_app_configsList app configsGETAgents: ask firstList the application configuration objects.replace_app_configReplace app configPUTAgents: ask firstReplace a application configuration with a complete new representation.
Storage path, 4 operations
create_storage_pathCreate storage pathPOSTAgents: ask firstCreate a new storage path.delete_storage_pathDelete storage pathDELETEAgents: ask firstDelete a storage path.get_storage_pathGet storage pathGETAgents: ask firstGet one storage path by id.list_storage_pathsList storage pathsGETAgents: ask firstList storage paths.
Tag, 4 operations
create_tagCreate tagPOSTAgents: ask firstCreate a new tag.delete_tagDelete tagDELETEAgents: ask firstDelete a tag.get_tagGet tagGETAgents: ask firstGet one tag by id.list_tagsList tagsGETAgents: ask firstList tags.
Workflow, 4 operations
create_workflowCreate workflowPOSTAgents: ask firstCreate a new workflow.delete_workflowDelete workflowDELETEAgents: ask firstDelete a workflow.get_workflowGet workflowGETAgents: ask firstGet one workflow by id.list_workflowsList workflowsGETAgents: ask firstList workflows.
Workflow action, 4 operations
create_workflow_actionCreate workflow actionPOSTAgents: ask firstCreate a new workflow action.delete_workflow_actionDelete workflow actionDELETEAgents: ask firstDelete a workflow action.get_workflow_actionGet workflow actionGETAgents: ask firstGet one workflow action by id.list_workflow_actionsList workflow actionsGETAgents: ask firstList workflow actions.
Workflow trigger, 4 operations
create_workflow_triggerCreate workflow triggerPOSTAgents: ask firstCreate a new workflow trigger.delete_workflow_triggerDelete workflow triggerDELETEAgents: ask firstDelete a workflow trigger.get_workflow_triggerGet workflow triggerGETAgents: ask firstGet one workflow trigger by id.list_workflow_triggersList workflow triggersGETAgents: ask firstList workflow triggers.
Note, 3 operations
create_document_noteCreate document notePOSTAgents: ask firstAdd a note to a document.delete_document_noteDelete document noteDELETEAgents: ask firstDelete one note from a document.list_document_notesList document notesGETAgents: ask firstList the notes attached to a document.
Processed mail, 3 operations
bulk_delete_processed_mailBulk delete processed mailPOSTAgents: ask firstForget several processed-mail records at once.get_processed_mailGet processed mailGETAgents: ask firstGet one processed-mail record by id.list_processed_mailList processed mailGETAgents: ask firstList the mail messages already consumed by mail rules.
Log, 2 operations
get_log_fileGet log fileGETAgents: ask firstRead the contents of one server log file.list_log_filesList log filesGETAgents: ask firstList the server log files that can be read.
Object, 1 operation
bulk_edit_objectsBulk edit objectsPOSTAgents: ask firstApply one bulk operation to a list of tags, correspondents, document types or storage paths.
Profile, 1 operation
get_own_profileGet own profileGETAgents: ask firstGet the profile of the authenticated user.
Search, 1 operation
autocomplete_search_termsAutocomplete search termsGETAgents: ask firstSuggest completions for a partially typed search term.
Statistic, 1 operation
get_statisticsGet statisticsGETAgents: ask firstGet instance-wide document counts and totals.
Status, 1 operation
get_system_statusGet system statusGETAgents: ask firstGet the health of the instance and its components.
Ui setting, 1 operation
get_ui_settingsGet ui settingsGETAgents: ask firstGet the interface settings and permissions of the authenticated user.
Version, 1 operation
get_latest_available_versionGet latest available versionGETAgents: ask firstCheck whether a newer Paperless-ngx release is available.
Showing the first 120 of 155 endpoints. The rest are in the product, searchable from the workflow builder and from chat.
Use Paperless-ngx from Claude Code, Cursor or Codex
Connect Paperless-ngx in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Paperless-ngx operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Paperless-ngx
- Create your workspace
Sign up free. Nothing to install.
- Connect Paperless-ngx once
Add your Paperless-ngx connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Paperless-ngx integration FAQ
What can you do with the Paperless-ngx integration?
LiveContext exposes 155 operations on Paperless-ngx, covering document, mail account, share link bundle and task.
