Skip to content

Issues with server connection using WSL2 on Windows 11 #74

@kjmclaughlin

Description

@kjmclaughlin

I was running into errconnrefused responses whenever I attempted to query any of the mcp-unity tools. Unity was telling me that the server was online (though no clients connected) and Claude Code /mcp was telling me that it was connected to the unity-mcp. Realized the issue was that the Unity server lives on the windows machine and my Claude Code instance was running on WSL 2. The simplest solution I have found was to just enable mirrored mode networking in "WSL settings" in Windows which makes it so that localhost is shared between both WSL and WIndows. There may be a better option from your perspective but thought this may be worth including in the README/debugging instructions.

Otherwise awesome project, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions