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

figma-mcp-but-free

v0.4.1

Published

Figma MCP server — free, no rate limits, full read/write via plugin bridge

Readme

Figma MCP Server

A Model Context Protocol (MCP) server that bridges Claude to Figma via WebSocket. Read and modify Figma designs programmatically through natural language.

Architecture

  • MCP Server (src/index.ts) — Registers tools and prompts, communicates via WebSocket bridge
  • Bridge (src/bridge.ts) — WebSocket connection manager with request tracking and timeout handling
  • Tools (src/tools/) — 40+ MCP tools organized into read, write-create, write-modify, write-other, export, and meta modules
  • Figma Plugin (plugin/) — Runs inside Figma, executes operations on the canvas, sends results back

Setup

  1. Install dependencies:

    bun install
  2. Build the server:

    bun run build
  3. Register the MCP server in your client.

    A ready-to-use workspace config is included at .vscode/mcp.json.

    Use one of these launch modes:

    • Local build: node /absolute/path/to/dist/index.js
    • NPX package: npx -y figma-mcp-but-free

    VS Code (.vscode/mcp.json or user MCP config):

    {
       "servers": {
          "figma-mcp-but-free": {
             "type": "stdio",
             "command": "npx",
             "args": ["-y", "figma-mcp-but-free"]
          }
       }
    }

    Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

    {
       "mcpServers": {
          "figma-mcp-but-free": {
             "command": "npx",
             "args": ["-y", "figma-mcp-but-free"]
          }
       }
    }

    If you are running from a local checkout instead of an npm package, keep using node with the absolute dist/index.js path.

    Optional: set FIGMA_BRIDGE_PORT if you need a non-default port.

  4. Install the Figma plugin:

    • Open Figma → Plugins → Development → Import plugin from manifest
    • Select plugin/manifest.json
  5. Start the MCP server:

    bun run start
  6. Run the Figma plugin and connect it to the WebSocket bridge (default: ws://127.0.0.1:1994)

Tools

Read Tools

  • get_document — Get the full Figma document tree
  • get_metadata — Get file name, pages, and current page info
  • get_pages — List all pages in the Figma file
  • get_selection — Get currently selected nodes
  • get_node — Get a single node by ID
  • get_nodes_info — Get multiple nodes by IDs
  • get_design_context — Get node context with configurable depth
  • search_nodes — Search nodes by name and type
  • scan_text_nodes — Find all text nodes in a subtree
  • scan_nodes_by_types — Find nodes matching specific types
  • get_viewport — Get current viewport state
  • get_styles — Get local paint, text, effect, and grid styles
  • get_variable_defs — Get variable definitions
  • get_local_components — Get local components
  • get_annotations — Get node annotations
  • get_fonts — Get font usage statistics
  • get_reactions — Get prototype reactions
  • get_screenshot — Take a screenshot as base64
  • export_tokens — Export design tokens as JSON or CSS

Write Tools

  • create_frame, create_rectangle, create_ellipse, create_text, create_component_instance, create_section
  • set_text, set_fills, set_strokes, set_opacity, set_visibility, set_dimensions, set_rotation, set_auto_layout, set_corner_radius, set_effects
  • create_paint_style, create_text_style, create_effect_style, create_grid_style, apply_style
  • create_variable, set_variable_value
  • add_reaction, set_navigation, set_overlay
  • create_page, navigate_to_page
  • group_nodes, ungroup_node, swap_component, detach_instance
  • delete_node, move_node

Export Tools

  • save_screenshots — Save screenshots of multiple nodes
  • export_frames_to_pdf — Export frames as PDF

Meta Tools

  • get_connection_status — Check WebSocket connection status
  • batch — Execute multiple tool calls in one request

License

MIT