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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@croquiscom/mcp-tools

v0.2.6

Published

Model Context Protocol server for Figma integration

Readme

MCP Tools

제공하는 툴

  • PDS 기반으로 만들어진 피그마 디자인을 @croquiscom/pds 기반의 리액트 코드로 제너레이션 해주는 툴
  • GraphQL schema 기반으로 client graphql과 fixture를 생성해주는 툴

사용법은 여기에서 확인하세요.

Getting Started

아래 사용하시는 코드 에디터에 맞게 세팅 후 사용하시면 됩니다.

피그마 Personal Access Token 발급

피그마 Personal Access Token 발급 가이드를 참고해 토큰을 발급받으세요. 아래 권한이 포함되어야 합니다.

에디터 세팅

Cursor

Shift + CMD + p -> Cursor Settings -> MCP -> Add new global MCP server 클릭 -> 아래 코드 복붙 -> 저장 -> 스위치 토글

{
  "mcpServers": {
    "ks-mcp-tools": {
      "command": "npx",
      "args": ["-y", "@croquiscom/mcp-tools", "--figma-api-key=YOUR-KEY", "--stdio"]
    }
  }
}

Cursor MCP 설정 화면

위 세팅이 완료 되었다면 Cursor의 챗 모드를 Agent 모드로 변경합니다.

Cursor Agent Mode

VSCode

Shift + CMD + p -> Preferences: Open User Settings (JSON) -> 아래 코드 붙붙 -> Start 클릭

"mcp": {
  "servers": {
    "ks-mcp-tools": {
      "command": "npx",
      "args": [
        "-y",
        "@croquiscom/mcp-tools",
        "--figma-api-key=YOUR-KEY",
        "--stdio"
      ]
    }
  }
}

VSCode MCP 설정 화면

위 세팅이 완료 되었다면 VSCode의 챗 모드를 Agent 모드로 변경합니다.

VSCode Agent Mode

사용법

PDS 기반으로 만들어진 피그마 디자인을 @croquiscom/pds 기반의 리액트 코드로 제너레이션 해주는 툴 사용 예제

피그마에서 원하는 영역을 선택 후 오른쪽 마우스 클릭 -> Copy link to Selection 클릭 -> 챗에 복사된 피그마 링크 삽입 후 적용 요청과 함께 실행합니다.

예제 프롬프트)

https://www.figma.com/design/XXX?node-id=4041-64485&m=dev 

이 피그마 링크 pds 사용해서 만들어줘

피그마 link copy

GraphQL schema 기반으로 client graphql과 fixture를 생성해주는 툴 툴 사용 예제

예제 프롬프트)

graphql api interfaces 변경된 코드 기반 예시

api diff에 대한 graphql, fixture 만들어줘

graphql schema string 첨부 기반 예시


sample_query(param1: String, param2: Int): String!

createSampleMutation(input: SomeInput!): Boolean!

input SomeInput {
  arg1: String
  arg2: Int
}

이 graphql schema 기반으로 graphql, fixture 만들어줘