github-mcp-server icon indicating copy to clipboard operation
github-mcp-server copied to clipboard

fix: gate MCP App UI resources on backing tool availability

Open advancedresearcharray opened this issue 5 months ago • 1 comments

Summary

  • Register MCP App UI resources only when their backing tool is present in the inventory (respects --read-only and other filters).
  • Add test coverage for read-only mode excluding write-tool UI resources while keeping get_me UI available.

Test plan

  • [x] script/build-ui
  • [x] go test ./pkg/github/... -run 'UIResource|RegistersUI' -count=1 -v
  • [x] go test ./pkg/github/... -count=1

Closes #2519

advancedresearcharray avatar Jun 06 '26 17:06 advancedresearcharray

Merge-ready check-in

This PR looks ready for maintainer review/merge when you have a moment.

  • Change: fix: gate MCP App UI resources on backing tool availability
  • CI: green / passing
  • Review: REVIEW_REQUIRED (mergeable: CONFLICTING)

Happy to rebase or address any remaining feedback. Thanks for maintaining the project.

advancedresearcharray avatar Jun 12 '26 17:06 advancedresearcharray