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:
- First, run the following command to initialize the Figma Developer MCP:
bash
Copy
npx figma-developer-mcp --figma-api-key=personal-access-token
- 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
I"m looking at importing Figma files into my Project.
Would this MCP work for importing Figma files?