storj-uplink-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
storj-uplink-mcp
storj-uplink-mcp is a Model Context Protocol (MCP) server for Storj decentralized cloud storage. It lets AI assistants such as Claude Desktop, Cursor, Windsurf and VS Code Copilot upload, download, list, search, share and manage files on Storj using natural language, through 28 tools built on the storj-uplink-nodejs native binding.
"Upload this file to my photos bucket"
"List all objects in my backup bucket"
"Generate a share link for report.pdf"
Table of Contents
Related MCP server: Backblaze B2 MCP Server
Features
πͺ£ Bucket management β create, list, stat, usage summary, delete (single or batch with glob patterns)
π Object operations β upload, download, copy, move, delete, stat, update metadata
ποΈ Bulk transfers β upload a whole directory or download a whole prefix, streamed with per-file progress
π Smart reading of large files β
peek_object_head,peek_object_tailandgrep_objectfetch only the bytes they need, so a multi-GB log never enters the AI's contextποΈ Batch delete β delete multiple buckets or objects by name list, prefix, or glob pattern (
*.log,tmp-*)π Sharing β public URLs, restricted access grants, and S3-compatible credentials (least privilege, time-limited, prefix-scoped)
π§Ή Multipart housekeeping β find and abort incomplete multipart uploads that still cost storage
πΌοΈ Interactive browser β hosts that support MCP Apps render
list_bucketsandlist_objectsas one sortable, filterable browser: open a bucket, walk folders, preview files; other hosts get the same result as textβ‘ Configurable chunk size β tune upload/download buffer size (4 KB β 64 MB) for optimal performance
π Progress and cancellation β MCP progress notifications for long operations; client cancellation stops transfers mid-stream
π‘οΈ Hardened by default β path-traversal and Zip-Slip guards, symlink-safe directory walks, prompt-injection sanitising of untrusted keys and content, secret redaction, audit log on stderr
π Encrypted credentials β AES-256-GCM encryption with machine-specific key,
chmod 600π³ Docker β image built on Docker Hardened Images (non-root, no shell, SBOM-attested) and a hardened compose file (see infra/)
π₯οΈ Multi-client β works with Claude Desktop, Cursor, Windsurf, VS Code Copilot, and any MCP client
π Cross-platform β macOS, Linux, Windows
Quick Start
Step 1 β Install and run the setup wizard
Global install
npm install -g storj-uplink-mcp # Install globally
storj-uplink-mcp-setup # Run setup wizardLocal install
npm install storj-uplink-mcp # Install locally
npx storj-uplink-mcp-setup # Run setup wizard (recommended)
# Or:
./node_modules/.bin/storj-uplink-mcp-setupThe wizard will ask for your Storj credentials (Access Grant or Satellite + API Key + Passphrase) and save them encrypted on your machine. You only need to do this once.
Get an Access Grant: Log in to Storj Console β Access β Create Access Grant β select permissions β copy the grant string.
Step 2 β Add to your AI client config
π‘ Tip: Not sure where the config file is? Run the helper command for your client to find or open it:
Client
Find config path
Claude Desktop
macOS:
open ~/Library/Application\ Support/Claude/Windows:explorer %APPDATA%\Claude\Cursor
cursor --locate-mcp-configor check~/.cursor/mcp.jsonWindsurf
Check
~/.codeium/windsurf/mcp_config.jsonVS Code
Create
.vscode/mcp.jsonin your workspace, or open User Settings JSON (Cmd+Shift+Pβ "Open User Settings (JSON)")Config paths vary by OS and version. When in doubt, check your client's official docs.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"storj": {
"command": "storj-uplink-mcp",
"args": []
}
}
}If you installed globally, use "command": "storj-uplink-mcp". If you prefer npx, use:
{
"mcpServers": {
"storj": {
"command": "npx",
"args": ["storj-uplink-mcp"]
}
}
}Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"storj": {
"command": "storj-uplink-mcp",
"args": []
}
}
}Windsurf
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"storj": {
"command": "storj-uplink-mcp",
"args": []
}
}
}VS Code (Copilot)
Create .vscode/mcp.json in your workspace:
{
"servers": {
"storj": {
"type": "stdio",
"command": "npx",
"args": ["storj-uplink-mcp"]
}
}
}Or add to your User Settings JSON (Cmd+Shift+P β "Preferences: Open User Settings (JSON)"):
{
"mcp": {
"servers": {
"storj": {
"type": "stdio",
"command": "npx",
"args": ["storj-uplink-mcp"]
}
}
}
}Step 3 β Restart your AI client
Fully quit and reopen Claude, Cursor, or Windsurf. Then try:
"List my Storj buckets" "Upload this text as notes/todo.txt in my bucket" "Generate a share URL for bucket/photo.jpg"
Alternative: Environment Variables
If you prefer not to use the setup wizard (useful for CI, Docker, or power users):
{
"mcpServers": {
"storj": {
"command": "npx",
"args": ["storj-uplink-mcp"],
"env": {
"STORJ_ACCESS_GRANT": "your-access-grant-string"
}
}
}
}Or with individual credentials:
{
"env": {
"STORJ_SATELLITE": "us1.storj.io:7777",
"STORJ_API_KEY": "your-api-key",
"STORJ_PASSPHRASE": "your-passphrase"
}
}Env vars take priority over the config file.
Optional display setting, independent of credentials:
Variable | Effect |
| IANA time zone for timestamps in tool output, e.g. |
list_buckets also accepts sort_by: "created" to order by creation time instead of Storj's name order.
Managing Credentials
Credential commands (global install)
storj-uplink-mcp-setup # Setup/reconfigure
storj-uplink-mcp-setup --status # Check credential source
storj-uplink-mcp-setup --reset # Delete saved configCredential commands (local install)
npx storj-uplink-mcp-setup # Setup/reconfigure
npx storj-uplink-mcp-setup --status # Check credential source
npx storj-uplink-mcp-setup --reset # Delete saved config
# Or:
./node_modules/.bin/storj-uplink-mcp-setup --resetCredentials are stored encrypted at ~/.storj-mcp/config.json using AES-256-GCM with a machine-specific key. The file is only readable by your user account (chmod 600).
Available Tools
28 tools. Every tool declares MCP annotations (read-only / destructive / idempotent) so clients can ask before destructive calls.
Buckets
Tool | Description |
| List all buckets (optionally |
| Create a bucket (idempotent) |
| Name and creation time of one bucket; cheap existence check |
| Object count and total bytes for a bucket or prefix, like |
| Delete a bucket (optionally with all objects) |
| Delete multiple buckets by name list or glob pattern |
Objects
Tool | Description |
| List objects in a bucket, with optional prefix filter. Returns structured output and renders as an interactive browser in MCP Apps hosts |
| Object info: size, creation date, expiry, metadata |
| Delete an object |
| Delete multiple objects by key list, prefix, or glob pattern |
| Copy an object to a new key or bucket |
| Move or rename an object |
| Update custom metadata on an object |
Upload and download
Tool | Description |
| Upload text/string content as an object (optional metadata, expiry, chunk size) |
| Stream a local file to Storj without loading it into memory |
| Recursively upload a folder under a key prefix; skips symlinks and sensitive paths |
| Download an object and return its content as text (50 MB limit) |
| Stream an object to a local path |
| Download every object under a prefix (or a whole bucket) to a folder, preserving layout |
Reading large files without downloading them
Tool | Description |
| First N lines of an object (CSV headers, JSON structure, config files) |
| Last N lines of an object, fetching only the final 512 KB (recent log entries) |
| Stream-search an object for a keyword with optional context lines; stops at |
Sharing and access
Tool | Description |
| Public linkshare URL for an object, optionally expiring |
| S3-compatible access key, secret and endpoint for rclone, aws-cli or any S3 SDK, scoped to a bucket/prefix with least-privilege permissions |
| Restricted, serialized access grant (permissions, prefix, expiry) |
| Serialize the current access grant to a string |
Multipart housekeeping
Tool | Description |
| Pending (incomplete) multipart uploads that still consume storage |
| Abort one incomplete multipart upload and free its storage |
Running in Docker
Released versions are published to Docker Hub as shivam995364/storj-uplink-mcp: linux/amd64, built on Docker Hardened Images, scanned with Trivy on every build, with SBOM and provenance attestations attached.
1. Pull the image
docker pull shivam995364/storj-uplink-mcp:latestEvery release tag publishes :latest, the exact version (:1.0.2), and the moving :1.0 and :1 tags. Pin the exact version in production.
2. Run it
The server speaks the MCP stdio transport: the client starts the process and exchanges JSON-RPC over stdin and stdout. There is no daemon and no port to publish, so the container is started per session with -i and given credentials at run time.
docker run -i --rm \
--read-only \
--tmpfs /tmp:rw,noexec,nosuid,nodev,size=64m \
--cap-drop ALL \
--security-opt no-new-privileges \
--pids-limit 128 \
--memory 512m \
-e STORJ_ACCESS_GRANT="your-access-grant" \
shivam995364/storj-uplink-mcp:latestKeep the grant out of your shell history by putting it in a file instead and passing --env-file /path/to/storj.env. The file holds either STORJ_ACCESS_GRANT=... or the STORJ_SATELLITE_ADDRESS / STORJ_API_KEY / STORJ_PASSPHRASE trio; chmod 600 it. Nothing is ever baked into the image.
To check the image works before wiring up a client, send a handshake by hand. It prints the server info and the tool list:
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"cli","version":"0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list"}' \
| docker run -i --rm shivam995364/storj-uplink-mcp:latest3. Point your AI client at the image
Use the same flags as the command above, with your credentials file:
{
"mcpServers": {
"storj": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"--read-only",
"--tmpfs", "/tmp:rw,noexec,nosuid,nodev,size=64m",
"--cap-drop", "ALL",
"--security-opt", "no-new-privileges",
"--pids-limit", "128",
"--memory", "512m",
"--env-file", "/absolute/path/to/storj.env",
"-v", "/absolute/path/to/exchange:/data",
"shivam995364/storj-uplink-mcp:latest"
]
}
}
}The -v mount is what makes the file tools usable: upload_file, upload_directory, download_file and download_prefix see the container's filesystem, which is read-only apart from /tmp. Mount a host folder and refer to /data/... in your prompts. Drop the mount if you only use the text and listing tools.
On Apple Silicon add "--platform", "linux/amd64"; the image runs under emulation because the native Storj binding ships a linux-x64 prebuilt.
Build it yourself
The Dockerfile, a compose file with the same hardening, and the full security notes are in infra/:
npm run docker:buildDevelopment
npm test # unit + protocol tests (Vitest, in-memory MCP transport)
npm run lint # ESLint (type-aware) incl. the 200-line file limit
npm run typecheck
npm run knip # unused exports / dependencies
npm run inspect # MCP Inspector against the built server
npm run dev:storj up # private Storj network in Docker (storj-up) for testing
npm run test:e2e # full tool lifecycle against that local networkThe code is organised as vertical slices (one folder per feature with schema.ts, handlers.ts, tools.ts); see ARCHITECTURE.md. The local Storj network for testing without touching the real network is documented in infra/dev/README.md.
Uninstalling
1. Remove the MCP server config from your AI client
Remove the "storj" entry from the config file you added it to:
Client | Config location |
Claude Desktop | macOS: |
Cursor |
|
Windsurf |
|
VS Code |
|
2. Delete saved credentials
# Using the setup CLI:
storj-uplink-mcp-setup --reset
# Or npx:
npx storj-uplink-mcp-setup --reset
# Or manually remove the config directory:
rm -rf ~/.storj-mcp3. Uninstall the package
# If installed globally:
npm uninstall -g storj-uplink-mcp
# If installed locally in a project:
npm uninstall storj-uplink-mcp4. Verify removal
# Should return nothing / "not found":
which storj-uplink-mcp
npm list -g storj-uplink-mcpFAQ
What is storj-uplink-mcp?
An MCP server that connects AI assistants to Storj object storage. Once configured, you can ask Claude Desktop, Cursor, Windsurf or VS Code Copilot to manage buckets and files on Storj in plain language; the assistant calls the server's tools on your behalf.
Which AI clients does it work with?
Any client that implements the Model Context Protocol over stdio: Claude Desktop, Claude Code, Cursor, Windsurf, VS Code Copilot and others. Clients that support MCP Apps also render an interactive file browser for bucket and object listings.
Where are my Storj credentials stored?
Either in environment variables or in ~/.storj-mcp/config.json, encrypted with AES-256-GCM using a machine-specific key and readable only by your user. Credentials never leave your machine and are redacted from every error message and log line.
Can it read large files without downloading them?
Yes. peek_object_head, peek_object_tail and grep_object fetch only the bytes they need, so a multi-gigabyte log can be inspected without pulling it into the assistant's context.
Does it work with S3 tools?
Yes. get_s3_credentials issues S3-compatible credentials scoped to one bucket or prefix, with least-privilege permissions and an optional expiry, for use with rclone, the AWS CLI or any S3 SDK.
Is there a way to test it without a Storj account?
Yes. infra/dev starts a private Storj network in Docker (built on storj-up, the tool Storj uses for its own testing) and runs the full tool suite against it.
Why Storj?
Storj is a decentralized cloud storage platform that provides:
S3-compatible β drop-in replacement for Amazon S3
End-to-end encryption β data is encrypted client-side before upload
Distributed β files are split, encrypted, and stored across a global network of nodes
No egress fees β predictable pricing with no surprise bandwidth charges
99.95% availability β built-in redundancy across thousands of nodes
Open source β fully open-source storage infrastructure
Requirements
Node.js 18+
A Storj account with an API key or Access Grant (free tier available β 25 GB storage, 25 GB bandwidth/month)
Related Projects
storj-uplink-nodejs β the Node.js native binding for Storj's uplink-c library that this server is built on
Model Context Protocol β the open protocol that connects AI assistants to tools and data
Storj documentation β buckets, access grants, S3 compatibility and the Storj network
Contributing
Issues and pull requests are welcome! See the GitHub repository.
License
MIT Β© Shivam Kumar
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Search, organize and share the files in your S3-compatible buckets from your AI assistant.
Upload, generate, organize, search, and transform images, videos, and files with AI-powered tools.
Upload, generate, organize, search, and transform images, videos, and files with AI-powered tools.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to manage MinIO object storage through comprehensive bucket operations, file uploads/downloads, batch processing, permissions management, and URL generation. Supports both automatic and manual connection modes with flexible authentication options.1918 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables seamless integration with Backblaze B2 cloud storage for managing buckets, uploading/downloading files, handling large multipart uploads, and managing application keys through natural language interactions.3MIT
- FlicenseNot gradedqualityAmaintenanceEnables LLMs and AI agents to directly access and operate on files in supported cloud storage, with tools for listing, reading, creating, deleting, moving, renaming, downloading, uploading, semantic search, share links, and URL upload tasks over SSE.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to manage S3-compatible storage through 39 tools covering buckets, objects, versions, policies, CORS, lifecycle, tags, encryption, presigned URLs, and multipart cleanup, either as a shared Streamable HTTP service or a local stdio process. It turns a local file path into a public URL in a single call while keeping storage credentials on the server.MIT