UNPKG

@baruchiro/paperless-mcp

Version:

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.

13 lines (12 loc) 385 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.buildQueryString = buildQueryString; function buildQueryString(args) { const query = new URLSearchParams(); for (const key in args) { if (args[key] !== undefined && args[key] !== null) { query.set(key, args[key].toString()); } } return query.toString(); }