open-index/open-npm huggingface dataset:
npm package: @idfunctor/framegen
Description: A CLI tool to generate Cursor MCP configuration for Figma integration
Latest version: 1.0.3

# @idfunctor/framegen

A simple CLI tool to generate Cursor MCP configuration for Figma integration.

## Usage

```bash
npx @idfunctor/framegen FIGMA_API_KEY
```

This will create a `.cursor/mcp.json` file in your current directory with the necessary configuration for Figma MCP integration.

## What it does

The tool creates a `.cursor/mcp.json` file with the following configuration:

```json
{
  "mcpServers": {
    "Framelink Figma MCP": {
      "command": "npx",
      "args": [
        "-y",
        "figma-developer-mcp",
        "--figma-api-key=YOUR_API_KEY",
        "--stdio"
      ]
    }
  }
}
```

## Requirements

- Node.js
- A valid Figma API key

## License

MIT