You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Codex Desktop does not expose MCP tools from MCP for Unity HTTP server on Windows 11 #1193
I am using MCP for Unity with Codex Desktop on Windows. The Unity MCP server starts correctly and responds at http://127.0.0.1:8080/mcp, but Codex Desktop does not expose any Unity MCP tools when I configure it directly as an HTTP MCP server.
Environment:
OS: Windows
Machine: Lenovo Windows PC
Unity version: 2022.3.44f1 (c3ae09b9f03c)
MCP for Unity server package: mcpforunityserver==9.7.1
However, after restarting Codex Desktop, no Unity MCP tools are exposed. Tools such as read_console, manage_gameobject, find_gameobjects, and manage_scene are not available.
As a workaround, I created a local stdio bridge using the Python MCP SDK. The bridge connects to the same Unity MCP HTTP endpoint using streamable_http_client. Through that stdio bridge, Codex can see the Unity MCP server correctly. The bridge reports:
43 tools
19 resources
6 resource templates
Calling read_console through the stdio bridge succeeds and returns Unity console logs.
So the Unity MCP server itself seems to work. The issue appears to be that Codex Desktop does not expose the tools when connecting directly to the Unity MCP HTTP/streamable endpoint.
Create a red, blue, ane yellow cube in the current scene, spaced one unit apart on the X axis
目前所有工具调用都返回 unsupported call-无论是MCP Unity 工具还是标准 Codex 工具(shell_command,read_mcp_resource等)都无法执行。这不是 Unity没启动的问题,而是Codex的工具调度层整体不响应
我遇到的问题是调用工具都返回unsupported call
Following up here rather than reopening, since the original symptom may well be real — but the fix I merged in #1292 was too broad, and #1305 walks part of it back.
#1292 declared Codex stdio-only. Tested against Codex CLI 0.47.0 with an isolated CODEX_HOME, that isn't right: a bare
reports transport: streamable_http from codex mcp get, and Codex completes a full MCP handshake against a live MCP-for-Unity HTTP server — initialize 200, notifications/initialized 202, SSE GET 200, tools/list 200 — with no feature flag set at all. Adding [features] rmcp_client, the deprecated root-level experimental_use_rmcp_client, both, or even a deliberately bogus feature key all give byte-identical results; unknown feature keys are silently ignored.
So HTTP works on current Codex, and #1292 removed a capability every Codex user has.
What I could not verify: this issue was filed against Codex Desktop on Windows 11, and I only tested the CLI. The two may resolve config differently.
@AmberY1618 — if you're still around, two things would settle it:
Which Codex version, and was it the CLI or the desktop app?
Does codex mcp get unityMCP report transport: streamable_http for you?
If Desktop genuinely can't do HTTP, the fix belongs in Desktop-specific handling rather than disabling HTTP for everyone, and I'll open a separate issue for it.
Also relevant to anyone landing here from a search: #1215 is the same report from a different angle, and the feature flag was renamed — [features] rmcp_client is current, root-level experimental_use_rmcp_client is deprecated (openai/codex#6995).
Activity
BBigBei commentedon Jun 17, 2026
Same here
theyzs commentedon Jun 17, 2026
same here, and thank you for your temporal solution, works for me
BBigBei commentedon Jun 22, 2026
This didn't work for me. However, I managed to get it working after Codex automatically fixed the configuration.
Changing the transport mode from HTTPLocal to stdio, and adding the following to
config.tomlsolved the issue:BuKuSiShen commentedon Jun 23, 2026
Create a red, blue, ane yellow cube in the current scene, spaced one unit apart on the X axis
目前所有工具调用都返回 unsupported call-无论是MCP Unity 工具还是标准 Codex 工具(shell_command,read_mcp_resource等)都无法执行。这不是 Unity没启动的问题,而是Codex的工具调度层整体不响应
我遇到的问题是调用工具都返回unsupported call
AmberY1618 commentedon Jul 1, 2026
This worked for me as well. Thanks!
fix: advertise Codex as stdio-only (#1193)
Merge pull request #1292 from Scriptwonder/fix/1193-codex-stdio-only
Scriptwonder commentedon Aug 2, 2026
Following up here rather than reopening, since the original symptom may well be real — but the fix I merged in #1292 was too broad, and #1305 walks part of it back.
#1292 declared Codex stdio-only. Tested against Codex CLI 0.47.0 with an isolated
CODEX_HOME, that isn't right: a barereports
transport: streamable_httpfromcodex mcp get, and Codex completes a full MCP handshake against a live MCP-for-Unity HTTP server —initialize200,notifications/initialized202, SSEGET200,tools/list200 — with no feature flag set at all. Adding[features] rmcp_client, the deprecated root-levelexperimental_use_rmcp_client, both, or even a deliberately bogus feature key all give byte-identical results; unknown feature keys are silently ignored.So HTTP works on current Codex, and #1292 removed a capability every Codex user has.
What I could not verify: this issue was filed against Codex Desktop on Windows 11, and I only tested the CLI. The two may resolve config differently.
@AmberY1618 — if you're still around, two things would settle it:
codex mcp get unityMCPreporttransport: streamable_httpfor you?If Desktop genuinely can't do HTTP, the fix belongs in Desktop-specific handling rather than disabling HTTP for everyone, and I'll open a separate issue for it.
Also relevant to anyone landing here from a search: #1215 is the same report from a different angle, and the feature flag was renamed —
[features] rmcp_clientis current, root-levelexperimental_use_rmcp_clientis deprecated (openai/codex#6995).fix: restore HTTP transport for Codex (#1193)
Merge pull request #1305 from Scriptwonder/fix/1193-restore-codex-http