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

prism-figma-mcp

v0.3.0

Published

Figma MCP plugin — the full spectrum, revealed

Downloads

26

Readme

Prism

   ██████  ██████  ██ ███████ ███    ███
   ██   ██ ██   ██ ██ ██      ████  ████
   ██████  ██████  ██ ███████ ██ ████ ██
   ██      ██   ██ ██      ██ ██  ██  ██
   ██      ██   ██ ██ ███████ ██      ██

      The full spectrum, revealed.

A Figma MCP server that connects AI agents to Figma with 71 tools — including the only library token scanner that resolves variables in linked libraries you don't directly own.

Why Prism

The official Figma MCP is read-only (13 tools). Prism is read-write and design-system-aware:

| | Official Figma MCP | Prism | |---|---|---| | Tools | 13 | 71 | | Write access | No | Yes | | Library token resolution | No | Yes (scan_tokens) | | Arbitrary plugin execution | No | Yes (execute) | | Comment tools | No | Yes (REST API) |

Install

npm i prism-figma-mcp

Add to your .mcp.json:

{
  "mcpServers": {
    "prism": {
      "command": "npx",
      "args": ["-y", "prism-figma-mcp"],
      "env": {
        "FIGMA_PAT": "your-personal-access-token",
        "FIGMA_MCP_PORT": "7890"
      }
    }
  }
}

Then import the plugin in Figma (Plugins → Development → Import plugin from manifest) and click Connect.

Note: Until v0.3.0 is published to npm, install by cloning the repo and using node /path/to/prism/dist/mcp/index.js as the command. See CHANGELOG.md for release status.

Tools

71 tools across 14 categories:

| Category | Count | Examples | |----------|-------|----------| | Variables | 20 | Create collections, set aliases, bind to nodes, batch update/delete | | Components | 7 | Convert to components, variants, properties | | Layers | 15 | Rename, resize, move, auto layout, effects | | Text | 5 | Create text, apply styles, batch operations | | Pages | 6 | Create, rename, reorder, navigate | | Library Scanner | 1 | Full token audit including linked libraries (scan_tokens) | | Execute | 1 | Run arbitrary Figma plugin code | | Debugging | 3 | Console logs, watch, clear | | Screenshots | 1 | Export nodes as images | | Comments | 3 | Read, post, delete (REST API) | | Search | 2 | Components across file + libraries | | FigJam | 2 | Stickies, board contents | | Generation | 2 | Build from spec, validate specs | | Query | 3 | Selection, layers, file info |

Known Limitations

| Limitation | Cause | Workaround | |------------|-------|------------| | Cannot set constraints on BooleanOperationNode | Figma plugin API does not allow extending this node type | Wrap the boolean operation node in a frame and apply constraints to the frame instead |

Architecture

AI Agent <-> MCP Server <-> WebSocket Bridge <-> Plugin UI <-> Plugin Code
             (stdio)         (ws://7890)          (iframe)      (sandbox)

Three processes (unavoidable — Figma sandbox constraint):

  • MCP Server — registers tools, receives requests from the AI agent, sends to bridge
  • Bridge — WebSocket relay on port 7890
  • Plugin — runs inside Figma, executes commands in the plugin sandbox

Build

npm install
npm run build

Reference consumers

  • Bolton Metro (bysixteen/bolton-metro) — active consumer; uses Prism for design token sync between CSS Custom Properties and Figma variables

Acknowledgements

See ATTRIBUTION.md for Prism-specific external sources.

For shared bysixteen design-engineering concepts, see field-notes/ATTRIBUTION.md.

License

MIT