René's URL Explorer Experiment


Title: MCP App UI resources for write tools are registered in --read-only mode · Issue #2519 · github/github-mcp-server · GitHub

Open Graph Title: MCP App UI resources for write tools are registered in --read-only mode · Issue #2519 · github/github-mcp-server

X Title: MCP App UI resources for write tools are registered in --read-only mode · Issue #2519 · github/github-mcp-server

Description: Summary When the server is started with --read-only and MCP Apps are enabled, write-tool UI form resources (issue_write_ui, pr_write_ui) are still registered and served, even though the underlying write tools (create_issue, update_issue,...

Open Graph Description: Summary When the server is started with --read-only and MCP Apps are enabled, write-tool UI form resources (issue_write_ui, pr_write_ui) are still registered and served, even though the underlying ...

X Description: Summary When the server is started with --read-only and MCP Apps are enabled, write-tool UI form resources (issue_write_ui, pr_write_ui) are still registered and served, even though the underlying ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MCP App UI resources for write tools are registered in --read-only mode","articleBody":"## Summary\n\nWhen the server is started with `--read-only` and MCP Apps are enabled, write-tool UI form resources (`issue_write_ui`, `pr_write_ui`) are still registered and served, even though the underlying write tools (`create_issue`, `update_issue`, `create_pull_request`, etc.) are filtered out of the inventory.\n\n## Where\n\n`pkg/github/ui_resources.go` — `RegisterUIResources` unconditionally calls `s.AddResource` for all three UI forms.\n\n`internal/ghmcp/server.go:182` — the only gating is on `MCPAppsFeatureFlag` + `UIAssetsAvailable()`; no read-only check.\n\n```go\nmcpAppsEnabled, _ := featureChecker(context.Background(), github.MCPAppsFeatureFlag)\nif mcpAppsEnabled \u0026\u0026 github.UIAssetsAvailable() {\n    github.RegisterUIResources(ghServer)\n}\n```\n\n## Why it matters\n\n- Read-only mode should not expose UI affordances for mutating actions. A client that lists resources will see `issue_write_ui` and `pr_write_ui` and may surface them, even though calling the backing tool is impossible.\n- The mismatch is confusing — read-only is supposed to be the complete answer to \"hide all write surface\".\n- Same concern applies regardless of feature-flag wiring: any read-only filter that excludes a write tool should also exclude its companion UI resource.\n\n## Suggested fix\n\nTwo options:\n\n1. **Annotate each UI resource with the tool it backs** and skip registration when that tool would be filtered out (parallel to the read-only / feature-flag pipeline on the tool side). Cleanest, future-proof.\n2. **Pass `readOnly` into `RegisterUIResources`** and short-circuit the two write forms. Quick; doesn't generalise.\n\nLikely also worth: treating these UI resources as part of the inventory (`ServerResource` with a `ToolName` or `ReadOnlyHint` field) so they flow through the same filter pipeline as tools, rather than living in a sibling registration path.\n\n## Related\n\n- Follow-up from #2516 / #2450 review.\n- MCP Apps gating itself works correctly (MCPAppsFeatureFlag in `internal/ghmcp/server.go`); the gap is specifically the read-only interaction.","author":{"url":"https://github.com/SamMorrowDrums","@type":"Person","name":"SamMorrowDrums"},"datePublished":"2026-05-21T13:20:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2519/github-mcp-server/issues/2519"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c655b69b-2950-bf93-d303-e4c508494bce
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDD4E:1B4C66:1528E8:1E3243:6A61FAFD
html-safe-nonced95511e59d58cf26763b045551b16d56f301510dffe05cfe48735ce010f4d816
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDRFOjFCNEM2NjoxNTI4RTg6MUUzMjQzOjZBNjFGQUZEIiwidmlzaXRvcl9pZCI6IjM4ODYxNjQ5Mjc1MDI3NDQzMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb674e019c99e0a2c07ffb6f9c78299172bf4ea2a3b4b510fd318551db40fb0df
hovercard-subject-tagissue:4494872620
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/2519/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b50da5a54fd982e5fd13acf3ff946c780304f4e04c00b524b0f807c0bbee0573/github/github-mcp-server/issues/2519
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b50da5a54fd982e5fd13acf3ff946c780304f4e04c00b524b0f807c0bbee0573/github/github-mcp-server/issues/2519
og:image:altSummary When the server is started with --read-only and MCP Apps are enabled, write-tool UI form resources (issue_write_ui, pr_write_ui) are still registered and served, even though the underlying ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSamMorrowDrums
hostnamegithub.com
expected-hostnamegithub.com
None9e41a6fd863e96b9c7e9185dc317bf107dbbf8cb10efd6dea957211963f33775
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
release2ed5e9c44acb35dcc1d752e449d2a6f7a6164b7b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/2519#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F2519
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F2519
Sign up https://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/2519
Reloadhttps://github.com/github/github-mcp-server/issues/2519
Reloadhttps://github.com/github/github-mcp-server/issues/2519
Please reload this pagehttps://github.com/github/github-mcp-server/issues/2519
github https://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Notifications https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Fork 4.6k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Star 31.6k https://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server
Code https://github.com/github/github-mcp-server
Issues 171 https://github.com/github/github-mcp-server/issues
Pull requests 162 https://github.com/github/github-mcp-server/pulls
Discussions https://github.com/github/github-mcp-server/discussions
Actions https://github.com/github/github-mcp-server/actions
Models https://github.com/github/github-mcp-server/models
Security and quality 2 https://github.com/github/github-mcp-server/security
Insights https://github.com/github/github-mcp-server/pulse
Code https://github.com/github/github-mcp-server
Issues https://github.com/github/github-mcp-server/issues
Pull requests https://github.com/github/github-mcp-server/pulls
Discussions https://github.com/github/github-mcp-server/discussions
Actions https://github.com/github/github-mcp-server/actions
Models https://github.com/github/github-mcp-server/models
Security and quality https://github.com/github/github-mcp-server/security
Insights https://github.com/github/github-mcp-server/pulse
#2612https://github.com/github/github-mcp-server/pull/2612
#2624https://github.com/github/github-mcp-server/pull/2624
MCP App UI resources for write tools are registered in --read-only modehttps://github.com/github/github-mcp-server/issues/2519#top
#2612https://github.com/github/github-mcp-server/pull/2612
#2624https://github.com/github/github-mcp-server/pull/2624
bugSomething isn't workinghttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%22
https://github.com/SamMorrowDrums
SamMorrowDrumshttps://github.com/SamMorrowDrums
on May 21, 2026https://github.com/github/github-mcp-server/issues/2519#issue-4494872620
Simplify feature-flag handling: collapse CSV dual-variant + skip filtering when no checker #2516https://github.com/github/github-mcp-server/pull/2516
feat: Add CSV output format for default list tools under insiders mode #2450https://github.com/github/github-mcp-server/pull/2450
bugSomething isn't workinghttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%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

Viewport: width=device-width


URLs of crawlers that visited me.