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

Add explicit show_ui parameter to UI-enabled write tools

Open mattdholloway opened this issue 5 months ago • 3 comments

This pull request adds a new show_ui boolean parameter to the GitHub MCP App issue and pull request creation/update APIs. This parameter allows clients to explicitly control whether to show the interactive MCP App form or to execute the request directly, improving flexibility and user experience, especially for automated or pre-confirmed actions.

mattdholloway avatar Jun 03 '26 12:06 mattdholloway

Rebased this branch onto main and addressed remaining Copilot review feedback in #2618 (ready to merge into this PR branch):

  • Rebase resolves the BEHIND merge state (includes #2605 and #2600)
  • Clarified issueWriteFormParams / pullRequestWriteFormParams comments: show_ui is a routing flag, not form-collected
  • Fixed create_pull_request show_ui description — removed misleading "reviewers" example (reviewers are on update_pull_request, not here)
  • Regenerated docs and toolsnap

All pkg/github and pkg/inventory tests pass locally.

advancedresearcharray avatar Jun 06 '26 04:06 advancedresearcharray

Update: opened #2619 (mergeable, no conflicts) with the same changes — merges main and addresses the remaining Copilot review feedback. Ready for a maintainer to merge into this branch.

advancedresearcharray avatar Jun 06 '26 04:06 advancedresearcharray

@mattdholloway couple of questions:

  • is it weird for this to be present when no apps are available?
  • how did testing go? Did you find agents using it effectively?

SamMorrowDrums avatar Jun 11 '26 14:06 SamMorrowDrums