Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

GitHub plugin: issue_write / create_pull_request stall in headless automations on the MCP App form (needs X-MCP-Features opt-out)

オープン 初心者向け
#1,025 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, json
領域
tooling

調査の方向性

third_party/github/mcp.json と、GITHUB_PERSONAL_ACCESS_TOKEN を公開するプラグイン設定から始めてください。停止が起こるのは、Authorization だけが送信され、ヘッドレス実行では MCP App フォームを送信できないためです。X-MCP-Features: mcp_apps_disable_form_deferral をそのヘッダーセットに追加するか、オプションのプラグイン変数として公開するかを決め、その後、自動化が issue_write を実行し、フォームなしで issue を作成できることを確認してください。外部の判断ロジックは github-mcp-server の pkg/github/ui_capability.go にありますが、編集はこのプラグインの設定に属します。

索引モデルが issue の本文から書いたものです。

説明

Summary

Since around Oct 22, Cursor automations that create issues through the github plugin (third_party/github) stop at an interactive approval form, and no issue is created. When you watch the run, it stops on a prompt. In an automation nobody is there to click Submit, so the run ends with no issue.

This isn't a token or permissions problem. Reconnecting with a fine-grained PAT that has issue write access didn't change anything.

Cause

GitHub's MCP server now hands form-backed write tools (issue_write, create_pull_request, update_pull_request) off to an MCP App form whenever the client advertises the io.modelcontextprotocol/ui capability. In that case the tool returns an "awaiting form submission" result ("An interactive form has been shown to the user… STOP… The issue has NOT been created yet") instead of creating the issue.

  • Form deferral is on by default: github/github-mcp-server@63f559545320fa72eaf184c4a42e05904c09e817 (#3348)
  • Decision logic: shouldDeferToForm in pkg/github/ui_capability.go
  • Opt-out: github/github-mcp-server@a217a7f43a76a4cd6909ba6814d88a886064488c adds the mcp_apps_disable_form_deferral feature flag, which the remote server accepts through the X-MCP-Features header.

The plugin's mcp.json only sends Authorization, and the plugin's settings only expose GITHUB_PERSONAL_ACCESS_TOKEN. That leaves plugin users no way to opt out.

Workaround (confirmed working)

Add a custom (non-plugin) MCP server with the extra header:

{
  "mcpServers": {
    "github-direct": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/",
      "headers": {
        "Authorization": "Bearer <token>",
        "X-MCP-Features": "mcp_apps_disable_form_deferral"
      }
    }
  }
}

With this header, issue_write creates the issue directly again.

Suggested fix

Any of these would work:

  1. Don't advertise the MCP Apps UI capability to this server in headless runs (automations and background agents), since nobody can submit the form there.
  2. Add "X-MCP-Features": "mcp_apps_disable_form_deferral" to the plugin's mcp.json headers.
  3. Expose an optional plugin variable for X-MCP-Features so users can opt out themselves.
主要言語
TypeScript
スター
13.9k
フォーク
1.4k
平均マージ
6時間 46分
マージ済み PR(30日)
156

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cursor/plugins のほかの issue

cursor/plugins の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。