{"report":{"v":1,"package":"mcp-web-print-pdf","version":"0.2.4","ranAt":"2026-11-16T11:57:33.810Z","install":{"ok":true,"integrity":"sha512-xnNP7/giSzIxhxTzlG470hnqr2JFK2lsnXMigM3RFgSb/m8F3i55WVDCiMhI6pxNXpSjsP3C0z3ef17f9EaM3Q==","deps":96,"scripts":[],"bins":["mcp-web-print-pdf"],"license":"MIT","engines":"node >=18","repository":"git+https://github.com/weixiaoyi/mcp-web-print-pdf.git","bin":"mcp-web-print-pdf"},"start":{"ok":true,"ms":164,"serverName":"mcp-web-print-pdf","serverVersion":"0.2.0","protocol":"2025-06-18","stderr":"[mcp-web-print-pdf] 已启动 → ws://127.0.0.1:16794/websocket/standard\n"},"tools":[{"name":"getConnectStatus","description":"检查本地「Web打印专家」客户端是否在线","params":[]},{"name":"getPrinterList","description":"列出本机可用的打印机（名称 + 驱动）","params":[]},{"name":"getPrinterPapers","description":"查询指定打印机支持的纸张列表，用于填 paper_format / print_options.paperFormat / print_options.bin","params":["printer_name","driver_name"]},{"name":"printHtml","description":"把 HTML 字符串渲染成 PDF 并打印。默认真正出纸；dry_run: true 才只渲染预览","params":["html","pdf_options","print_options","extra_options","paper_format","printer_name","copies","dry_run"]},{"name":"printHtmlByUrl","description":"抓取一个网页并渲染成 PDF 打印。默认出纸；dry_run: true 只预览；登录态可用 extra_options.cookies / httpHeaders / localStorages 处理","params":["url","pdf_options","print_options","extra_options","paper_format","printer_name","copies","dry_run"]},{"name":"printHtmlByBase64","description":"把 Base64 编码的 HTML 渲染成 PDF 打印。默认出纸；dry_run: true 只预览","params":["base64","pdf_options","print_options","extra_options","paper_format","printer_name","copies","dry_run"]},{"name":"printPdfByUrl","description":"下载一个 PDF 链接并打印。默认出纸；dry_run: true 只预览","params":["url","pdf_options","print_options","extra_options","paper_format","printer_name","copies","dry_run"]},{"name":"printPdfByBase64","description":"把 Base64 编码的 PDF 打印。默认出纸；dry_run: true 只预览","params":["base64","pdf_options","print_options","extra_options","paper_format","printer_name","copies","dry_run"]},{"name":"printImageByUrl","description":"下载一张图片并打印。默认出纸；dry_run: true 只预览","params":["url","pdf_options","print_options","extra_options","paper_format","printer_name","copies","dry_run"]},{"name":"printImageByBase64","description":"把 Base64 编码的图片打印。默认出纸；dry_run: true 只预览；缺 data:image/...;base64, 前缀时会自动补","params":["base64","pdf_options","print_options","extra_options","paper_format","printer_name","copies","dry_run"]},{"name":"printFile","description":"打印本机文件：按扩展名自动选择 PDF / HTML / 图片通道。默认出纸；dry_run: true 只预览","params":["path","pdf_options","print_options","extra_options","paper_format","printer_name","copies","dry_run"]},{"name":"batchPrint","description":"一次提交多个打印任务（HTML / 网页 / PDF / 图片，URL 或 Base64 混合）。默认出纸；dry_run: true 只预览","params":["tasks","pdf_options","print_options","extra_options","paper_format","printer_name","copies","dry_run"]},{"name":"setTitle","description":"设置客户端窗口标题；reset: true（或 title: null）= 恢复默认","params":["title","reset"]},{"name":"setThemeColor","description":"设置客户端主题色，如 rgb(229,182,80)；reset: true（或 theme_color: null）= 恢复默认","params":["theme_color","reset"]},{"name":"switchTabsVisibility","description":"切换客户端 5 个标签页的显隐；reset: true（或 tabs: null）= 全部恢复默认","params":["tabs","reset"]},{"name":"setContactUsTabInnerHtml","description":"设置客户端「联系我们」页面的 HTML；reset: true（或 html: null）= 恢复默认","params":["html","reset"]}],"toolsHash":"63f77987c86b0314e995f81308d94e1cf7e5e2002f59efd6f475d3771f45387d","wrote":[],"callsAt":"2026-11-16T11:57:40.239Z","calls":[{"tool":"getConnectStatus","ok":false,"ms":7,"bytes":0,"error":"tool reported an error: 失败：连不上「Web打印专家」客户端（ws://127.0.0.1:16794/websocket/standard）：connect ECONNREFUSED 127.0.0.1:16794。请确认客户端已启动。"},{"tool":"getPrinterList","ok":false,"ms":1,"bytes":0,"error":"tool reported an error: 失败：连不上「Web打印专家」客户端（ws://127.0.0.1:16794/websocket/standard）：connect ECONNREFUSED 127.0.0.1:16794。请确认客户端已启动。"}],"host":{"commit":"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c","run":"https://github.com/itsHaddad/bragproof/actions/runs/43857070216"},"network":{"names":["registry.npmjs.org"],"conns":[],"callNames":[],"callConns":[]}},"summary":{"outcome":"started","needs":[],"contacts":[],"flags":[],"tools":16,"wrote":0,"callsTried":2,"callsAnswered":0,"callContacts":[]},"history":[{"package":"mcp-web-print-pdf","version":"0.2.4","ranAt":"2026-11-16T11:57:33.810Z","outcome":"started","tools":16,"contacts":0,"flags":0,"serious":0,"toolsHash":"63f77987c86b0314e995f81308d94e1cf7e5e2002f59efd6f475d3771f45387d"}],"page":"https://bragproof.smaverk.com/r/mcp-web-print-pdf"}