Figma MCP Server currently only binds to 127.0.0.1 which makes it unable to listen on any other interface. WSL creates a virtual interface, to which the MCP Server must be able to listen, or Claude Code cannot connect to the MCP Server.
Long story short, you need to make the MCP Server configurable. As it is now, it’s useless for Claude Code users on Windows.
Best answer by Yelisson Rodriguez Ortiz
Hi there,
I ran into the same issue while configuring Augment Code under WSL 2 and found this sequence fixes it:
1. Press **Windows + R** to open the *Run* dialog. 2. Enter `%UserProfile%\.wslconfig` and press **Enter**. * If the file doesn’t exist, create it in your user folder. 3. Confirm the file is named **.wslconfig** (with **no ".txt"** extension). 4. Add the following lines and save the file: [wsl2] networkingMode = mirrored 5. Open PowerShell as Administrator and run: wsl --shutdown
After WSL restarts, you should be able to configure MCP using 127.0.0.1 without further issues.
Making the interface configurable would be the best option, but I have successfully tunneled from localhost on windows to the WSL interface and then on WSL have tunneled from the WSL interface to localhost on Linux.
I ran into the same issue while configuring Augment Code under WSL 2 and found this sequence fixes it:
1. Press **Windows + R** to open the *Run* dialog. 2. Enter `%UserProfile%\.wslconfig` and press **Enter**. * If the file doesn’t exist, create it in your user folder. 3. Confirm the file is named **.wslconfig** (with **no ".txt"** extension). 4. Add the following lines and save the file: [wsl2] networkingMode = mirrored 5. Open PowerShell as Administrator and run: wsl --shutdown
After WSL restarts, you should be able to configure MCP using 127.0.0.1 without further issues.
I ran into the same issue while configuring Augment Code under WSL 2 and found this sequence fixes it:
1. Press **Windows + R** to open the *Run* dialog. 2. Enter `%UserProfile%\.wslconfig` and press **Enter**. * If the file doesn’t exist, create it in your user folder. 3. Confirm the file is named **.wslconfig** (with **no ".txt"** extension). 4. Add the following lines and save the file: [wsl2] networkingMode = mirrored 5. Open PowerShell as Administrator and run: wsl --shutdown
After WSL restarts, you should be able to configure MCP using 127.0.0.1 without further issues.
I ran into the same issue while configuring Augment Code under WSL 2 and found this sequence fixes it:
1. Press **Windows + R** to open the *Run* dialog. 2. Enter `%UserProfile%\.wslconfig` and press **Enter**. * If the file doesn’t exist, create it in your user folder. 3. Confirm the file is named **.wslconfig** (with **no ".txt"** extension). 4. Add the following lines and save the file: [wsl2] networkingMode = mirrored 5. Open PowerShell as Administrator and run: wsl --shutdown
After WSL restarts, you should be able to configure MCP using 127.0.0.1 without further issues.
It actually helped. thanks a lot, i ve spend a few hours trying to fix it. Thank you!
I ran into the same issue while configuring Augment Code under WSL 2 and found this sequence fixes it:
1. Press **Windows + R** to open the *Run* dialog. 2. Enter `%UserProfile%\.wslconfig` and press **Enter**. * If the file doesn’t exist, create it in your user folder. 3. Confirm the file is named **.wslconfig** (with **no ".txt"** extension). 4. Add the following lines and save the file: [wsl2] networkingMode = mirrored 5. Open PowerShell as Administrator and run: wsl --shutdown
After WSL restarts, you should be able to configure MCP using 127.0.0.1 without further issues.
You made my day!. Thank you so much. This should be part of the documentation.
I ran into the same issue while configuring Augment Code under WSL 2 and found this sequence fixes it:
1. Press **Windows + R** to open the *Run* dialog. 2. Enter `%UserProfile%\.wslconfig` and press **Enter**. * If the file doesn’t exist, create it in your user folder. 3. Confirm the file is named **.wslconfig** (with **no ".txt"** extension). 4. Add the following lines and save the file: [wsl2] networkingMode = mirrored 5. Open PowerShell as Administrator and run: wsl --shutdown
After WSL restarts, you should be able to configure MCP using 127.0.0.1 without further issues.
You made my day!. Thank you so much. This should be part of the documentation.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.