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

cc-talk-to-figma-mcp

v0.1.1

Published

Talk to Figma MCP Server - Claude Code compatible fork with image export fix

Readme

cc-talk-to-figma-mcp

基于 cursor-talk-to-figma-mcp 的 Claude Code 兼容 fork。

为什么有这个 fork

原版 cursor-talk-to-figma-mcpexport_node_as_image 工具返回 MCP image content block(type: "image"),Cursor 可以正常处理,但 Claude Code 不支持该 content block 类型,导致整个 tool result 被静默丢弃,表现为调用成功但返回空。

本 fork 的修复方案:

  • 将导出的图片 base64 数据解码后写入临时文件(/tmp/figma-exports/
  • 返回 type: "text" content block,包含文件路径
  • Claude Code 通过 Read 工具读取图片文件(多模态能力),即可看到设计稿内容

除此修复外,其余功能与原版完全一致。

安装

Claude Code

~/.claude.jsonmcpServers 中添加:

{
  "mcpServers": {
    "TalkToFigma": {
      "command": "bunx",
      "args": ["cc-talk-to-figma-mcp@latest"]
    }
  }
}

Cursor

同样可以使用本包,在 ~/.cursor/mcp.json 中添加相同配置。

前置依赖

  1. 安装 Bun
  2. 启动 WebSocket 中继服务器:bun socket(或使用原版的 socket server)
  3. 在 Figma 中安装 Cursor MCP Plugin

使用

  1. 启动 WebSocket server
  2. 打开 Figma,运行 Cursor MCP Plugin
  3. 在 Claude Code / Cursor 中使用 join_channel 连接
  4. 通过 MCP 工具操作 Figma

导出图片(修复后的用法)

# Claude Code 中
1. export_node_as_image → 返回文件路径
2. Read 工具读取该路径 → 模型看到图片内容

MCP 工具列表

完整工具列表与原版一致,详见 原版文档

致谢

License

MIT(继承自原项目)