{"_id":"@alexfunmula/file-uploader-mcp","_rev":"2-0d8e326ecc1d2085227a597a9d0c80c0","name":"@alexfunmula/file-uploader-mcp","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@alexfunmula/file-uploader-mcp","version":"0.0.1","keywords":["mcp","model-context-protocol","file-upload","claude"],"author":"","license":"MIT","_id":"@alexfunmula/file-uploader-mcp@0.0.1","maintainers":[{"name":"alexfunmula","email":"alex@funmula.com"}],"bin":{"file-uploader-mcp":"dist/index.js"},"dist":{"shasum":"eb1359488064ec5a429bccc9d5659831dc0766f6","tarball":"https://registry.npmjs.org/@alexfunmula/file-uploader-mcp/-/file-uploader-mcp-0.0.1.tgz","fileCount":8,"integrity":"sha512-huevZ2AVS0vlEBF3JSUiV+weDwN7iH5EgQESem2aGM9xS0LGoqDc1Ss2BdlppHPZIx0zVM4Og2uiphvW1TU9BA==","signatures":[{"sig":"MEQCIEtNuxgBELLkttRpqN/YyAdMszzu5LataBVNxGSJamYtAiA8gXTHripRhrOEARzNP9HLObC+F7gooahiqOuy0Zr+Pg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8933},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"e6d06f9b7539137844ae314b2fbf8d759923bc58","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"alexfunmula","email":"alex@funmula.com"},"_npmVersion":"10.8.2","description":"MCP server for ploading files to OAP storage","directories":{},"_nodeVersion":"20.19.3","dependencies":{"zod":"^3.23.0","axios":"^1.13.2","form-data":"^4.0.5","mime-types":"^2.1.35","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0","@types/mime-types":"^2.1.4"},"_npmOperationalInternal":{"tmp":"tmp/file-uploader-mcp_0.0.1_1766397986746_0.5658958945971233","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@alexfunmula/file-uploader-mcp","version":"0.0.2","description":"MCP server for ploading files to OAP storage","type":"module","main":"dist/index.js","bin":{"file-uploader-mcp":"dist/index.js"},"scripts":{"build":"tsc","prepublishOnly":"npm run build"},"keywords":["mcp","model-context-protocol","file-upload","claude"],"author":"","license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","axios":"^1.13.2","form-data":"^4.0.5","mime-types":"^2.1.35","zod":"^3.23.0"},"devDependencies":{"@types/mime-types":"^2.1.4","@types/node":"^22.0.0","typescript":"^5.6.0"},"engines":{"node":">=18.0.0"},"_id":"@alexfunmula/file-uploader-mcp@0.0.2","gitHead":"e6d06f9b7539137844ae314b2fbf8d759923bc58","types":"./dist/index.d.ts","_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-lu67hib3YBHP9KjsGEj6Q1J9MTYMRPAyNEeCfUTFAdTXylHeLDe2iiIEcInH5QvJF7GCUOLBKbaUEe8XlYDLfQ==","shasum":"72d371b3c441c160cad83e01a302178f114a4398","tarball":"https://registry.npmjs.org/@alexfunmula/file-uploader-mcp/-/file-uploader-mcp-0.0.2.tgz","fileCount":8,"unpackedSize":8933,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDunoNDkBKMRqhEgoG0tUhuXw8EaleDFTvTOsLoGSLt2AiA9zrNhUc0dvKKEPSPRoobiBCTyc7H91Jl9JwjVgmq+FA=="}]},"_npmUser":{"name":"alexfunmula","email":"alex@funmula.com"},"directories":{},"maintainers":[{"name":"alexfunmula","email":"alex@funmula.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/file-uploader-mcp_0.0.2_1766398324894_0.25211940777980235"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-22T10:06:26.598Z","modified":"2025-12-22T10:12:05.263Z","0.0.1":"2025-12-22T10:06:26.884Z","0.0.2":"2025-12-22T10:12:05.049Z"},"license":"MIT","keywords":["mcp","model-context-protocol","file-upload","claude"],"description":"MCP server for ploading files to OAP storage","maintainers":[{"name":"alexfunmula","email":"alex@funmula.com"}],"readme":"# File Uploader MCP Server\n\nUploads files to a OAP (OpenAgentPlatform) remote storage API.\n\n## Installation\n```json\n{\n  \"mcpServers\": {\n    \"file-uploader\": {\n      \"command\": \"npx\",\n      \"args\": [\"@alexfunmula/file-uploader-mcp\"],\n      \"env\": {\n        \"OAP_CLIENT_KEY\": \"your-client-key\"\n      }\n    }\n  }\n}\n```\n\n## Configuration\n\nSet these environment variables before running:\n\n| Variable | Required | Default | Description |\n|----------|----------|---------|-------------|\n| `OAP_CLIENT_KEY` | Yes | - | Your OAP client key |\n| `OAP_STORAGE_BASE_URL` | No | `https://storage.oaphub.ai` | Base URL of the storage API |\n\n### Aquire OAP Client Key\n- Go to [oaphub.ai](https://oaphub.ai/)\n- Click Sign Up and create your account\n- Obtain your Client Key from [oaphub.ai/u/clientkeys](https://oaphub.ai/u/clientkeys)\n\n## Tool: `upload_file`\n\nUploads a file to storage and returns a URL.\n\n### Parameters\n\n| Name | Type | Required | Description |\n|------|------|----------|-------------|\n| `file_path` | string | Yes | Path to the file to upload |\n| `expire_after` | number | No | Seconds until file expires (minimum: 60, default: 60) |\n\n### Response\n\nReturns a JSON object with the uploaded file URL:\n\n```json\n{\n  \"url\": \"https://storage.oaphub.ai/v/xxxxxxxx/xxxxx.md\"\n}\n```\n\n\n## Local Development\n\nTo test the MCP server locally before publishing\n```bash\nnpm run build\n```\n\n```json\n{\n  \"mcpServers\": {\n    \"file-uploader\": {\n      \"command\": \"node\",\n      \"args\": [\"/path/to/file-uploader/dist/index.js\"],\n      \"env\": {\n        \"OAP_CLIENT_KEY\": \"your-client-key\"\n      }\n    }\n  }\n}\n```\n\n## Publishing\n\nThis package uses automated publishing via GitHub Actions. To release:\n- Create and push a git tag:\n   ```bash\n   git tag v0.1.0\n   git push origin v0.1.0\n   ```\n\nThe GitHub Action will automatically build and publish to npm.\n","readmeFilename":"README.md"}