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

Tool request: download workflow run artifact contents

オープン
#2,329 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github, github-actions, go
領域
api, ci-cd, tooling

調査の方向性

提案されているエントリーポイント download_workflow_run_artifact(owner, repo, run_id, artifact_name) から始め、artifact の検出とダウンロードのために列挙されている REST エンドポイントを確認します。1 回の MCP ツール呼び出しで、選択した workflow artifact の内容(実行後の分析用の token-usage.jsonl を含む)を取得でき、呼び出し元が REST 呼び出しを連鎖させたり、artifact を自分で unzip したりする必要がなければ完了です。

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

説明

Problem

For cost tracking and post-run analysis of agentic workflows, the missing piece is read access to workflow run artifacts. Specifically, downloading the agent-artifacts artifact from a completed gh aw run to parse token-usage.jsonl for per-run token cost data.

The current workaround requires chaining several REST API calls:

  1. GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts to list artifacts
  2. GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/zip to download
  3. Unzip and parse the relevant file

This is a lot of plumbing for what should be a natural thing for an AI agent to do: "look at what the last run produced."

Proposed tool

download_workflow_run_artifact(owner, repo, run_id, artifact_name) that returns the artifact contents (or a structured representation for known formats like JSONL).

Why this matters

The token-usage.jsonl format written by gh-aw's firewall proxy (since v0.25.8) contains per-model token counts for every agentic workflow run. A single MCP tool call to retrieve it would unlock a natural class of "analyze what the last agent run did" workflows. Right now that analysis requires dropping out of MCP and into raw REST.

More broadly, artifacts are a primary output mechanism for GitHub Actions. Being able to read them via MCP would make a wide range of post-run analysis workflows significantly simpler.

主要言語
Go
スター
33.1k
フォーク
5k
平均マージ
2日 1時間
マージ済み PR(30日)
25

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

github/github-mcp-server のほかの issue

github/github-mcp-server の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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