
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 分