Pixeldrain

io.github.jkawamotoPublished by GitHub account jkawamotov0.9.1Updated Oct 29, 2026

Upload, download, and share files, images, and text with Pixeldrain

VerifiedSTDIODesktop onlyFiles & StorageMedia & Design

Overview

AI-generated overview

Local MCP server that lets an assistant upload text, images and files to Pixeldrain and download files back, returning shareable links.

What you can do
  • Upload one or more files, given as local paths, Base64 or data URIs, and get a file or album link
  • Upload plain text or markdown as a file and get a download URL
  • Download a Pixeldrain file to the local machine
  • Group several uploads into a single album URL
When to use it
Useful when you want an assistant to share generated images, screenshots, logs or other outputs through a public Pixeldrain link, or to pull a Pixeldrain file or album down to the local machine without opening a browser.
Requirements
Runs as a local process started with the pd mcp command; the pd binary is installed via Homebrew, go install or pre-built binaries. Works anonymously; setting the PIXELDRAIN_API_KEY environment variable is optional and ties uploads to your account. Network access to Pixeldrain is required.
Before you install
Uploaded content is sent to Pixeldrain, a third-party service, and shared via links; do not upload secrets or private data. The optional PIXELDRAIN_API_KEY is a credential and should be kept out of shared configuration. Downloads write files to the local machine.

Installation

In SourceWeft

  1. Open Pixeldrain in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

pd (Pixeldrain CLI & MCP Server)

[Go application] [Go Reference] [MIT License] [MCP Ready]

pd is a command-line interface, Model Context Protocol (MCP) server, and Go SDK for Pixeldrain.

It provides an easy way to upload, download, and share files or albums directly from your terminal, shell scripts, and AI workflows without needing to open a browser.

Features

  • Quick File & Media Sharing: Upload files from the command line and get a shareable Pixeldrain link instantly. Convenient for sharing AI-generated images, screenshots, or outputs in chats and forums.
  • AI & MCP Integration: Built-in MCP server (pd mcp) that lets AI tools (such as Claude Desktop and Cursor) upload and download files on your behalf.
  • Album Support: Combine multiple files into a single Pixeldrain album URL with --album.
  • End-to-End Encryption: Encrypt files client-side using age or SSH public keys before uploading.
  • Unix Pipeline Friendly: Pipe data directly from stdin or stream entire directories with tar.
  • Optional Account Binding: Works anonymously out of the box, or with your Pixeldrain API key to keep files organized in your account.

Quick Start

Upload Files & Media

Upload any file to Pixeldrain and receive a download link:

shell
pd upload artwork.png# => https://pixeldrain.com/u/xxxxxx

You can optionally specify a custom display name using the path:name syntax:

shell
pd upload output_0042.png:cyberpunk-city.png

Create Albums

Pass multiple files to group them into a single album. This is especially handy for collections of generated images or screenshots:

shell
pd upload --album "Neon Dreams" concept1.png concept2.png concept3.png# => https://pixeldrain.com/l/xxxxxx

Download Files & Albums

Download files back to your local environment:

shell
# Download a single file (saved to current directory by default)pd download https://pixeldrain.com/u/xxxxxx
# Download all files from an album without interactive promptspd download --all https://pixeldrain.com/l/xxxxxx
# Specify destination directory or filenamepd download -o ./downloads https://pixeldrain.com/u/xxxxxxpd download --filename custom.png https://pixeldrain.com/u/xxxxxx

MCP Server (AI Integration)

pd includes a built-in Model Context Protocol (MCP) server, allowing AI agents to upload text, images, and files directly to Pixeldrain.

Start the server via:

shell
pd mcp

Configuration (Claude Desktop / Cursor)

Add pixeldrain to your MCP configuration (e.g. claude_desktop_config.json):

json
{  "mcpServers": {    "pixeldrain": {      "command": "pd",      "args": ["mcp"],      "env": {        "PIXELDRAIN_API_KEY": "your_api_key_here"      }    }  }}

[!NOTE] Setting PIXELDRAIN_API_KEY is optional. If configured, files uploaded by the AI agent will belong to your Pixeldrain account.

Available MCP Tools:

  • upload_files: Upload one or more files (images, audio, archives) and return a file or album URL. Each file uses {name, data}, where data can be a local file path, Base64, or a Base64 data URI.
  • upload_text: Upload plain text or markdown as a file and return a download URL.
  • download_file: Download a file from Pixeldrain to the local machine.

Advanced Usage

Upload from STDIN (Logs, Diffs, Pipelines)

Pass - as the path to upload data from standard input (prepend -- to ensure - is not treated as a flag):

shell
# Upload command output or logscat build.log | pd upload -- -:build.log
# Upload a git diffgit diff | pd upload -- -:patch.diff

Upload a Directory

Stream and upload a directory archive directly without creating temporary files on disk:

shell
tar zcf - ~/Projects/my-app | pd upload -- -:my-app.tar.gz

End-to-End Encryption (E2EE)

Encrypt files locally before uploading with age or SSH public keys:

shell
# Encrypt with an age public key or SSH keypd upload --recipient "age1..." secret.pdfpd upload --recipient "ssh-ed25519 AAAA..." secret.pdf
# Encrypt for multiple recipients using a filepd upload --recipient-file recipients.txt secret.pdf

(Uploaded files will automatically have the .age extension).

To decrypt upon download, provide your private key with --identity:

shell
pd download --identity ~/.ssh/id_ed25519 https://pixeldrain.com/u/xxxxxx

Account Authentication

To associate uploads with your Pixeldrain account, provide your API key via the --api-key flag or the PIXELDRAIN_API_KEY environment variable:

shell
export PIXELDRAIN_API_KEY="your-api-key"pd upload file.zip
# Or via command flag:pd --api-key "your-api-key" upload file.zip

API keys can be generated at pixeldrain.com/user/api_keys.

Installation

Homebrew (macOS & Linux)

shell
brew tap jkawamoto/pixeldrainbrew install pixeldrain

Go Install

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

Pre-built Binaries

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

Go Library Usage

go-pixeldrain also provides a Go client library for the Pixeldrain REST API.

See the package documentation on pkg.go.dev for API reference and usage examples.

License

This software is released under the MIT License.

Source: README.md at commit 71f8495

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.9.1LatestOct 29, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts