Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
GitHub MCP Serverを使って Pull Requestを作る、レビューする
Search
Hiroaki Yokose
April 08, 2025
Technology
1.6k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GitHub MCP Serverを使って Pull Requestを作る、レビューする
Hiroaki Yokose
April 08, 2025
More Decks by Hiroaki Yokose
See All by Hiroaki Yokose
AIと働く
hiyokose
0
56
ソフトウェア開発研修におけるAIチューター導入の事例紹介 at ChatGPT Meetup#4
hiyokose
0
210
Other Decks in Technology
See All in Technology
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
650
ボトムアップ文化が強い組織で セキュリティをどう根付かせていくかの現在進行形の話 / Making Security Stick in a Bottom-Up Organization
yamaguchitk333
0
200
モダンフロントエンド 開発研修
recruitengineers
PRO
3
560
20260801_スクフェス大阪
kgnkhkr
2
1.2k
FORENSIA: ローカルLLMフォレンジックハーネス
sumeshi
2
280
【CEDEC2026】『ウマ娘 プリティーダービー』 英語版のキャラクターの方言や口調をローカライズするための創造的アプローチ
cygames
PRO
1
200
トヨタ⽣産⽅式(TPS)⼊⾨
recruitengineers
PRO
2
630
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.8k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
53k
JavaScript 研修 (2026)
recruitengineers
PRO
1
450
ラジオの科学
frievea
0
280
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
470
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.7k
Utilizing Notion as your number one productivity tool
mfonobong
4
520
Producing Creativity
orderedlist
PRO
348
40k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
420
Statistics for Hackers
jakevdp
799
230k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
890
エンジニアに許された特別な時間の終わり
watany
108
250k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
440
Art, The Web, and Tiny UX
lynnandtonic
304
22k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
650
Transcript
GitHub MCP Serverを使って Pull Requestを作る、レビューする KDDIアジャイル開発センター 横瀬 やさしいMCP入門 & 実践LT会(KAGと学ぼう!勉強会)
自己紹介 横瀬 広明 ソフトウェアエンジニア or スクラムマスター KDDI アジャイル開発センター(KAG) 最近はKAG社内でAIコーディング推進中
3 KDDI Agile Development Center Corporation GitHub MCP Serverについて
GitHub MCP Server について GitHubが公式に提供するMCP Server実装 https://github.com/github/github-mcp-server リポジトリやPull Requestの情報取得や操作などを提供 GitHubのPAT(Personal
Access Token)が必要 ローカルのdocker上で動作 今回のLTでは、このMCP Serverを使用したPRの作成/レビューを紹介!
5 KDDI Agile Development Center Corporation ① GitHub MCP
Serverで Pull Requestを作成する
GitHub MCP ServerでPull Requestを作成する 題材は、とあるSlack連携の小規模なソフトウェア ClineとMCP Serverを使ってvibe coding → PR作成まで実施
Clineにタスクを指示します 注).clinerulesにはプロジェクトの詳細な情報や、PR作成についての指示を事前に記載済み
GitHub MCP ServerでPull Requestを作成する Clineがタスクを開始 Pull Requestが関係ない部分は MCP機能も登場せず、 通常通りのタスク進行
GitHub MCP ServerでPull Requestを作成する 編集が終わり、Pull Request作成に向 けてコミット&プッシュ ローカルのgit操作も、 MCP Serverは呼び出されない
GitHub MCP ServerでPull Requestを作成する コミット後、Pull Request作成 ClineがGitHub MCP Serverの create_pull_requestを呼び出し許可を
求める
GitHub MCP ServerでPull Requestを作成する Pull Requestが作成されている 事前に .clinerulesで、Pull Requestに 記載してほしい内容や、ドラフトで作成
する旨を指示している コスト: PR作成の部分は$0.15
11 KDDI Agile Development Center Corporation ② GitHub MCP
Serverで Pull Requestをレビューする
GitHub MCP ServerでPull Requestをレビューする 次にPull Requestのレビューを MCP Serverの機能を使ってClineに実施してもらう GitHub MCP
Serverにはレビュー自体をApproveするToolもあるが、 今回はコメントを残すだけにした(.clinerulesにて指示) 注)PR作成と同様、.clinerulesにはPRレビューについての指示を事前に記載済み
GitHub MCP ServerでPull Requestをレビューする ClineはGitHub MCP Serverのいくつかのツールを何度か呼び出し、 Pull Requestの変更点を確認している
GitHub MCP ServerでPull Requestをレビューする その後、Pull Requestに対してコメントを送信
GitHub MCP ServerでPull Requestをレビューする Pull Requestにコメントが投稿されてい る GitHub MCP Serverに渡した
Token(PAT)が個人のものなので、人 間がコメントしたように見える (.clinerulesに、AIによるコメントであることを記 載するように指示した。またコードレビューの観 点も記載した) コスト: $1.6
16 KDDI Agile Development Center Corporation まとめと感想
• GitHub MCP ServerとClineを使って Pull Requestの作成とレビューをやってみた • Pull Requestの本文ドラフトまで作成させられるのは便利 •
Pull Request作成やレビューに関する動作は .clinerules で制御できる • 自分のPull Requestに対する指摘コメントに対応する、などもできそう • MCPなので、Cline以外でも同様のことができるだろう • 精度はモデルやMCP ServerよりはAIモデルやツール次第 まとめと感想
Be a Change Leader. アジャイルに力を与え 共に成長し続ける社会を創る