{"_id":"@agent2pdf/mcp-server","_rev":"12-dbb8314a709279fa807c047db74984dc","name":"@agent2pdf/mcp-server","dist-tags":{"latest":"1.6.0"},"versions":{"1.0.0":{"name":"@agent2pdf/mcp-server","version":"1.0.0","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.0.0","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"6d9f2013257b7abd9cd312de4b2ed795ce30ba6d","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.0.0.tgz","fileCount":4,"integrity":"sha512-n3CLtDNhcKMTghT0eYpXC4YXqBeFdPH1MWq1Z12g1/xnL2rIDnVV0hdfwT9WT2BTAoVe1VB60MNiDvCnEYyB2w==","signatures":[{"sig":"MEQCIAZqg4xFiHogYQzCz3hfDoGastWe9aw9ZmKVoD9pSHqIAiA/MyWH/BIee0d0d4ADN0SOQp1Hbt33Ue+sxSopPeLOHA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":466093},"type":"module","engines":{"node":">=18"},"gitHead":"9f42745fd518619125b04218e008f7a99f36754a","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.0_1770217092094_0.8030226498790218","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agent2pdf/mcp-server","version":"1.0.1","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.0.1","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"0a3686c46c9a28d2d51f248b22bc65c521d599ca","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.0.1.tgz","fileCount":4,"integrity":"sha512-fV5nv6zYTWqs3zR4Fsab+bNGhKzOHUooUgXJN/7xs4yeqE9UljgxfKXvzcJFClSmpmZOL0XMk/hl9PfHdQUe9g==","signatures":[{"sig":"MEUCIQD14eDEcnZU8ujr2SJp7We0LMnmefvAD101RMavFcUKsgIgKrXlWk0tmXJG5P/TNtZ9sVa/bBDAVKCBkqOISAY0js4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9841},"type":"module","engines":{"node":">=18"},"gitHead":"9f42745fd518619125b04218e008f7a99f36754a","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.1_1770218045981_0.6604498229195741","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@agent2pdf/mcp-server","version":"1.0.2","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.0.2","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"29d33d97ccf30da659eef50040be86729f00b172","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.0.2.tgz","fileCount":4,"integrity":"sha512-i4cvJgOM6s4eMJrF4FzyjSAt2OKpt1UoGZ6MIy9KB4xCwJ5g8Pg75N8AsB+5qbiSTDiDwhCP3sJgWZ4vGL5zBA==","signatures":[{"sig":"MEUCIHB5x8UWyyA2Ty/jHZfu0ylBpFzq61YtbBbtFZ6R1oJgAiEAlx8wmW4G3l89OtiHirshGfVz1ZBPs7vzjTeB2NMd7aU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10337},"type":"module","engines":{"node":">=18"},"gitHead":"9f42745fd518619125b04218e008f7a99f36754a","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.0.2_1770218125222_0.1996925193261967","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@agent2pdf/mcp-server","version":"1.1.0","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.1.0","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"42c23a822217f5bc7808022f7f8ecf08e79f89b9","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.1.0.tgz","fileCount":4,"integrity":"sha512-s9Y9vmDvct/jDtBJcq3vh9LFY1eZT3cwkvLVTAQj8wPcFYNZ9Vlgr2UXblqAsA6ZBWJ0kHLAiq+YtnrQE/PGJQ==","signatures":[{"sig":"MEYCIQDEPoaqj2KTOHJTBMwFBwazMB5P+yYGRt99KT9L37olEgIhALD2qGsIv7WWdGxmi7TfKmC/MX5QsLElmrwEJ6LREBke","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17818},"type":"module","engines":{"node":">=18"},"gitHead":"eb223c0cea03f47f54d2e6dea235720a91316332","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.1.0_1770475252921_0.08803746142540803","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@agent2pdf/mcp-server","version":"1.1.1","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.1.1","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"b65fd5c61c6b7b9a4eecdf886702a6c376c230f9","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.1.1.tgz","fileCount":4,"integrity":"sha512-i/Wif98RuQS/1F+6JV4gkHe+jcov3qT/JlRTpAffESrlRYtMA+Gqjc9WMSpzxNBQE125UlG9u22Sx1W0izKQdA==","signatures":[{"sig":"MEUCID2DN65CEFayAXAOaoS9hSufzLQ0FXJEhJY+xjmuH5iqAiEAhQl4bclPBtSWE5ZM7fLFdHfHuDm9pl4AxUSscHwWIvk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18099},"type":"module","engines":{"node":">=18"},"gitHead":"eb223c0cea03f47f54d2e6dea235720a91316332","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","test:full":"./scripts/full-e2e-test.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.1.1_1770475610097_0.08813619710588605","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@agent2pdf/mcp-server","version":"1.1.2","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.1.2","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"6b09229b92981579f666b18b495259b3b5e05c8b","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.1.2.tgz","fileCount":4,"integrity":"sha512-xIfPKvMAh24UsWZA6gZa5tHDQ0ZVEHcX3LnO3keUT04bQINsi99J3XuZFB8xU8odFaHBswsjyWD0iJjYbjTNCQ==","signatures":[{"sig":"MEQCICVTQYkgp1emNG4GvB8amWL3b+SltrM6l5vY2tj5m4SDAiAanhu1+7iusGCzAjJ3JqcXIUDURsyI6w+ALPXpTmA3Ew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19940},"type":"module","engines":{"node":">=18"},"gitHead":"ff4811d90fa5b8419dd2fafd8eaa1393d03621b5","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","test:full":"./scripts/full-e2e-test.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.1.2_1770820093655_0.28853648973822765","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@agent2pdf/mcp-server","version":"1.2.0","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.2.0","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"2e6c0337547aa3c3a17e85759edbfc161171da66","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.2.0.tgz","fileCount":4,"integrity":"sha512-lbUUDOmC6BmSBQPhnT9mEdAL2Sei9zZCswYJSvy6p/bIEqVa4dPuGl1iQBLIviNtwVSHYCnaWnx8TA5RbAmcow==","signatures":[{"sig":"MEUCIQC47tyPml1hneiL2cLz3e/TIO/EpsILoSsZoCWfgjIfwgIgY45IiYQ722u+WElJzY514bZlruXz9wpSsNNAzYTwFu8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20477},"type":"module","engines":{"node":">=18"},"gitHead":"06e80c32f5df27edfa6cb60e15f6f7f121534bf0","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","test:full":"./scripts/full-e2e-test.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.2.0_1772954939956_0.05299517782708629","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@agent2pdf/mcp-server","version":"1.3.0","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.3.0","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"26574db412514729df8e87d80d4f2beb83c27dc6","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.3.0.tgz","fileCount":4,"integrity":"sha512-v66+36CZGcJ5vVmsK4sNJHRmUvc2UqONmxK3pFy/Kw9m3Ph/E+OrMREAbVPpcPX+W+zWY4+wbsSAlL8YmoDgdA==","signatures":[{"sig":"MEUCIQDOFFS0k5VRkKj1tQDPOyQKKFNuKOajyKcFQS2s3CPUVAIgHOekTgXnLxz8476tYAbmjoLDSVU159FLHu1OKv1/9i0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22979},"type":"module","engines":{"node":">=18"},"gitHead":"7e85bcb764387c5316d96258ed140603575bdbbc","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","test:full":"./scripts/full-e2e-test.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.3.0_1772964377014_0.2385373175357588","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@agent2pdf/mcp-server","version":"1.4.0","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.4.0","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"cd99bb6876e749c14d3fb049f5183673e4c4e2dc","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.4.0.tgz","fileCount":4,"integrity":"sha512-altTZV9tKDzGVt6rathF0m9NrO34GhFNXcundHJTypmIwvzCGUTShAUWid/WEoHCCM6a4ipJP28BKx4k8twSVQ==","signatures":[{"sig":"MEUCIDGDBVGJrmBdV+DFeTZSLmqI2aq0EE6GWHtZ2Xsj1A6OAiEA/uipHmB9S5dJ+B9vXpSLzkVbiv9smR+poSPtoSUlSX0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24395},"type":"module","engines":{"node":">=18"},"gitHead":"7e85bcb764387c5316d96258ed140603575bdbbc","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","test:full":"./scripts/full-e2e-test.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.4.0_1772965870684_0.9783686123532713","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@agent2pdf/mcp-server","version":"1.4.1","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.4.1","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"a765402e2c14833486680b5aaec6f89a6a1d96bf","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.4.1.tgz","fileCount":4,"integrity":"sha512-vHvb7HEV7XcZTyjhqZZB8fDZDXG8qit/R2jEXXAbNRk84KM3ErakgqyX4D6+sViyoUynWczIpMcalUJN4NH0kw==","signatures":[{"sig":"MEQCIH4qBJp2DLFn/IyeW8jAZwAtC0AieR5zqMSnKDRuyHguAiBrVAZsYqhSTPay4nuCQq+uDQ4C+wbFB09ZSWvLlULJ8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24826},"type":"module","engines":{"node":">=18"},"gitHead":"e30c8aadec7b68cf6e0e16f68344c6af38dfa12f","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","test:full":"./scripts/full-e2e-test.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.4.1_1772966921751_0.8321607113723457","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@agent2pdf/mcp-server","version":"1.5.0","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","_id":"@agent2pdf/mcp-server@1.5.0","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"homepage":"https://github.com/AustinChou/agent2pdf#readme","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"bin":{"agent2pdf-mcp":"dist/index.js"},"dist":{"shasum":"0833a40948a61f4c2dbcae4ea0cd14381fa51c2c","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.5.0.tgz","fileCount":4,"integrity":"sha512-HzCxy2jmJBZaQ5+OoSaFMi8mTqSUDnntkIzgddxIdmDZxnc3J0QiDehLXziwNtYEhhu5wKMgfg7ygq7LSOV1sg==","signatures":[{"sig":"MEUCIQDX+iuAMyXwCbWd4rtVzx/iO+UocyQdqALN7f5kCZkn6AIgLCKuVpIom6ay8/cuJGlTHhZUdTPCc4hzWs4BA8bcpL8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26113},"type":"module","engines":{"node":">=18"},"gitHead":"090c56e29ee32cf85d2bfbafbb67a570995f447f","scripts":{"dev":"tsup --watch","test":"node test-mcp-server.js","build":"tsup","test:full":"./scripts/full-e2e-test.sh","prepublishOnly":"npm run build"},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"repository":{"url":"git+https://github.com/AustinChou/agent2pdf.git","type":"git","directory":"packages/mcp-server"},"_npmVersion":"11.4.2","description":"Official MCP Server for Agent2PDF with auto-polling support","directories":{},"_nodeVersion":"24.4.1","dependencies":{"axios":"^1.6.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server_1.5.0_1772967366912_0.8568108861364707","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@agent2pdf/mcp-server","version":"1.6.0","description":"Official MCP Server for Agent2PDF with auto-polling support","type":"module","bin":{"agent2pdf-mcp":"dist/index.js"},"engines":{"node":">=18"},"scripts":{"build":"tsup","dev":"tsup --watch","test":"node test-mcp-server.js","prepublishOnly":"npm run build","test:full":"./scripts/full-e2e-test.sh"},"keywords":["mcp","agent2pdf","pdf","ai","markdown"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AustinChou/agent2pdf.git","directory":"packages/mcp-server"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","axios":"^1.6.0"},"devDependencies":{"@types/node":"^20.0.0","tsup":"^8.0.0","typescript":"^5.3.0"},"_id":"@agent2pdf/mcp-server@1.6.0","gitHead":"dd59abca906cbfa632cac21acd90e858aeab372b","bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"homepage":"https://github.com/AustinChou/agent2pdf#readme","_nodeVersion":"24.4.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-tAD35Zmzbn7JMk3GZQVRNoDhmS9LoAcbSt8bVZ65StzCOgOIw9wZE8PCcBMHW3/xZXP3jwf+VboYo/NQg2CVUg==","shasum":"02cc0cf4a7a6cb57ab370923abfc35afebdaf2c6","tarball":"https://registry.npmjs.org/@agent2pdf/mcp-server/-/mcp-server-1.6.0.tgz","fileCount":4,"unpackedSize":29768,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGBcQmAPC2XhtRPOA5ywJr1qTzbPoGexf+n2BN/qWTzsAiEA2V8z7mGk8YfdjQAx36rlvpZ09t0fbLNroh/ob4xOv0U="}]},"_npmUser":{"name":"vincentno1","email":"vincentno1@gmail.com"},"directories":{},"maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server_1.6.0_1772977750294_0.7687081146287902"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-04T14:58:11.735Z","modified":"2026-03-08T13:49:10.585Z","1.0.0":"2026-02-04T14:58:12.320Z","1.0.1":"2026-02-04T15:14:06.131Z","1.0.2":"2026-02-04T15:15:25.370Z","1.1.0":"2026-02-07T14:40:53.058Z","1.1.1":"2026-02-07T14:46:50.239Z","1.1.2":"2026-02-11T14:28:13.793Z","1.2.0":"2026-03-08T07:29:00.089Z","1.3.0":"2026-03-08T10:06:17.175Z","1.4.0":"2026-03-08T10:31:10.829Z","1.4.1":"2026-03-08T10:48:41.900Z","1.5.0":"2026-03-08T10:56:07.045Z","1.6.0":"2026-03-08T13:49:10.439Z"},"bugs":{"url":"https://github.com/AustinChou/agent2pdf/issues"},"license":"MIT","homepage":"https://github.com/AustinChou/agent2pdf#readme","keywords":["mcp","agent2pdf","pdf","ai","markdown"],"repository":{"type":"git","url":"git+https://github.com/AustinChou/agent2pdf.git","directory":"packages/mcp-server"},"description":"Official MCP Server for Agent2PDF with auto-polling support","maintainers":[{"name":"vincentno1","email":"vincentno1@gmail.com"}],"readme":"# @agent2pdf/mcp-server\n\nOfficial MCP (Model Context Protocol) stdio Server for Agent2PDF with auto-polling support.\n\nThis MCP Server acts as a bridge between MCP clients (like Claude Desktop, Cursor) and the Agent2PDF async job API. It automatically handles job creation, polling, and returns a direct download URL when the PDF is ready, providing a \"pseudo-synchronous\" experience.\n\n> **Note:** Agent2PDF also provides an HTTP MCP endpoint (`POST https://api.agent2pdf.com/api/v1/mcp`) for agents that cannot run a local Node process. The HTTP endpoint returns `job_id` only — agents must poll manually. **This stdio server is recommended** for the best experience.\n\n## Features\n\n- 🚀 **Auto-polling**: `generate_pdf` automatically polls job status and returns `download_url` directly\n- 📦 **Zero-config**: Works out of the box with `npx`\n- 🔄 **Seven tools**: `generate_pdf`, `list_available_templates`, `get_job_status`, `get_branding`, `upload_logo`, `remove_logo`, `submit_feedback`\n- ⚡ **Fast**: Typical wait time: 5-30 seconds\n- 🔀 **Pseudo-synchronous**: No manual polling needed — just call `generate_pdf` and get the download URL\n\n## Installation\n\n### Using npx (Recommended)\n\nNo installation needed! Use directly with `npx`:\n\n```bash\nnpx @agent2pdf/mcp-server\n```\n\n### Local Installation\n\n```bash\nnpm install -g @agent2pdf/mcp-server\n```\n\n### Check version\n\nFrom a directory **outside** the repo (e.g. `/tmp`), you can confirm the installed version:\n\n```bash\nnpx @agent2pdf/mcp-server --version\n```\n\n## Configuration\n\n**Note:** The server connects to the **production** API (`https://api.agent2pdf.com/api/v1`) by default. To use the dev environment, set the `AGENT2PDF_API_BASE` environment variable.\n\n### Claude Desktop\n\nAdd to your Claude Desktop config file (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):\n\n```json\n{\n  \"mcpServers\": {\n    \"agent2pdf\": {\n      \"command\": \"npx\",\n      \"args\": [\"@agent2pdf/mcp-server\"],\n      \"env\": {\n        \"AGENT2PDF_API_KEY\": \"your-api-key-here\"\n      }\n    }\n  }\n}\n```\n\n**For dev environment:**\n```json\n{\n  \"mcpServers\": {\n    \"agent2pdf\": {\n      \"command\": \"npx\",\n      \"args\": [\"@agent2pdf/mcp-server\"],\n      \"env\": {\n        \"AGENT2PDF_API_KEY\": \"your-dev-api-key\",\n        \"AGENT2PDF_API_BASE\": \"https://agent2pdf-api-ue3hnvqp6q-de.a.run.app/api/v1\"\n      }\n    }\n  }\n}\n```\n\nOr if installed globally:\n\n```json\n{\n  \"mcpServers\": {\n    \"agent2pdf\": {\n      \"command\": \"agent2pdf-mcp\",\n      \"env\": {\n        \"AGENT2PDF_API_KEY\": \"your-api-key-here\"\n      }\n    }\n  }\n}\n```\n\n### Cursor\n\nAdd to your Cursor settings (`.cursor/mcp.json` or similar):\n\n```json\n{\n  \"mcpServers\": {\n    \"agent2pdf\": {\n      \"command\": \"npx\",\n      \"args\": [\"@agent2pdf/mcp-server\"],\n      \"env\": {\n        \"AGENT2PDF_API_KEY\": \"your-api-key-here\"\n      }\n    }\n  }\n}\n```\n\n## Getting Your API Key\n\n1. Sign in to [Agent2PDF Dashboard](https://agent2pdf.com)\n2. Go to **Settings → API Keys**\n3. Create a new API key\n4. Copy the key and add it to your MCP configuration\n\n## Available Tools\n\n### `generate_pdf`\n\nGenerate a PDF from Markdown content. This tool **automatically handles the async job process** (creates job → polls every 3s → returns download URL when ready). Typical wait: 5–30 seconds.\n\n**Arguments:**\n- `markdown` (required): The document body in Markdown format\n- `template_type` (optional): Template type (`general`, `tech_spec`, `invoice`, `report`, `resume`, `letter`, `meeting`). Defaults to `general`\n- `title` (optional): Document title. Defaults to \"Untitled\"\n- `author` (optional): Author or company name\n- `template_id` (optional): Custom template ID if using a saved template\n- `use_logo` (optional): Whether to include the company logo in the PDF. Defaults to user settings (true if a logo is uploaded)\n- `heading_numbering` (optional): Heading numbering style. `none` (default), `1.1` (hierarchical, recommended for tech_spec), `1.` (flat, recommended for report), `1.1.1` (deep hierarchical). Manually numbered headings are auto-stripped.\n\n**Example:**\n```\nGenerate a PDF with markdown \"# Hello\\n\\nWorld\", title \"Test Document\", template_type \"general\"\n```\n\n### `list_available_templates`\n\nGet a list of available built-in PDF templates with descriptions and recommended use cases.\n\n**Arguments:** None\n\n**Example:**\n```\nList available templates\n```\n\n### `get_job_status`\n\nCheck the status of an async PDF job. Useful for manual polling.\n\n**Arguments:**\n- `job_id` (required): The job ID returned by `generate_pdf` or `POST /api/v1/jobs`\n\n**Example:**\n```\nCheck job status for job_id \"abc123\"\n```\n\n### `get_branding`\n\nGet current branding settings: company name, logo status, colors, font, and watermark. Use this to check whether a logo is already uploaded before generating a PDF.\n\n**Arguments:** None\n\n**Example:**\n```\nShow my current branding settings\n```\n\n### `upload_logo`\n\nUpload or replace the company logo used in PDF headers and cover pages. Provide either a public image URL or a base64-encoded image. PNG/JPG/SVG/WebP, max 2 MB. Min 128×128px, max 2048×2048px. Max aspect ratio 5:1. Recommended: horizontal logo ~600×200px, transparent PNG. The logo will appear on all future PDFs when `use_logo` is enabled (default).\n\n**Arguments:**\n- `logo_url` (optional): Public URL of the logo image to download and store\n- `logo_base64` (optional): Base64-encoded image, optionally as a data URI (e.g. `data:image/png;base64,...`)\n\nProvide exactly one of `logo_url` or `logo_base64`.\n\n**Example:**\n```\nUpload my company logo from URL \"https://example.com/logo.png\"\n```\n\n### `remove_logo`\n\nRemove the current company logo. PDFs generated after this will show the company name instead of a logo.\n\n**Arguments:** None\n\n**Example:**\n```\nRemove the current logo\n```\n\n### `submit_feedback`\n\nSubmit feedback about Agent2PDF service. **Best practice: call this after every PDF generation session** to report quality, suggest improvements, or flag issues. Even a short note helps.\n\n**Arguments:**\n- `title` (required): Brief summary of your feedback\n- `category` (optional): `bug`, `feature_request`, `template_request`, `usability`, `general` (default)\n- `rating` (optional): 1–5 satisfaction rating\n- `body` (optional): Detailed description\n- `job_id` (optional): Related job ID if applicable\n- `template_type` (optional): Related template type if applicable\n\n**Example:**\n```\nSubmit feedback: title \"Great PDF quality\", category \"general\", rating 5, body \"The tech_spec template works perfectly for API docs.\"\n```\n\n## How It Works\n\n1. **Job Creation**: When `generate_pdf` is called, the server creates an async job via `POST /api/v1/jobs`\n2. **Auto-polling**: The server polls `GET /api/v1/jobs/{job_id}` every 3 seconds\n3. **Completion**: When the job status is `completed`, it returns the download URL\n4. **Error Handling**: If the job fails or times out (~2 min), it returns an error message\n5. **Branding**: `get_branding`, `upload_logo`, and `remove_logo` manage branding via `GET/POST/DELETE /api/v1/settings/logo`\n\n## stdio Server vs HTTP Endpoint\n\n| Aspect | This stdio Server | HTTP Endpoint (`/api/v1/mcp`) |\n|--------|-------------------|-------------------------------|\n| `generate_pdf` returns | `download_url` directly | `job_id` only (manual polling needed) |\n| Polling | Automatic (internal) | Agent calls `get_job_status` in a loop |\n| Requires local Node | Yes (npx or global install) | No |\n| MCP protocol | Full (@modelcontextprotocol/sdk) | Simplified (tools/list + tools/call only) |\n| Best for | Claude Desktop, Cursor, local agents | Cloud agents, serverless environments |\n\nFor the HTTP endpoint, see: https://agent2pdf.com/docs/api.md\n\n## Development\n\n### Prerequisites\n\n- Node.js >= 18\n- pnpm (recommended) or npm\n\n### Setup\n\n```bash\n# Install dependencies\npnpm install\n\n# Build\npnpm build\n\n# Development mode (watch)\npnpm dev\n```\n\n### Local Testing\n\n#### 自動化測試腳本\n\n使用內建的測試腳本快速驗證所有功能：\n\n```bash\n# 設定 API Key\nexport AGENT2PDF_API_KEY=\"your-api-key\"\n\n# 執行測試\nnpm test\n\n# 或直接執行\nnode test-mcp-server.js\n```\n\n測試腳本會自動測試：\n- ✅ 環境變數檢查\n- ✅ 列出可用模板\n- ✅ 建立 PDF Job\n- ✅ 輪詢 Job 狀態直到完成\n- ✅ MCP Server 基本連線\n\n#### 手動測試\n\n```bash\n# Link globally for testing\npnpm link --global\n\n# Then use in Claude Desktop config\n{\n  \"mcpServers\": {\n    \"agent2pdf\": {\n      \"command\": \"agent2pdf-mcp\",\n      \"env\": {\n        \"AGENT2PDF_API_KEY\": \"your-test-key\"\n      }\n    }\n  }\n}\n```\n\n## License\n\nMIT\n\n## Support\n\n- Documentation: [https://agent2pdf.com/docs](https://agent2pdf.com/docs)\n- API Reference: [https://agent2pdf.com/docs/api](https://agent2pdf.com/docs/api)\n- Issues: [GitHub Issues](https://github.com/AustinChou/agent2pdf/issues)\n","readmeFilename":"README.md"}