How to add figma mcp to cursor in windows

I got a client closed error, with the mcp config following:

{
  "mcpServers": {
    "Framelink Figma MCP": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "figma-developer-mcp", "--figma-api-key=■■■", "--stdio"]
    }
  }
}

any one know how to resolve this problem

Hi there!

I’m not sure if you’ve resolved the issue already, but here’s what worked for me:

  1. First, run the following command to initialize the Figma Developer MCP:

bash

Copy

npx figma-developer-mcp --figma-api-key=personal-access-token
  1. Then, modify the mcpServers.json configuration file as follows:Before:

json

Copy

{
  "mcpServers": {
    "Framelink Figma MCP": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "figma-developer-mcp", "--figma-api-key=■■■", "--stdio"]
    }
  }
}

3.After:*

json

Copy

{
  "mcpServers": {
    "Figma-MCP": {
      "type": "sse",
      "url": "http://localhost:3333/sse"
    }
  }
}

This should resolve the issue. Let me know if you run into any more problems!

kindly refer this, github-issue-thread

Thank you

I"m looking at importing Figma files into my Project.
Would this MCP work for importing Figma files?