Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Codex uses structuredContent to expose the threadId that is fundamental to continue a chat with codex.
Cursor ignores structuredContent and there’s no way to access the threadID other than manually grepping the codex sessions folder
Steps to Reproduce
Install Codex as MCP > make cursor use it > make cursor send a followup message
alt with hooks:
Create a afterMCPExecution hook > check the input does not included the threadId returned by the codex MCP
Expected Behavior
Cursor should either handle structuredContent or at least expose it in the hooks so that it can be injected as additional context in the conversation
Operating System
Windows 10/11
Version Information
Version: 2.6.21 (system setup)
VSCode Version: 1.105.1
Commit: fea2f546c979a0a4ad1deab23552a43568807590
Date: 2026-03-21T22:09:10.098Z
Build Type: Stable
Release Track: Early Access
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: add Request ID with privacy disabled
2f6c599f-67fc-4622-9bb4-df28ccaa79e5
Does this stop you from using Cursor
No - Cursor works, but with this issue