René's URL Explorer Experiment


Title: MCP Apps: isError form deferral suppresses PR forms in Codex desktop · Issue #3666 · github/github-mcp-server · GitHub

Open Graph Title: MCP Apps: isError form deferral suppresses PR forms in Codex desktop · Issue #3666 · github/github-mcp-server

X Title: MCP Apps: isError form deferral suppresses PR forms in Codex desktop · Issue #3666 · github/github-mcp-server

Description: Describe the bug On Codex desktop, GitHub MCP form deferral returns isError: true while instructing the assistant to wait for a form submission. The host classifies the call as failed and excludes the corresponding MCP App from rendering...

Open Graph Description: Describe the bug On Codex desktop, GitHub MCP form deferral returns isError: true while instructing the assistant to wait for a form submission. The host classifies the call as failed and excludes ...

X Description: Describe the bug On Codex desktop, GitHub MCP form deferral returns isError: true while instructing the assistant to wait for a form submission. The host classifies the call as failed and excludes ...

Opengraph URL: https://github.com/github/github-mcp-server/issues/3666

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MCP Apps: isError form deferral suppresses PR forms in Codex desktop","articleBody":"### Describe the bug\n\nOn Codex desktop, GitHub MCP form deferral returns `isError: true` while instructing the assistant to wait for a form submission. The host classifies the call as failed and excludes the corresponding MCP App from rendering. The user therefore has no form to submit, the requested GitHub mutation never executes, and the assistant may end its turn waiting for an interaction that is unavailable.\n\nThis is a concrete mismatch between the server's pending-form signaling and the host's error-rendering policy. Related reports describe invisible or collapsing forms in Claude: #2823 and #3415. #3455 discusses retaining an opt-out. This report adds a Codex reproduction and a replay of the installed client's rendering gate; I have not established that the Claude reports have the same cause.\n\n### Affected version\n\n- Server: hosted remote GitHub MCP at `https://api.githubcopilot.com/mcp/`, not a local Docker deployment.\n- Version reported by MCP initialization during the controlled reproduction: `github-mcp-server/remote-a5f0ed2ba9b09e7e6bd87d7e8adb559158f83ff5`.\n- Client: Codex desktop on macOS, version `26.1027.61615`, build `24141`, production channel.\n- The app's updater reported `up_to_date`; no desktop upgrade was applied during diagnosis.\n- Observed on November 3, 2026. Both PR creation and PR update encountered form deferral.\n- The controlled MCP client advertised the `io.modelcontextprotocol/ui` extension with MIME type `text/html;profile=mcp-app`.\n\n### Steps to reproduce the behavior\n\n1. Connect the hosted GitHub MCP server to the affected Codex desktop version with MCP Apps support enabled and without the `mcp_apps_disable_form_deferral` feature flag.\n2. Use an existing test PR that the authenticated account can edit. Read its current title.\n3. Call `update_pull_request` with only `owner`, `repo`, `pullNumber`, and that same title. Using the unchanged title avoids an intentional content change. Example tool arguments:\n\n```json\n{\n  \"owner\": \"YOUR_OWNER\",\n  \"repo\": \"YOUR_TEST_REPO\",\n  \"pullNumber\": 123,\n  \"title\": \"THE_CURRENT_PR_TITLE\"\n}\n```\n\n4. Observe a result with `isError: true` whose text asserts that a form has been shown and directs the assistant to wait silently for submission.\n5. In the client, the call is marked failed and no usable form remains available to submit. The PR update has not executed.\n\nThe problem also occurred with `create_pull_request`. Reproducing with an existing PR is preferable to repeatedly attempting creation.\n\n### Expected vs actual behavior\n\n**Expected:** Deferring to a form leaves a visible, usable form, accurately reports that the GitHub mutation is still pending, and eventually delivers submission success, failure, or cancellation to the assistant.\n\n**Actual:** The pending-form response is treated as a failed tool result, which prevents form rendering. The response text asserts UI visibility without confirmation from the host. The assistant can then wait or stop while the user has nothing to submit.\n\n### Logs\n\nSanitized excerpt from an actual completed create-PR event; identifiers, arguments, and message text are omitted:\n\n```json\n{\n  \"type\": \"McpToolCall\",\n  \"server\": \"github\",\n  \"tool\": \"create_pull_request\",\n  \"mcpAppResourceUri\": \"ui://github-mcp-server/pr-write\",\n  \"status\": \"failed\",\n  \"result\": {\n    \"isError\": true\n  }\n}\n```\n\nThe original result also contained a text block telling the assistant that a form was already displayed and to wait for submission. The corresponding resource-read RPC returned no protocol error, but that alone does not prove successful UI rendering.\n\n### Root-cause evidence\n\n[NewToolResultAwaitingFormSubmission](https://github.com/github/github-mcp-server/blob/4bcdcdf8d7beee98c9448e73e257308280924cc4/pkg/utils/result.go) deliberately sets `IsError: true` to stop the agent continuing. Its comment assumes the host will still render UI from the tool's metadata regardless of the result. The helper also supplies an `awaiting_user_submission` structured status in this source revision.\n\nThat assumption does not hold in the installed Codex build. Inspection of the installed JavaScript bundle found this chain:\n\n1. The tool-event projection passes the recorded `failed` status into result normalization.\n2. Normalization produces a result with `type: \"error\"`.\n3. The MCP App eligibility/renderability logic explicitly excludes error results.\n4. The resource renderer returns its fallback branch when `shouldRenderMcpApp` is false, even if valid HTML is available.\n\nA local replay used the actual captured event and the unchanged normalization, error-detection, renderability, and resource-selection functions extracted from that installed bundle:\n\n| Replay input | Normalized result | Form renderable | Resource selection |\n| --- | --- | --- | --- |\n| Original recorded `failed` status | `error` | `false` | `fallback` |\n| Only the recorded status changed to `completed` | `success` | `true` | `html` |\n\nThis isolates a sufficient rendering blocker. The control changes the projected call status, not the live server response; it is not an end-to-end test of changing `isError` upstream. Unrelated eligibility predicates were allowed, text normalization was an identity operation for the captured text-only fixture, and the resource selector received synthetic valid HTML. No app binaries were modified. No live DOM instrumentation was performed, and additional UI problems are not ruled out.\n\nThe linked source revision is not claimed to be identical to the deployed remote build; the captured response independently establishes the problematic `isError: true` behavior.\n\n### Suggested fix\n\nPlease separate a successful handoff to a pending form from an actual tool error. One candidate is a non-error result carrying an explicit pending status and a clear indication that the GitHub mutation has not executed:\n\n```json\n{\n  \"isError\": false,\n  \"structuredContent\": {\n    \"status\": \"awaiting_user_submission\",\n    \"operationExecuted\": false\n  }\n}\n```\n\nThe status already present in the helper is a useful starting point. Agents must not interpret a non-error handoff as a completed PR mutation. The client, form, and agent lifecycle should agree on pending, submitted, cancelled, and failed states. Also consider changing the response wording to describe a requested form handoff rather than asserting that the form is already visible.\n\nThis is a proposed direction, not a verified one-line fix: please test the form's own result handler, host rendering, submission, cancellation, genuine tool failures, and delivery of the final result. Simply allowing all failed-tool UIs or automatically executing an unsubmitted mutation would not address the underlying contract cleanly.\n\n### Verified workaround\n\nThe following request header avoids form deferral:\n\n```http\nX-MCP-Features: mcp_apps_disable_form_deferral\n```\n\nAgainst the same remote server and the same unchanged-title PR update, the baseline request deferred with `isError: true`; the flagged request executed successfully. After restarting Codex to reload the header, an actual in-chat GitHub MCP PR update also succeeded without waiting for a form. This restores writes but does not repair form rendering.\n","author":{"url":"https://github.com/JoyboyBrian","@type":"Person","name":"JoyboyBrian"},"datePublished":"2026-11-03T21:16:47Z","url":"https://github.com/github/github-mcp-server/issues/3666"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fa7c45c9-7a97-6743-4f76-0bd16e29caf1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9838:2E0249:2F3B6B:3DEE14:6B06165C
html-safe-nonce8abcdeb0064c6a607cd2b1aa7913c07cab43894077f90e29e53bc73396060329
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODM4OjJFMDI0OToyRjNCNkI6M0RFRTE0OjZCMDYxNjVDIiwidmlzaXRvcl9pZCI6IjU2Njk4MDE2NjIyNzg0MDc3NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7c357ea7d8d9e74bfabc3ac3267b09e3c3b91fc7d118a2f2ff8fddba39fabf16
hovercard-subject-tagissue:6191298781
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/3666/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fa51cbf27194f2fe3dad2a22de05602a950edced86b7abbf667c4447601482ec/github/github-mcp-server/issues/3666
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fa51cbf27194f2fe3dad2a22de05602a950edced86b7abbf667c4447601482ec/github/github-mcp-server/issues/3666
og:image:altDescribe the bug On Codex desktop, GitHub MCP form deferral returns isError: true while instructing the assistant to wait for a form submission. The host classifies the call as failed and excludes ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJoyboyBrian
hostnamegithub.com
expected-hostnamegithub.com
None97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374
turbo-cache-controlno-preview
go-importgithub.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id942771284
octolytics-dimension-repository_nwogithub/github-mcp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id942771284
octolytics-dimension-repository_network_root_nwogithub/github-mcp-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release866f202ebf7ac5aff8f633417d9fd8a53818a977
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/3666#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3666
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3666
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/issues/3666
Reloadhttps://github.com/github/github-mcp-server/issues/3666
Reloadhttps://github.com/github/github-mcp-server/issues/3666
githubhttps://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Codehttps://github.com/github/github-mcp-server
Issues238 (238)https://github.com/github/github-mcp-server/issues
Pull requests226 (226)https://github.com/github/github-mcp-server/pulls
Discussionshttps://github.com/github/github-mcp-server/discussions
Actionshttps://github.com/github/github-mcp-server/actions
Security and quality2 (2)https://github.com/github/github-mcp-server/security
Insightshttps://github.com/github/github-mcp-server/insights
https://github.com/github/github-mcp-server
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3666
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3666
#3896https://github.com/github/github-mcp-server/pull/3896
MCP Apps: isError form deferral suppresses PR forms in Codex desktophttps://github.com/github/github-mcp-server/issues/3666#top
#3896https://github.com/github/github-mcp-server/pull/3896
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
insidershttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22insiders%22
user-experiencehttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22user-experience%22
https://github.com/JoyboyBrian
JoyboyBrianhttps://github.com/JoyboyBrian
on Nov 3, 2026https://github.com/github/github-mcp-server/issues/3666#issue-6191298781
#2823https://github.com/github/github-mcp-server/issues/2823
#3415https://github.com/github/github-mcp-server/issues/3415
#3455https://github.com/github/github-mcp-server/issues/3455
NewToolResultAwaitingFormSubmissionhttps://github.com/github/github-mcp-server/blob/4bcdcdf8d7beee98c9448e73e257308280924cc4/pkg/utils/result.go
https://github.com/JoyboyBrian
JoyboyBrianhttps://github.com/JoyboyBrian
on Nov 3, 2026https://github.com/github/github-mcp-server/issues/3666#issuecomment-6615737298
openai/codex#58065https://github.com/openai/codex/issues/58065
openai/codex#58065 (comment)https://github.com/openai/codex/issues/58065#issuecomment-6615732970
SamMorrowDrumshttps://github.com/SamMorrowDrums
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
insidershttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22insiders%22
user-experiencehttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22user-experience%22
on Nov 4, 2026https://github.com/github/github-mcp-server/issues/3666#event-35173325276
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/github-mcp-server/issues/3666
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3666
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
insidershttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22insiders%22
user-experiencehttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22user-experience%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.