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

@fridaplatform-stk/figma2frida-mcp

v1.0.9

Published

Figma to Frida MCP Server - Bridge between Figma Desktop MCP and design system components with Pinecone search

Downloads

75

Readme

Figma2Frida MCP Server

AI-powered bridge between Figma designs and your organization's design system components

🎯 What Is Figma2Frida?

Figma2Frida MCP Server is a bridge that connects your AI coding assistant (Claude, Cursor, GitHub Copilot) with Figma designs and your organization's design system. It enables you to:

  • Generate production-ready code directly from Figma designs
  • Automatically use components from your design system library
  • Match components intelligently using AI-powered semantic search
  • Preserve exact layouts - spacing, alignment, and visual hierarchy from Figma
  • Get component documentation - props, types, and usage examples included

Available Tools

Your AI assistant gets four specialized tools:

  1. figma_get_design_context - Generate code from Figma with automatic component matching (main tool)
  2. figma_suggest_components - Browse and discover design system components
  3. figma_get_screenshot - Quick visual reference from Figma
  4. figma_improve_layout - Fine-tune generated code to match Figma exactly

🔄 How It Works

1. Select design in Figma
   ↓
2. Ask your AI: "Generate code for this design"
   ↓
3. MCP fetches design → Searches your component library → Uses Frida AI
   ↓
4. Get production-ready code with your design system components

Behind the scenes:

  • Connects to Figma Desktop (local MCP server)
  • Searches your component library in Pinecone
  • Uses Frida AI for intelligent component matching
  • Validates your session token via Firebase

📦 Installation

Step 1: Install the Package

npm install -g @fridaplatform-stk/figma2frida-mcp

Step 2: Configure Your AI Assistant

Add to your configuration file:

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

{
  "mcpServers": {
    "figma2frida": {
      "command": "npx",
      "args": [
        "@fridaplatform-stk/figma2frida-mcp",
        "--session-token",
        "YOUR_SESSION_TOKEN"
      ]
    }
  }
}

Cursor (similar configuration in settings):

{
  "mcpServers": {
    "figma2frida": {
      "command": "npx",
      "args": [
        "@fridaplatform-stk/figma2frida-mcp",
        "--session-token",
        "YOUR_SESSION_TOKEN"
      ]
    }
  }
}

Step 3: Restart Your AI Assistant

Restart Claude Desktop, Cursor, or your IDE to load the MCP server.

🔑 Getting Session Tokens

To use Figma2Frida, you need:

  • Session token - Temporary authentication token used by the MCP server

How to Get a Session Token

Use the Frida Code Copilot extension to create/select a project and connect. The extension creates a session automatically and writes MCP settings for you.

For external agents (Cursor/Claude/Windsurf), copy the generated config from:

~/Library/Application Support/Code/User/globalStorage/fridaplatform.fridagpt/fridagpt_mcp_settings.json

💡 Recommended: Frida Code Copilot Extension

For the best experience, also install the Frida Code Copilot VS Code Extension:

  • Automatically manages your projects and components
  • Visual component browser in VS Code
  • Real-time component library updates
  • Works seamlessly with this MCP server

📋 Prerequisites

  • Node.js 18+
  • Figma Desktop with MCP enabled
  • Valid session token (generated by Frida Code Copilot extension)

🚀 Example Usage

Once configured, simply ask your AI assistant:

"Generate React code for this Figma button component"
"What card components are available in my design system?"
"Update this code to match the Figma spacing exactly"

The AI will automatically use the Figma2Frida tools to help you.

🐛 Troubleshooting

"Authentication failed" → Verify your --session-token is valid and not expired

"Not connected to Figma MCP" → Make sure Figma Desktop is running with MCP enabled

"Missing required argument" → Check --session-token is present in your config

"Rate limit exceeded" → Wait a few minutes before trying again

🤝 Support

  • Softtek Frida Team: Contact for access tokens and support

📄 License

MIT License

👥 Author

Frida Platform STK - Softtek


Made with ❤️ by the Frida team