{"_id":"@autopipe/mcp-upload-bridge","_rev":"3-b886b04aeff7e30e798d7cbfc4623164","name":"@autopipe/mcp-upload-bridge","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@autopipe/mcp-upload-bridge","version":"1.0.0","license":"MIT","_id":"@autopipe/mcp-upload-bridge@1.0.0","maintainers":[{"name":"azxza","email":"azxza23@hotmail.com"}],"bin":{"autopipe-upload-bridge":"dist/index.js"},"dist":{"shasum":"bc5c4d96d74a783a5bb96f4e09d1321b244cc240","tarball":"https://registry.npmjs.org/@autopipe/mcp-upload-bridge/-/mcp-upload-bridge-1.0.0.tgz","fileCount":3,"integrity":"sha512-0/X8PmhVyzTxwLnkVVj0ut8OU7KcJAUJ3IOP9Q/JL1so7ldQHq8+heQ8z+o2XCLe5TTERuOcIxP/P9tJ7bhRqQ==","signatures":[{"sig":"MEQCID3UmyUpT/Vl7LhWyZYORegMZcJ2+fLUzw8bWuRF6diLAiBRerpARJRavjfbgbpfaeo/qLYUydazLV7mvmwiFzD1nw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":483774},"type":"module","shasum":"bc5c4d96d74a783a5bb96f4e09d1321b244cc240","scripts":{"test":"bun test","build":"bun run build.ts","prepublishOnly":"bun run build"},"_npmUser":{"name":"azxza","email":"azxza23@hotmail.com"},"_integrity":"sha512-0/X8PmhVyzTxwLnkVVj0ut8OU7KcJAUJ3IOP9Q/JL1so7ldQHq8+heQ8z+o2XCLe5TTERuOcIxP/P9tJ7bhRqQ==","_npmVersion":"10.8.3","description":"stdio MCP server that POSTs local files to AutoPipe signed upload URLs","directories":{},"_nodeVersion":"24.3.0","dependencies":{"zod":"^4.4.3","@modelcontextprotocol/server":"^2.0.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"1.3.14","@types/bun":"1.3.14","typescript":"6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mcp-upload-bridge_1.0.0_1782127777811_0.8648378554493563","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@autopipe/mcp-upload-bridge","version":"1.0.1","license":"MIT","_id":"@autopipe/mcp-upload-bridge@1.0.1","maintainers":[{"name":"azxza","email":"azxza23@hotmail.com"}],"bin":{"autopipe-upload-bridge":"dist/index.js"},"dist":{"shasum":"13cc12fb61835e8707e45f3c94d28edf1f668501","tarball":"https://registry.npmjs.org/@autopipe/mcp-upload-bridge/-/mcp-upload-bridge-1.0.1.tgz","fileCount":3,"integrity":"sha512-4gyeLd4DQaa0c1XjM63gibRb++OmBn2qR9Z+y2AodK9EHZF10MHcdMTipqqimsGiCkBMQNL5aPw9x9S3LqyM9A==","signatures":[{"sig":"MEYCIQCS1PMIgWP39Q1ucMA7Ol3HGbK9oLsPw4PhP+M6gMLqrwIhAMAUX2QcV4qejNOOqOL7g/O8J85EloMvHjifdSRF4Osp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":486200},"type":"module","shasum":"13cc12fb61835e8707e45f3c94d28edf1f668501","scripts":{"test":"bun test","build":"bun run build.ts","prepublishOnly":"bun run build"},"_npmUser":{"name":"azxza","email":"azxza23@hotmail.com"},"_integrity":"sha512-4gyeLd4DQaa0c1XjM63gibRb++OmBn2qR9Z+y2AodK9EHZF10MHcdMTipqqimsGiCkBMQNL5aPw9x9S3LqyM9A==","_npmVersion":"10.8.3","description":"stdio MCP server that POSTs local files to AutoPipe signed upload URLs","directories":{},"_nodeVersion":"24.3.0","dependencies":{"zod":"^4.4.3","@modelcontextprotocol/server":"^2.0.0-alpha.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"1.3.14","@types/bun":"1.3.14","typescript":"6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mcp-upload-bridge_1.0.1_1782214353170_0.1706125484432397","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@autopipe/mcp-upload-bridge","version":"1.0.2","description":"stdio MCP server that POSTs local files to AutoPipe signed upload URLs","license":"MIT","type":"module","bin":{"autopipe-upload-bridge":"dist/index.js"},"publishConfig":{"access":"public"},"scripts":{"build":"bun run build.ts","test":"bun test","prepublishOnly":"bun run build"},"dependencies":{"@modelcontextprotocol/server":"^2.0.0-alpha.2","zod":"^4.4.3"},"devDependencies":{"@types/bun":"1.3.14","bun-types":"1.3.14","typescript":"6.0.3"},"_id":"@autopipe/mcp-upload-bridge@1.0.2","_integrity":"sha512-ViVNecvUMqm7x+FjU1w74XWrNwqcsEXNZenSeNj23WbPpiIK8e/lUeGKaZzNwZiTFkKHC2ZurhkB6utAesQpGQ==","_nodeVersion":"24.3.0","_npmVersion":"10.8.3","shasum":"e7d4d6856f0e61c82f22158b9dc48f937280e497","dist":{"integrity":"sha512-ViVNecvUMqm7x+FjU1w74XWrNwqcsEXNZenSeNj23WbPpiIK8e/lUeGKaZzNwZiTFkKHC2ZurhkB6utAesQpGQ==","shasum":"e7d4d6856f0e61c82f22158b9dc48f937280e497","tarball":"https://registry.npmjs.org/@autopipe/mcp-upload-bridge/-/mcp-upload-bridge-1.0.2.tgz","fileCount":3,"unpackedSize":486170,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHdIsOwievZcAc+tRqbqQM1KdFTlOgm7mYcki9Z/N0oCAiA9dwWdvFetfCLg+Ou6ImKs9j4IDDVjPJWXJ9ioEOZVYw=="}]},"_npmUser":{"name":"azxza","email":"azxza23@hotmail.com"},"directories":{},"maintainers":[{"name":"azxza","email":"azxza23@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-upload-bridge_1.0.2_1782315018592_0.9891208727956486"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-22T11:29:37.682Z","modified":"2026-06-24T15:30:18.877Z","1.0.0":"2026-06-22T11:29:37.963Z","1.0.1":"2026-06-23T11:32:33.307Z","1.0.2":"2026-06-24T15:30:18.736Z"},"license":"MIT","description":"stdio MCP server that POSTs local files to AutoPipe signed upload URLs","maintainers":[{"name":"azxza","email":"azxza23@hotmail.com"}],"readme":"# @autopipe/mcp-upload-bridge\r\n\r\nstdio MCP server that reads local files and POSTs them to AutoPipe signed upload URLs.\r\n\r\nUse this alongside hosted **autopipe-mcp** when your MCP client cannot POST multipart HTTP (e.g. Claude Desktop).\r\n\r\n## Install\r\n\r\nNo global install required — use via `npx`:\r\n\r\n```bash\r\nnpx @autopipe/mcp-upload-bridge\r\n```\r\n\r\n## MCP client configuration\r\n\r\nAdd a second MCP server entry next to autopipe-mcp:\r\n\r\n**Claude Desktop** (`claude_desktop_config.json`):\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"autopipe-mcp\": {\r\n      \"type\": \"http\",\r\n      \"url\": \"https://mcp.autopipe.com/mcp\",\r\n      \"headers\": {\r\n        \"x-api-key\": \"YOUR_API_KEY\"\r\n      }\r\n    },\r\n    \"autopipe-upload-bridge\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\"-y\", \"@autopipe/mcp-upload-bridge\"],\r\n      \"env\": {\r\n        \"AUTOPIPE_UPLOAD_HOSTS\": \"mcp.autopipe.com\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n**Cursor** (`~/.cursor/mcp.json`): same structure.\r\n\r\n### `AUTOPIPE_UPLOAD_HOSTS`\r\n\r\nOptional comma-separated host allowlist for upload URLs. Recommended in production so the bridge only POSTs to your AutoPipe MCP host.\r\n\r\nIf unset, any HTTPS host is allowed as long as the path matches `/file-upload/<token>`.\r\n\r\n## Tool\r\n\r\n### `upload-files-to-signed-url`\r\n\r\n| Input | Description |\r\n|-------|-------------|\r\n| `signedUrl` | From `issue-project-file-processing-upload-token` on autopipe-mcp |\r\n| `filePaths` | Local paths to upload (1–N files, max 20 MB each) |\r\n\r\nReturns the `FILE_PROCESSING` background task on success.\r\n\r\n## Agent workflow\r\n\r\n```\r\n1. issue-project-file-processing-upload-token({ projectId })  // autopipe-mcp\r\n2. upload-files-to-signed-url({ signedUrl, filePaths: [\"...\"] }) // this bridge\r\n3. awaitTaskFinish({ taskId })                                   // autopipe-mcp\r\n```\r\n\r\nFetch the `check-dependencies` prompt on autopipe-mcp to verify the bridge (or HTTP POST) is available before uploading.\r\n\r\n## Supported file types\r\n\r\nPDF, Word, PowerPoint, plain text, Markdown, PNG, JPEG, WebP, SVG — same as autopipe-mcp upload.\r\n\r\n## Development\r\n\r\n```bash\r\nbun install\r\nbun test\r\nbun run build\r\n```\r\n\r\nInspect with MCP inspector:\r\n\r\n```bash\r\nbunx @modelcontextprotocol/inspector bun run src/index.ts\r\n```\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}