Codex Desktop does not render MCP Apps inline UI resources even when tool result includes mcp_app_resource_uri
Summary
Codex Desktop currently appears able to call MCP tools, but it does not render MCP Apps inline iframe UI resources.
A minimal MCP App tool returns a valid mcp_app_resource_uri and _meta resource URI fields, but Codex Desktop never appears to call read-mcp-resource, so the inline UI is not rendered.
Can you confirm whether MCP Apps inline UI is currently supported in Codex Desktop, and if not, when it is expected to be supported?
Environment
- Codex Desktop: 26.429.30905
- Bundled Codex CLI/runtime:
codex-cli 0.128.0-alpha.1 - macOS
- MCP server: local stdio server
features.apps = truefeatures.enable_mcp_apps = truewas also tested
Reproduction
- Register a local MCP server that exposes:
- a tool:
show_minimal_inline_app - a resource:
ui://minimal-inline/hello.html
- The tool returns a successful result with:
{
"structuredContent": {
"title": "Minimal MCP Inline App",
"inline_resource_uri": "ui://minimal-inline/hello.html"
},
"_meta": {
"ui/resourceUri": "ui://minimal-inline/hello.html",
"ui.resourceUri": "ui://minimal-inline/hello.html",
"openai/outputTemplate": "ui://minimal-inline/hello.html",
"openai/resultCanProduceWidget": true,
"openai/widgetAccessible": true,
"ui": {
"resourceUri": "ui://minimal-inline/hello.html"
}
}
}
- Codex session logs show:
mcp_app_resource_uri: ui://minimal-inline/hello.html
- However, Codex Desktop does not render an inline iframe UI and no
read-mcp-resource/ resource read is observed.
Expected behavior
When an MCP tool result includes a valid MCP App resource URI, Codex Desktop should read the MCP resource and render it inline as an iframe/app UI.
Actual behavior
The MCP tool call succeeds and the session log contains mcp_app_resource_uri, but the Desktop UI only shows the textual tool result. No inline app UI is rendered.
Additional investigation
I inspected the current Desktop bundle and found that MCP Apps rendering appears to be gated by enable_mcp_apps / renderMcpApps.
The public Codex docs mention features.apps, but I could not find public documentation for features.enable_mcp_apps.
The OpenAI Codex repo has PR #19884, "Add MCP app feature flag", which adds enable_mcp_apps as an under-development feature disabled by default:
https://github.com/openai/codex/pull/19884
This suggests MCP Apps inline UI may currently be behind an internal/product gate, even though MCP tools and resources are otherwise available.
Question
Is MCP Apps inline UI currently supported in Codex Desktop?
If it is intentionally gated or temporarily disabled, is there a documented way to enable it locally, or an expected release/version where it will be supported?
11 Comments
+1
I can reproduce this with a FastMCP/Prefab MCP Apps POC, and I have a useful cross-client comparison that points to the Codex Desktop render/resource hydration path rather than the MCP server payload.
Environment / server:
codex-cli 0.130.0features.apps = truefeatures.enable_mcp_apps = trueenabled, with the under-development warning shown at Codex startupfastmcp==3.3.1,prefab-ui==0.18.0read_note_appThe tool descriptor exposed to Codex includes the expected app metadata:
The server also advertises the matching resource:
Result:
/mcptunnel.read_note_appsuccessfully, but the chat surface displays the raw$prefabJSON payload rather than rendering the app iframe/component.So this looks consistent with the issue description: Codex receives enough metadata to identify the MCP App resource, but the Desktop UI does not appear to hydrate/render the app resource yet.
This POC also exercises expandable frontmatter, markdown rendering, observations, and relations, so it is not just a bare hello-world resource. Happy to provide a minimal repro if useful.
I've just confirmed that Codex Desktop could show my MCP Apps (w/o proper CSP support though)
I've using the official @modelcontextprotocol/ext-apps example build for testing:
same im sure it worked before but in latesest version 26.527.60818(3437 it doesnt work
+1,
I can reproduce this on a newer Codex Desktop build with a minimal
@modelcontextprotocol/ext-appsstdio server.Environment:
26.609.30741(bundle build3808)codex-cli 0.140.0-alpha.2features.apps = truefeatures.enable_mcp_apps = trueThe MCP tool descriptor advertises all three resource URI forms that Codex core recognizes:
The tool call result also includes matching metadata:
The raw Codex session event confirms that Codex core extracted the MCP App resource URI from the tool metadata:
But the Desktop UI still only rendered the textual URI:
I did not observe any
resources/readevent in the session, and the inline iframe was not rendered.So this still appears broken in
26.609.30741: custom MCP Apps are detected at the core/tool-call level, but the Desktop renderer/resource hydration path does not fetch/render the declaredtext/html;profile=mcp-appresource.I also checked PR #19884. It only documents/implements the
enable_mcp_appsunder-development feature flag and schema entry; I did not find another documented local enablement flag beyond settingfeatures.enable_mcp_apps = trueor running:Same, can reproduce and activating Feature Flag did not help
Implemented a clean prototype for this in my fork.
What changed:
mcpAppResourceContentsenable_mcp_appsis enabledhttps://github.com/vozer/codex/commit/03b480d5abf89fa954b97941d57540b6976123cf
See also:
They fixed it with the
26.616.51431release on June 21st.