Skip to content

PixelDrain CLI & MCP Server

Upload, download, and share files, media, and albums directly from your terminal, shell scripts, pipelines, and AI workflows without opening a browser.

pd - Pixeldrain CLI & MCP tool

Quick Installation

Homebrew (macOS & Linux)

brew tap jkawamoto/pixeldrain
brew install pixeldrain

Go Install

go install github.com/jkawamoto/go-pixeldrain/cmd/pd@latest

Pre-compiled binaries for macOS, Linux, and Windows are also available on GitHub Releases.

Quick Start in 30 Seconds

# Upload a file and get a shareable link
pd upload artwork.png
# => https://pixeldrain.com/u/xxxxxx

# Upload multiple files as a single album
pd upload --album "My Project" screenshot1.png screenshot2.png
# => https://pixeldrain.com/l/xxxxxx

# Download a file or full album
pd download https://pixeldrain.com/u/xxxxxx
pd download --all https://pixeldrain.com/l/xxxxxx

# Start MCP server for AI tools
pd mcp