Skip to content

WSL compatibility request (Enable HTTP Server) #326

@gravitydeepimpactsun

Description

@gravitydeepimpactsun

The current server.py for UnityMCP initializes with mcp.run(transport='stdio'), which limits integration to the same host environment. In WSL or remote scenarios, this prevents Codex CLI (or others) from connecting, since it cannot spawn Windows processes or communicate over stdio across environments.

Could you please add or expose an alternative transport mode, such as TCP or HTTP (e.g. mcp.run(transport='tcp', host='0.0.0.0', port=6500)), so clients outside the host OS can connect?

This would make the MCP usable from WSL, Docker, and remote Codex CLI setups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions