npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@picfast/mcp

v0.2.1

Published

PicFast MCP Server — upload images and manage your image hosting via AI with local file access

Readme

@picfast/mcp

English | 中文

PicFast MCP 服务器 — 通过 AI 助手上传图片并管理你的图床,直接读取本地文件。

功能

  • 上传图片 — 直接从本地路径读取,无需 base64 编码
  • 列表、查看、删除 — 管理你账户中的图片
  • 用量统计 — 查看存储配额与图片数量
  • 资源协议 — 通过 MCP 资源访问用户信息和图片详情
  • 游客上传 — 无需 API Token 即可匿名上传(需 PicFast 实例开启游客上传)

安装

无需全局安装,直接使用 npx 运行:

npx @picfast/mcp

配置

在 MCP 客户端配置中设置环境变量:

| 变量 | 必填 | 说明 | |------|:----:|------| | PICFAST_BASE_URL | 是 | PicFast 服务地址(如 https://picfast.example.com) | | PICFAST_API_TOKEN | 否 | API Token,用于认证操作。不填则仅限游客上传。在 PicFast 控制台中创建(Token 以 img_ 开头) |

Claude Desktop

{
  "mcpServers": {
    "picfast": {
      "command": "npx",
      "args": ["-y", "@picfast/mcp"],
      "env": {
        "PICFAST_BASE_URL": "https://picfast.example.com",
        "PICFAST_API_TOKEN": "img_xxxxxxxx"
      }
    }
  }
}

Cursor / VS Code

在 MCP 设置面板中使用与 Claude Desktop 相同的配置格式。

工具

| 工具 | 需要 Token | 说明 | |------|:----------:|------| | upload_image | 否 | 上传本地图片文件 | | list_images | 是 | 分页列出图片 | | get_image | 是 | 获取图片详情与分享链接 | | delete_image | 是 | 按键值删除图片 | | get_usage_stats | 是 | 查看存储配额与用量 |

资源

| URI | 需要 Token | |-----|:----------:| | picfast://user/profile | 是 | | picfast://images/{key} | 是 |

游客模式

不设置 PICFAST_API_TOKEN 时,仅 upload_image 可用。上传的图片以匿名方式存储,不绑定账户。游客上传需在 PicFast 实例中开启(管理员设置 → 允许游客上传)。若游客上传被禁用,将收到错误提示,此时需设置 PICFAST_API_TOKEN 进行认证。

许可证

MIT