I’m facing a problem with the integration of Figma’s Model Context Protocol (MCP) in Visual Studio Code with GitHub Copilot. Initially, everything works fine, but then issues arise.
Description of the Issue:
After restarting VS Code, the Figma MCP tools appear in the Copilot chat momentarily before disappearing. When they vanish, I receive a vague “Error loading 1 tool(s)” warning with no further details to help me diagnose the issue.
Configuration Details:
I’ve followed the official Figma guide and updated my settings.json with the following configuration:
{
"chat.mcp.discovery.enabled": true,
"mcp": {
"inputs": [],
"servers": {
"mcp-server-time": {
"command": "python",
"args": [
"-m",
"mcp_server_time",
"--local-timezone=America/Los_Angeles"
],
"env": {}
},
"Figma Dev Mode MCP": {
"type": "sse",
"url": "http://127.0.0.1:3845/sse"
}
}
},
"chat.agent.enabled": true
}
Steps Taken:
- Ensured the MCP is enabled within my Figma file.
- Confirmed that the local server is operational on port 3845.
- Restarted VS Code multiple times.
- Verified that my coworkers are successfully using the same setup.
My Dilemma:
Given that the error message lacks details, how can I access more extensive logs to investigate why the MCP connection fails? Is there a method to enable detailed logging for MCP in VS Code?
This situation is frustrating because it works briefly before running into trouble, and I can’t pinpoint the cause.