github-mcp-server
github-mcp-server copied to clipboard
fix: gate MCP App UI resources on backing tool availability
Summary
- Register MCP App UI resources only when their backing tool is present in the inventory (respects
--read-onlyand other filters). - Add test coverage for read-only mode excluding write-tool UI resources while keeping
get_meUI 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
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.