{"_id":"@bannerbear/mcp","_rev":"13-75b13ce4cd57954cbe5e7bc74032dedd","name":"@bannerbear/mcp","dist-tags":{"latest":"0.14.0"},"versions":{"0.1.0":{"name":"@bannerbear/mcp","version":"0.1.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.1.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"46a3b75f23048b34a65c9a48e8487f54ba94633b","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.1.0.tgz","fileCount":9,"integrity":"sha512-E9gfGzbuzF+ETuj6BT54HzPDdvbg0jhIEviXUYNUxScSkFCbz0v68RD+lxaFaaNovFs/QWfhBp3T6GN9bzsZMw==","signatures":[{"sig":"MEUCIQCROIbxaW5mBUIpEqNv/3Xog9r98zzsu6CZVG3iHkfVFAIgGwSpFdDG4Qc7KHi9Ia/a/7kOr4q9VhEkknmVTJ55XZE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111911},"type":"module","engines":{"node":">=18"},"gitHead":"eca15da32d1796021a23d8d092c4880a4985915e","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs","build":"npm run codegen && tsc","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.0_1785481652633_0.271235692389183","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@bannerbear/mcp","version":"0.2.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.2.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"8d15643123ceb9aabba128416e7039f1b47898b1","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.2.0.tgz","fileCount":12,"integrity":"sha512-BiSdHNeeYj+E7bv9bGQgaaOvD6iw9CaqW4GCMkQLTg/pMzHyeQKZGJMwbL2I35ZNy9WAwDI8MyB/ko+SfeWjkg==","signatures":[{"sig":"MEYCIQCn29IuUDIb7POeCam6TSVni0d1rCrQ6BltjZF86261WgIhAL+wGxdxQcEqcO5omX+RIhHWnceqeKw7C79xiabmCzKc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111888},"type":"module","engines":{"node":">=18"},"gitHead":"ff433366f22ccdace4d230de8948ea7661506ac1","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs","build":"npm run codegen && tsc","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.2.0_1785911321020_0.2318144609065802","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@bannerbear/mcp","version":"0.3.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.3.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"26d2f990f217f10163559e6c3f88dd2615f57d8c","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.3.0.tgz","fileCount":12,"integrity":"sha512-LBjO0UPdBxkie5u9ID4K55WsFxH6c8qH3+zGmyn7ygtrA8n6Ukp3Pxgk+wYi9foK7C6JmCh1Yl0pkUi2EFpdbg==","signatures":[{"sig":"MEUCIQDxgRu8q2+MPfPOjNgVkvnJLOtr+We+Qkqm4uoaqtKUSAIgNTcZDE0exHnV6ia6YWK2I1j+Rv9gsZrRbh3Wl//FnAA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113183},"type":"module","engines":{"node":">=18"},"gitHead":"5a325f8a029139f406747aedf30076a2db981f75","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs","build":"npm run codegen && tsc","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.0_1785917560511_0.935227464433319","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@bannerbear/mcp","version":"0.4.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.4.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"e260fcddd4fc6371c71d46fd9aa1b794bada21fd","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.4.0.tgz","fileCount":13,"integrity":"sha512-MpTH+JtdWGeZWziquXPrKazQQ8jLUmJtRpNkbwfsmf9+Vm9B72O+tij0JZq4EdOpesGXCNV/m59jFHRLjG0P6w==","signatures":[{"sig":"MEUCIQD98Nqcz21kEAne4CzR1Xgx0RqNXY16iCIEAjgGLf0zfgIgadgKyUc0Ekc1v96asbT9bW7DHTmM7MLl+TyUhqlKDmU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124814},"type":"module","engines":{"node":">=18"},"gitHead":"1a36f01a4853f17aacb271b8e743e8e7cb604e5e","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs","build":"npm run codegen && tsc","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.4.0_1786336597950_0.9240455516495443","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@bannerbear/mcp","version":"0.5.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.5.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"1635ea02b31cac0cf63fdc3a183674082719ac20","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.5.0.tgz","fileCount":13,"integrity":"sha512-wIJ4llapaBJvORozC0CKU+mDQGpJ9JNyBEarcAnjv/CCHJyLWaX4EJSOjaObiXhdoM9+1kAWRnGCY4DGUCUsBA==","signatures":[{"sig":"MEUCIGmITZn3RKOpHiMElvO07JFWfwc6GNMmbYZy5h870BHGAiEAgqExkbZKi6+Z4j/oian/0NU9Ryo+TtvTSVY0oVnVv0w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125882},"type":"module","engines":{"node":">=18"},"gitHead":"e020845e76cd82c73d626972aa5d2bc5d83154d0","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs","build":"npm run codegen && tsc","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.5.0_1786339372775_0.7448362857923232","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@bannerbear/mcp","version":"0.6.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.6.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"754eeeb750f779a5bb9109d9b23fba9b0ab398c0","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.6.0.tgz","fileCount":13,"integrity":"sha512-r65uBfrjOF8PGK/5pz2r9/Pl4byCMBzmqpkT6xXm1UNtKqX8WBwfZb2HAoFklhdxbCEw0V+i+/yugjcOub85ig==","signatures":[{"sig":"MEQCID4YVmYRoAFQPuQRWRfLnMwrOl/40ZIQnTU5Z5Y44SRJAiB3DkLMYvoB6yYNWXlkqV1/cwc+aAf0s9dGG6+UVG0BAQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":126926},"type":"module","engines":{"node":">=18"},"gitHead":"9506f3cb6b321b9874bb1a46ab13d12db41037b4","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs","build":"npm run codegen && tsc","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.6.0_1786340809031_0.5959142613969166","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@bannerbear/mcp","version":"0.8.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.8.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"2587676ae9c6cd696dbae27649f7de51f419b177","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.8.0.tgz","fileCount":17,"integrity":"sha512-0WXrFeYwLUKRekUFnGxCvlu1MZn2u8QjibunEta2klDFpzzn+4m+uZ705H/igr+OV449GF7tkvwZ/XlFn4EXVg==","signatures":[{"sig":"MEUCIQDKVL7CVa6HHqXi6KTHSk6BQ14LdkFIV7sECMHs0stS3gIgPV3UibJ2XNluFpVwrRKW6KOT6gFerfXdkja9v1bHggA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158984},"type":"module","engines":{"node":">=18"},"gitHead":"44292670c27e357863db298dcf5b530195f3fb9b","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs && node scripts/test-registration.mjs","build":"npm run codegen && tsc","serve":"node dist/serve.js","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.8.0_1786586650295_0.4847869047621651","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@bannerbear/mcp","version":"0.9.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.9.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"2a8466f198c9f344e52c89521d94d86f210266f8","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.9.0.tgz","fileCount":19,"integrity":"sha512-MtgazY9pA7yYBe65p7YXI/BDG+yvbLFCTiPnVNCyI3Evmh/3Q54trvaQk7cKLjXHpztIqUmvetXnKT5QOdQH0Q==","signatures":[{"sig":"MEUCIDm51f55W72N2xgQrRiC1cdxvLL8rPcKdu+JOyuKEqruAiEA34wcsixddjy2OxtnoFnS4KCmHnH3HwQNatUDkVi8wr0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":187606},"type":"module","engines":{"node":">=18"},"gitHead":"5ea692376387c4e60fccaaa7718d448fc8c95da8","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs && node scripts/test-registration.mjs","build":"npm run codegen && tsc","serve":"node dist/serve.js","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.9.0_1786944450666_0.7885650462587204","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@bannerbear/mcp","version":"0.10.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.10.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"a5192eb3bba3047af5b651c292c4680db7d86f18","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.10.0.tgz","fileCount":19,"integrity":"sha512-6jw2556isJPTFkCnAckrRU8/cOvJSnWZtsBL1cZLWLAG2SNBIDIfUfL7Xdz44CnoERBEq8dzaYbPf2LA+EQpHA==","signatures":[{"sig":"MEQCIFiSwrsIe+MJs3d3WWdTkYseIQc8Pi+uSiJj2nkb5lhBAiB7jqQoqAUdKpLKYHlL8jOMRbFu4dumltY8RiaMjKWQrg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":205135},"type":"module","engines":{"node":">=18"},"gitHead":"a4c704685816d4acd62a72a43a91f71dd24d659f","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs && node scripts/test-registration.mjs","build":"npm run codegen && tsc","serve":"node dist/serve.js","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.10.0_1787811514851_0.9964995568247357","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@bannerbear/mcp","version":"0.11.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.11.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"ceeb1abceba334dd8c041ea0c178bc6cc30830be","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.11.0.tgz","fileCount":19,"integrity":"sha512-nKLuXE5snG+j2OZwQvfatpzA7DMZu03fl9NGeO5X74IfRSojfbsEbcmxE05q/DFVBVIZWM/VGHfILQo2vjaquA==","signatures":[{"sig":"MEUCIQD+e+ZLvKV6+6jrUjOfjUwyUXBoELyWR5Co/q4iHGP2RgIgJHjBbPphho1DNuQFKrHmr6oXrWsHJOgrVWI+xnJSKBA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCSHosPf1ndP2Q1X1E+TCAvOuYe8cfNbiTckxxBQbZrHgIgaH4cJOInjG89rWu2y4qqOmRepWClcAsAXsagm3y3c84=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":222187},"type":"module","engines":{"node":">=18"},"gitHead":"427bcc9fd4d03723dabcc015cc26bc9245193bcf","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs && node scripts/test-registration.mjs","build":"npm run codegen && tsc","serve":"node dist/serve.js","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.11.0_1788925478046_0.4606228579460998","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@bannerbear/mcp","version":"0.12.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.12.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"645ae2c53fa9606334428db6eee9f570c35eeee7","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.12.0.tgz","fileCount":19,"integrity":"sha512-/dATF8dKdawPAMfpGuUh+bqlDmSZAI39iy3UEb41Foa4ilqr2tYpDw1iEbxDle/yRddC3I1N+c5CH3MnFpJghQ==","signatures":[{"sig":"MEUCIH46JSv2kDwp8xRM47vb0cue6LPc+YE4n9T3ZECcDDENAiEA+6F+mJKuKiH+LON1StLLUwVyB+Kmr3jKu13aTK5L35o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDrlx3EPv+dPD42AMbhA5bCa/BiH2rEhpmggfpzjvwLMQIhAKhk6bWHWjH3BeD4Y+oYJVDXksAynMVtEYOqwRYgcxrs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":223031},"type":"module","engines":{"node":">=18"},"gitHead":"9b7f5a9e5e01ce75dc18c59a6a3d7c4eb2e9c7b1","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs && node scripts/test-registration.mjs","build":"npm run codegen && tsc","serve":"node dist/serve.js","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.12.0_1788931444911_0.6205201800532334","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@bannerbear/mcp","version":"0.13.0","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"license":"MIT","_id":"@bannerbear/mcp@0.13.0","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"bin":{"bannerbear-mcp":"dist/index.js"},"dist":{"shasum":"a955b5dbec76c78e9e2356430013441d417c08d0","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.13.0.tgz","fileCount":19,"integrity":"sha512-DD2dzO1STA9IAHZSz+tWPGhbd9XUiZpNCNiTfaOrW0pdamFzlWXTTeK9OTmpETxx8dGu3SwtN5em8QbjMWK6mQ==","signatures":[{"sig":"MEQCIFekMHQhzT4p2BLyKxUjZnGB9FkPLjnMBpROs+es928gAiBJTnKFv3Rck918O5g+KvBOj6elLrzvPu9yfTOPJOiBxw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDGGgIiYtk+wlFP9Ax8rMDan43a++rjNObTcFIsJOC9WAiBOmb034FIlbIOg9OaJ+2te2hPbvx5IwMnhLrsHlyn2EQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":226031},"type":"module","engines":{"node":">=18"},"gitHead":"1f7520bd8d893ee3bf21da828424da33c9104a5b","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs && node scripts/test-registration.mjs","build":"npm run codegen && tsc","serve":"node dist/serve.js","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.13.0_1788939398475_0.03220200705412535","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"_id":"@bannerbear/mcp@0.14.0","bin":{"bannerbear-mcp":"dist/index.js"},"bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"dist":{"shasum":"d0a86092749cb62501958c52d87280ee5b0a3295","tarball":"https://registry.npmjs.org/@bannerbear/mcp/-/mcp-0.14.0.tgz","fileCount":19,"integrity":"sha512-z0Z/fTeFjf9ia+hbDuQsvmEkDUz1H0vsZ8p/zjBMaGrOX1vrmP+MNcQzXGEFEGtL4FOpjIgYyf2zafsIxjNQTg==","signatures":[{"sig":"MEYCIQD1K9z8euhqdzbzGsRBQDP8yhNvi/md/CMVk0pVCxfGqwIhAJpSadkrbUzvz1izuAKGHTZp8KXu8xd/pxhQXvXmrRQV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDnt3v6dZWszpNmCz4teyyUPpqtUeSyXd3bhZgpgjV1iAiEA7iBmMGd+snVcD7CxHcqIkS84bBWw/qAyrioi08rfOhE="}],"unpackedSize":220202},"name":"@bannerbear/mcp","type":"module","engines":{"node":">=18"},"gitHead":"b62c475af9c92bd71e45010a57670a7831f3b9fd","license":"MIT","scripts":{"dev":"npm run build && node dist/index.js","test":"node scripts/test-layers.mjs && node scripts/test-scopes.mjs && node scripts/test-registration.mjs","build":"npm run codegen && tsc","serve":"node dist/serve.js","smoke":"node scripts/smoke.mjs","codegen":"node scripts/codegen.mjs","test:live":"node scripts/test-live.mjs","prepublishOnly":"npm run build"},"version":"0.14.0","_npmUser":{"name":"yongfook","email":"yongfook@gmail.com"},"homepage":"https://github.com/yongfook/bannerbear-mcp#readme","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Model Context Protocol server for the Bannerbear V5 API","directories":{},"maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.14.0_1791336549846_0.254782769305421"}}},"time":{"created":"2026-07-31T07:07:32.466Z","modified":"2026-10-07T01:29:10.358Z","0.1.0":"2026-07-31T07:07:32.868Z","0.2.0":"2026-08-05T06:28:41.167Z","0.3.0":"2026-08-05T08:12:40.661Z","0.4.0":"2026-08-10T04:36:38.097Z","0.5.0":"2026-08-10T05:22:52.931Z","0.6.0":"2026-08-10T05:46:49.168Z","0.8.0":"2026-08-13T02:04:10.446Z","0.9.0":"2026-08-17T05:27:30.816Z","0.10.0":"2026-08-27T06:18:34.986Z","0.11.0":"2026-09-09T03:44:38.140Z","0.12.0":"2026-09-09T05:24:05.021Z","0.13.0":"2026-09-09T07:36:38.559Z","0.14.0":"2026-10-07T01:29:09.951Z"},"bugs":{"url":"https://github.com/yongfook/bannerbear-mcp/issues"},"license":"MIT","homepage":"https://github.com/yongfook/bannerbear-mcp#readme","keywords":["mcp","model-context-protocol","bannerbear","image-generation","video-generation","claude"],"repository":{"url":"git+https://github.com/yongfook/bannerbear-mcp.git","type":"git"},"description":"Model Context Protocol server for the Bannerbear V5 API","maintainers":[{"name":"yongfook","email":"yongfook@gmail.com"}],"readme":"# Bannerbear MCP\n\nModel Context Protocol server for the [Bannerbear V5 API](https://developers.bannerbear.com/v5/).\nLets Claude and other MCP clients generate images, and design and edit\ntemplates, in your Bannerbear workspace.\n\n> **V5 only.** This server talks to the V5 API and no earlier version. V5 keys\n> look like `bb_ak_v5_…` — a key from an older Bannerbear API is rejected with\n> a `401`, which reads as a bad key rather than a version mismatch. Get a V5\n> key from your Bannerbear workspace settings.\n\n## Install\n\n```json\n{\n  \"mcpServers\": {\n    \"bannerbear\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@bannerbear/mcp@0.14.0\"],\n      \"env\": { \"BANNERBEAR_API_KEY\": \"bb_ak_v5_...\" }\n    }\n  }\n}\n```\n\nAdd that to `claude_desktop_config.json` (Claude Desktop), or for Claude Code:\n\n```sh\nclaude mcp add bannerbear -s user \\\n  -e BANNERBEAR_API_KEY=bb_ak_v5_... \\\n  -- npx -y @bannerbear/mcp@0.14.0\n```\n\nGet an API key from your Bannerbear workspace settings. Prefer passing it from\nyour environment (`-e BANNERBEAR_API_KEY=\"$BANNERBEAR_API_KEY\"`) so the key\ndoesn't end up in your shell history.\n\n> **If the first connection fails, retry.** The initial `npx` run downloads the\n> package from the registry, which can take longer than the MCP client's\n> startup timeout — you may see `Failed to connect` once. Every run after that\n> starts in about a second. Pinning the version as shown also stops npx\n> checking the registry for a newer release on every launch.\n\nBump the pin to move to a newer release, or drop `@0.14.0` to always track the\nlatest — at the cost of that registry check on each launch, and of picking up\nbreaking changes without opting in.\n\n## Tools\n\n**27 tools by default**, 63 in total across all 65 V5 endpoints.\n\nThe default is the working surface — design a template, render an image or an\nanimation from it — plus workflows. Everything else is opt-in; see *Registering\nfewer tools* below.\n\n| Group | Tools |\n| --- | --- |\n| Workspace | `get_account` |\n| Schema | `get_layer_schema` |\n| Templates | `list_templates`, `get_template`, `upsert_image_template`, `delete_template` |\n| Generation | `generate_image`, `get_image`, `list_images` |\n| Batches | `create_batch`, `get_batch`, `list_batches` |\n| Assets | `upload_asset`, `check_assets`, `get_asset`, `list_assets` |\n| Publications | `list_publications`, `get_publication`, `install_publication` |\n| Workflows | `list_workflows`, `get_workflow`, `upsert_workflow`, `delete_workflow`, `run_workflow`, `get_workflow_run`, `list_workflow_runs` |\n| Animations | `generate_animation`, `get_animation`, `list_animations`, `list_animation_templates`, `get_animation_template`, `upsert_animation_template`, `animate_template`, `delete_animation_template` |\n| Media tools | `remove_bg`, `create_pdf`, `trim_video`, `crop_video`, `resize_video`, `concat_videos`, `overlay_image`, `overlay_video`, `add_audio`, `generate_voiceover`, `subtitle_video`, `create_video_slideshow`, `apply_color_filter`, `soften_video`, `add_cover_art`, `create_gif_preview`, `generate_ai_image`, `generate_ai_video`, `video_thumbnails`, `pdf_to_image`, `flatten_pdf`, `get_tool_job`, `list_tool_jobs` |\n| Webhooks | `list_webhooks`, `get_webhook`, `create_webhook`, `update_webhook`, `delete_webhook` |\n| Instant URLs | `list_instant_urls`, `get_instant_url`, `create_instant_url`, `update_instant_url`, `delete_instant_url` |\n\n**Workflows are the composed form of the rest.** A user assembles steps in the\ndashboard and `run_workflow` runs them in order, each feeding the next — so\n\"run the podcast clip workflow on this video\" is one call rather than a chain of\nfour with intermediate URLs to thread. `/workflows` serves just those five tools\nplus `get_account`, at ~1.8k tokens against ~19.0k for everything.\n\nAnimation templates carry layers and keyframes like image templates do.\n`animate_template` applies a named preset — FadeIn, PopIn, ScaleOut and so on —\nacross layers with an optional stagger; it is deterministic, costs nothing, and\nis the right tool for an ordinary entrance or exit. Hand-written keyframes go\nthrough `upsert_animation_template`, which replaces the canvas wholesale.\n\nA scoped API key sees fewer tools — see below.\n\n### Registering fewer tools\n\nEvery tool definition is spent on every conversation whether it gets used or\nnot, so the default registers six groups rather than ten — 30 tools at ~8.1k\ntokens, against 67 and ~19.0k for the lot. A deployment that only runs\nworkflows can go down to six.\n\nOver stdio, set `MCP_TOOL_GROUPS`:\n\n```sh\nMCP_TOOL_GROUPS=workflows npx -y @bannerbear/mcp\n```\n\nHosted, the path picks it, so each caller chooses their own surface at connect\ntime rather than the deployment choosing for everyone:\n\n```\nhttps://mcp.example.com/            30 tools   ~8.1k tokens   (default)\nhttps://mcp.example.com/workflows    8 tools   ~1.8k\nhttps://mcp.example.com/all         67 tools  ~19.0k\n```\n\n| Group | Tools | Tokens |\n| --- | --- | --- |\n| `account` | 1 | ~129 |\n| `webhooks` | 5 | ~782 |\n| `instant_urls` | 5 | ~869 |\n| `templates` | 5 | ~1,455 |\n| `generation` | 6 | ~1,770 |\n| `assets` | 4 | ~926 |\n| `publications` | 3 | ~901 |\n| `media` | 23 | ~8,343 |\n| `animations` | 8 | ~2,130 |\n| `workflows` | 7 | ~1,694 |\n\nThree profiles are named:\n\n| Profile | Groups | Tools |\n| --- | --- | --- |\n| `default` | account, templates, generation, publications, animations, workflows | 30 |\n| `workflows` | account, workflows | 8 |\n| `all` | every group | 63 |\n\nAnything else is a comma-separated list of groups — `account,workflows,generation`\ncomposes exactly what a caller needs, so no argument about what belongs in a name\nlike \"core\" is required. Nothing is unreachable: `all` is always there.\n\nA profile shadows the group it is named after, so `workflows` means the pair;\n`workflows_only` reaches the bare group. An unrecognised name is refused — stdio\nwon't start, hosted answers `404` naming the valid options — because a typo that\nquietly halves the tool list looks like a broken server rather than a config\nmistake.\n\nScoped credentials narrow the list too, and the two compose: a token without\n`workflows:*` loses those tools whether or not the profile included them.\n\n### Switching off generative content\n\nSome MCP platforms have a policy against tools that synthesise new content. Add\n`?chat=true` to the URL, or set `MCP_DISABLE_GENERATIVE=1` over stdio:\n\n```\nhttps://mcp.example.com/?chat=true\nhttps://mcp.example.com/workflows?chat=true\n```\n\n`?disable-generative=true` is accepted as an alias; `chat` is the preferred\nspelling. A refusal says the limit belongs to the deployment rather than the\naccount — enough to stop a pointless retry — and does not name the parameter.\n\nIt refuses `ai-prompt` and `ai-background-generate: enabled` in modifications\n*and* in template layers, and leaves `generate_voiceover`,\n`generate_ai_image` and `generate_ai_video` unregistered. Gating\nonly modifications would be theatre — a prompt saved onto a template generates\non every later render with no modification involved — and leaving speech\nsynthesis registered while refusing image prompts would be an inconsistent line.\n\nUntouched: `ai-background-remove` and the `ai-detect*` family, which analyse or\nstrip imagery the caller already supplied. `remove_bg` stays for the same\nreason. A policy against generative tools is not a policy against cropping to a\nface.\n\n`run_workflow` is deliberately not gated. A workflow may contain a generative\nstep, but the composition was authored by its owner in the dashboard, and the\npolicy these platforms state is against *direct* exposure to generative tools\nrather than against generated output existing. Gating it would break the very\nprofile the flag exists to make acceptable.\n\nThe flag fails safe. Present means on, unless explicitly `false` or `0`, so a\ntypo cannot quietly re-enable what a policy forbids. Refusals name the offending\nindex and say the restriction belongs to the deployment rather than the account\n— otherwise a caller reasonably retries, or concludes their plan lacks the\nfeature.\n\n### Running it as a hosted endpoint\n\nThe same tools serve two shapes. `dist/index.js` is the stdio binary above.\n`dist/serve.js` is an HTTP entry point over Streamable HTTP:\n\n```sh\nPORT=3000 MCP_PUBLIC_HOST=your-app.example.com npm run serve\n```\n\n`Procfile` points at it for platforms that read one. Auth is a single seam —\n`ResolveApiKey` in `src/http.ts` — which defaults to treating\n`Authorization: Bearer <key>` as the Bannerbear key. Swapping in an OAuth token\nexchange touches nothing else.\n\n`MCP_PUBLIC_HOST` must match the `Host` header exactly, including a port if the\nport is non-default, or the DNS-rebinding check rejects the request with `403`.\nIt takes a comma-separated list, which is worth setting when a deployment is\nreachable by more than one name — reaching the origin directly as well as\nthrough a CDN is how a proxy problem gets told apart from an origin one:\n\n```sh\nMCP_PUBLIC_HOST=mcp.example.com,my-app.herokuapp.com\n```\n\nA rejected host answers `403` naming both what arrived and what is allowed, so\nthe fix is visible without going through the logs:\n\n```json\n{\"error\":\"Host not allowed\",\"host\":\"my-app.herokuapp.com\",\"allowed\":[\"mcp.example.com\"]}\n```\n\nThe host is checked before the credential, so a wrong host reads as `403` even\nwhen the key is also wrong, and a request from an unexpected origin never gets\nto probe whether a key is valid. `GET /health` skips both checks — it answers on\nany hostname, which makes it the way to tell \"the app is down\" from \"the app is\nrefusing this hostname\".\n\n**An unauthorized response explains itself.** A bare `401` tells an agent\nnothing about whether authorizing is worth it, so the body carries what this\npath serves — groups, tool count, tool names, whether generation is available —\nthe same `instructions` the handshake returns, where to get a token, the other\npaths available, and a copy-paste `claude mcp add` line. Protocol clients read\nthe status and `WWW-Authenticate` and ignore the body, so none of this costs\nthem anything, and it is all the same information the README publishes.\n\n**Server instructions are set on the handshake**, which is the standard place\nfor guidance that spans tools rather than sitting inside one — which of several\nto reach for, and why. They vary by profile: a `/workflows` connection is not\ntold about `create_batch`.\n\n**Plaintext is refused, not quietly upgraded.** A request arriving over `http`\nwithout a credential is redirected to the `https` URL. One arriving *with* an\n`Authorization` header answers `403` and says the credential should be treated\nas exposed — by then it has already crossed the network in the clear, and\nredirecting would only get it re-sent over TLS while letting the first attempt\npass unnoticed. Responses over `https` carry HSTS.\n\nThe scheme is read from `x-forwarded-proto`, which the platform's router sets.\nAbsent means nothing is fronting the process — local development — so nothing is\nenforced. Turn on *Always Use HTTPS* at the CDN as well: that stops plaintext\nbefore it reaches the origin at all, which is earlier than anything this server\ncan do.\n\n`GET /health` answers `200` unauthenticated with the running version, so a\ndeployment can be told apart from an outage. Everything else without a\ncredential is `401` — visiting the host in a browser gives\n`{\"error\":\"Unauthorized\"}`, which is correct rather than a symptom.\n\n**OAuth discovery is served, so a client can find its own way to a token.**\n`GET /.well-known/oauth-protected-resource` (RFC 9728) names this resource and\npoints at the authorization server — Bannerbear's own, since that is where\naccounts live. Both `401`s carry the matching hint:\n\n```\nWWW-Authenticate: Bearer resource_metadata=\"https://mcp.bannerbear.com/.well-known/oauth-protected-resource\"\n```\n\nTogether those are the whole discovery flow: a client that has never seen this\nserver goes from a bare URL to a token without being told anything else, which\nis what the Claude connector directory requires. Override the authorization\nserver with `MCP_AUTHORIZATION_SERVER`.\n\nThe advertised scopes are generated from `TOOL_SCOPES`, so a consent screen\nbuilt from them grants exactly what the tool filter later reads back — there is\nno second vocabulary to keep in step.\n\nCredential handling did not change for this. The bearer is treated as opaque and\nproven against `/account`, so an access token and an API key travel the same\npath; the API accepting both is what makes that work.\n\n**Keys are proven before anything is served.** `/account` answers on any valid\nkey regardless of scope, so it doubles as the authentication check: a `401` from\nit means the key is bad, and the request is refused before a client is\nconnected. Without this a mistyped key produced a working-looking install —\n`initialize` succeeded, all tools listed, and every call then failed — with the\nerror pointing at the tool rather than the config.\n\nOnly a `401` rejects. A network failure or a `5xx` leaves the key unproven, and\nthe request goes through unfiltered rather than refusing service because the API\nhad a bad minute. The result is cached for five minutes per key, so this costs\none round trip per key rather than one per request, and the scope narrowing\nreuses the same response instead of fetching again.\n\n**Errors go to stderr**, which the platform captures and a log drain can\nforward on. There is no reporting SDK — the one worth using pulls ~56MB through\nOpenTelemetry, taking a runtime install from 23MB to 79MB, which every `npx`\nuser would download on first run to support something only the hosted server\nuses.\n\nEach failure is one JSON line, because platforms split multi-line output into\nseparate records and a stack trace scattered across entries no longer sorts\ntogether. Lines are swept for key-shaped strings before they are written: every\nrequest here carries a live API key, and a log drain forwards to a third party.\n`scripts/test-registration.mjs` asserts none survives.\n\nHosted mode differs from stdio in three ways, all of them deliberate:\n\n- **`upload_asset` and `check_assets` are not registered.** Both resolve a\n  caller-supplied path on the machine running the server. Over stdio that is\n  the caller's own disk, which is the point. Hosted it is *your* disk, so\n  `upload_asset` would copy any readable file into the caller's workspace and\n  return a CDN URL for it, and `check_assets` would still confirm a path's\n  existence and contents by hash. `get_asset` and `list_assets` take a uid and\n  a page, touch no disk, and stay.\n- **The media tools return a job uid instead of polling.** A hosted process can\n  be recycled mid-job. The work continues at Bannerbear regardless, so handing\n  back the uid loses nothing, while a dropped poll loses a finished render.\n  Callers use `get_tool_job`.\n- **One server and client per request, never per process.** The rate-limit\n  window and the tool registry that scope filtering mutates both live on the\n  instance. Sharing one would let a single scoped key disable tools for every\n  user, and one caller's burst throttle everyone else.\n\nThe transport streams over SSE rather than buffering a JSON response, which is\nload-bearing behind a router that times out an idle request: the response starts\nimmediately and heartbeats while a job runs. Setting `enableJsonResponse` would\nsend nothing until the work finished and reintroduce that timeout.\n\nSessions are stateless (`sessionIdGenerator: undefined`), so no affinity is\nneeded and nothing is lost when a process restarts. Scope lookups are cached for\nfive minutes, keyed by a digest of the API key, so rebuilding per request does\nnot mean an `/account` call per request.\n\n### Design notes\n\n**Tools narrow to the key's scopes.** `GET /account` reports the scopes the API\nkey holds, and is reachable on every key regardless of scope. On startup the\nserver reads them and disables the tools the key isn't authorized for, so a\nread-only key stops offering calls that could only ever come back `403`.\n\nThis runs *after* the transport connects, not before: the full list is served\nimmediately and then narrows, which the client picks up through the\n`listChanged` notification. Putting the round trip in front of the handshake\nwould add it to every launch, and startup latency is already the one thing that\nmakes `npx` installs fail.\n\nIt fails open in every uncertain case. An unreachable `/account`, a malformed\nresponse, or an empty `scopes` array (which the API uses to mean full access)\nall leave the complete surface enabled — wrongly hiding a tool that would have\nworked is worse than letting a `403` speak for itself. `scripts/test-scopes.mjs`\nasserts each of those paths, and checks the scope table against the enum in the\nspec so a typo can't silently disable a tool.\n\n**Media tools are async, and polled to completion.** The `/tools` endpoints\ntake URLs rather than templates — background removal, PDF assembly, PDF to\nimage, print flattening, video trim/crop/resize/concat/overlay, and frame grabs. Each answers `202` with a pending job, so the\ntools poll `/tool_jobs/{uid}` and return the finished output by default; pass\n`wait: false` to get the uid straight back and check it later with\n`get_tool_job`. Every run takes an optional `metadata` string, returned on the\njob — handy for tying a result back to whatever triggered it. `list_tool_jobs`\nwalks recent runs when a uid wasn't kept.\n\nWhile a job runs, each poll's `progress` (0-100) is forwarded as an MCP\nprogress notification, so a client that asked for one can show movement instead\nof a call that appears stalled for minutes. It also matters for survival:\nclients that implement it reset their request timeout on progress, so a long job\nis less likely to be abandoned by the caller while it is still working. A client\nthat sends no `progressToken` gets nothing extra.\n\nThese jobs run `pending → running → completed`, so the client's poll takes a\npredicate — stopping at \"anything but pending\" would return a job before it has\nan output. A job that ends `failed` is reported as a tool error carrying\n`error_message`, not as data: the HTTP call succeeded, so otherwise the model\nwould have to notice a buried status field to know the work didn't happen.\n\nThey gate on `tools:write` to dispatch a job and `tools:read` to read one back,\nso a key without them sees a shorter list rather than a wall of `403`s. Only\n`get_account` and `get_layer_schema` are unscoped now — the first is reachable\non any key, the second never touches the API. `UNSCOPED_TOOLS` records that\npair, and a test asserts every registered tool is either scoped or listed there,\nwhich is what caught the media tools the moment the spec gained a scope for\nthem.\n\n**Sync-first image generation.** `generate_image` posts to\n`sync.api.bannerbear.com` and returns the finished file in a single call. That\nhost has a 10-second ceiling and answers `408` beyond it, so the tool\ntransparently re-submits to the async endpoint and polls.\n\n**Asset upload reads local disk.** `upload_asset` exists for the one case a URL\ncan't cover: a file that only exists on the machine running the server. It reads\nthe path you give it and sends the raw bytes with the file's own mime type —\nthe single request in the client that isn't JSON. Anything already reachable at\na public URL should be referenced directly instead.\n\nExistence, file-ness, emptiness, the 5MB cap and the mime type are all checked\nlocally, so the failures the API would return as `400`/`413`/`415` arrive naming\nthe file, its size and its format. The accepted types come from the spec via\ncodegen (`ASSET_MIME_TYPES`), so a format the API adds later needs no code\nchange. The extension table is deliberately wider than that list: recognising\n`.svg` as an image the endpoint won't take gives a far better error than not\nrecognising it at all.\n\nRe-uploading is safe — the workspace deduplicates by content hash and returns\nthe existing asset rather than a copy, and a dedupe hit doesn't count against\nthe trial account's 20-asset limit.\n\n`check_assets` skips the transfer altogether. It hashes local files here and\nbatch-checks the hashes, so a file that's already stored costs no upload at all\nand comes back with its CDN URL. It takes paths rather than hashes deliberately:\nthe endpoint is specified in terms of SHA-256 digests, but a model can't compute\none, so a hash-shaped tool would be unusable from the thing driving it.\n\n**Two layer shapes, deliberately kept apart.** Template *authoring* uses 14\ntyped layer schemas (`text`, `rectangle`, `rectangle_image_container`, `circle`,\n`circle_image_container`, `image`, `svg_shape`, `qr_code`, `bar_code`, `rating`,\n`lottie`, `animated_background`, `audio_wave`, `group`) discriminated by `type`,\neach with its own attributes on top of 32 shared ones. *Modifications* at\ngeneration time are a single flat bag of 130 attributes, because a modification targets a layer that already has a type.\n\n**Layer schema is pulled, not pushed.** Inlining the authoring `oneOf` would put\n~45KB of largely duplicate attributes into every conversation. `get_layer_schema`\nserves it in slices instead — an overview, one layer type, or the modification\nbag — so a conversation pays only for the types it actually uses:\n\n| Call | Size |\n| --- | --- |\n| overview of all 14 types | 3.5 KB |\n| `layer_type: \"text\"` | 5.3 KB |\n| `section: \"modifications\"` | 11.9 KB |\n\nTool definitions total ~19.0k tokens.\n\n**Layers are validated locally before the request goes out.** The tool schema\ncarries the `type` enum, so a bad type is caught by the MCP layer. The handler\nthen checks each layer against its per-type schema and reports the offending\nindex — `config.objects[1]` — with a pointer to the right `get_layer_schema`\ncall. Attributes belonging to a *different* layer type are rejected by name\n(`\"qr-target\" is not valid on a \"text\" layer — it\nbelongs to \"qr_code\"`), while attributes the spec doesn't know about are passed\nthrough, so the server doesn't block on a spec that trails the API.\n\n**Rate limiting.** The limit is 30 requests / 10s and applies to `POST` only —\nreads and updates are unmetered. The client holds a sliding window just under\nthat and counts `POST`s against it, so a caller stays inside the limit without\nhaving to think about it.\n\nOnly metering `POST` matters more than it sounds. Polling is all `GET`s and is\nthe most frequent thing the client does — a video job can poll for minutes — so\ncounting it would spend budget that was never charged, and throttle a render\nbehind its own status checks.\n\nThe window is a separate object rather than client state, because the limit is\ncounted per API key and hosted mode builds a client per request — an unshared\nwindow would restart empty each time and never throttle. `src/http.ts` keeps one\nper key and hands it to every request acting as that key.\n\nIt is a courtesy, not a guarantee. The window is per process, so several\ninstances under-count, and it cannot see the same key being used by your own\napp at the same time. The server-side limit stays the real ceiling: `429` and\n`5xx` are retried with backoff, honouring `Retry-After`.\n\nOne request shape is worth knowing: `create_batch` queues up to 100 images as a\nsingle `POST`, where the equivalent `generate_image` loop would be 100. The tool\ndescription says so, so the model reaches for it unprompted.\n\n**Templates can be locked against the API.** `api_write_access` decides who may\nupdate or delete a template — `team` by default, `owner_only` for the creator's\nkeys, or `nobody` to block the API entirely until it is unlocked in the\ndashboard. Writes to a locked template come back `403` or `423`; `get_template`\nreports the current setting, and neither field is writable through the API.\n\n**Upserts.** Create and update are one tool — omit `uid` to create, pass it to\nupdate. Requests and responses both use `config.objects`, so what\n`get_template` returns can be sent straight back. `config` replaces wholesale,\nso send the complete list when editing.\n\nTop-level `objects` is accepted as a convenience alias and lifted into `config`;\npassing the same thing both ways is an error rather than a silent coin flip.\n\n## Development\n\n```sh\nnpm install\nnpm run build      # codegen + tsc\nnode scripts/smoke.mjs   # stdio handshake + tool surface report\n```\n\n`src/generated/schemas.ts` is generated from `spec/openapi.json` by\n`scripts/codegen.mjs`. Refresh the spec and re-run `npm run codegen` when the\nAPI changes — layer types, attributes and formats all flow through\nautomatically.\n\nCodegen fails loudly rather than degrading quietly if the spec's shape changes:\nit aborts when `config.objects` loses its `type` discriminator, when no `Layer*`\ncomponent schemas are found, when the modification schemas for images and\nbatches stop being identical, when `POST /assets` stops listing the content\ntypes it accepts, or when a webhook field loses its enum.\n\nSmall enums are generated too, not just the big schemas — accepted asset mime\ntypes and the four webhook fields. Both had drifted by hand more than once\n(`video` leaving the webhook `resource` list, `tool_job` joining it), which is\nexactly the kind of change that is easy to miss in a diff and silently rejects\nvalid input.\n\n`scripts/test-layers.mjs` covers layer validation and the schema reference\nwithout hitting the API. `scripts/test-scopes.mjs` covers scope filtering\nagainst stub tool handles, including every fail-open path.\n`scripts/test-registration.mjs` covers what each deployment shape registers —\nabove all that hosted mode omits the two filesystem tools, since that failure\nis silent and hands out arbitrary file reads. It also checks the media tools\nagainst the spec in both directions, so an endpoint added upstream fails the\nbuild rather than going quietly unimplemented. All three run under `npm test`.\n\n`src/server.ts` builds a server bound to one key and knows nothing about\ntransports; `src/index.ts` and `src/serve.ts` are the two entry points. Adding a\ntool means touching a module under `src/tools/`, not either entry point.\n","readmeFilename":"README.md"}