
Pixeldrain
io.github.jkawamoto由 GitHub 帳號 jkawamoto 發布v0.9.1更新於 Oct 29, 2026
Upload, download, and share files, images, and text with Pixeldrain
概覽
本機 MCP 伺服器,讓助理把文字、圖片與檔案上傳到 Pixeldrain 並下載檔案,回傳可分享的連結。
- 可以做什麼
- 上傳一個或多個檔案(本機路徑、Base64 或 data URI),回傳檔案或相簿連結
- 把純文字或 Markdown 當成檔案上傳並取得下載連結
- 把 Pixeldrain 上的檔案下載到本機
- 將多個上傳內容合併成單一相簿連結
- 適用情境
- 適合讓助理透過 Pixeldrain 公開連結分享生成的圖片、截圖、日誌等輸出,或不必開啟瀏覽器就把 Pixeldrain 上的檔案或相簿下載到本機。
- 執行需求
- 以本機程序方式執行,透過 pd mcp 指令啟動;pd 執行檔需以 Homebrew、go install 或預先編譯的執行檔安裝。可匿名使用;可選擇設定 PIXELDRAIN_API_KEY 環境變數,讓上傳歸屬於你的帳號。需要能連線到 Pixeldrain 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Pixeldrain,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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
stdinor stream entire directories withtar. - 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:
You can optionally specify a custom display name using the path:name syntax:
Create Albums
Pass multiple files to group them into a single album. This is especially handy for collections of generated images or screenshots:
Download Files & Albums
Download files back to your local environment:
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:
Configuration (Claude Desktop / Cursor)
Add pixeldrain to your MCP configuration (e.g. claude_desktop_config.json):
[!NOTE] Setting
PIXELDRAIN_API_KEYis 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}, wheredatacan 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):
Upload a Directory
Stream and upload a directory archive directly without creating temporary files on disk:
End-to-End Encryption (E2EE)
Encrypt files locally before uploading with age or SSH public keys:
(Uploaded files will automatically have the .age extension).
To decrypt upon download, provide your private key with --identity:
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:
API keys can be generated at pixeldrain.com/user/api_keys.
Installation
Homebrew (macOS & Linux)
Go Install
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.
來源:README.md,提交 71f8495
工具
0版本歷史
1- v0.9.1最新Oct 29, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分