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
2
1.1k
GitHub MCP Serverを使って Pull Requestを作る、レビューする
Hiroaki Yokose
April 08, 2025
Tweet
Share
More Decks by Hiroaki Yokose
See All by Hiroaki Yokose
ソフトウェア開発研修におけるAIチューター導入の事例紹介 at ChatGPT Meetup#4
hiyokose
0
170
Other Decks in Technology
See All in Technology
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
47
19k
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
0
110
Delta airlines®️ USA Contact Numbers: Complete 2025 Support Guide
airtravelguide
0
340
Delegating the chores of authenticating users to Keycloak
ahus1
0
140
FOSS4G 2025 KANSAI QGISで点群データをいろいろしてみた
kou_kita
0
400
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
270
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
960
敢えて生成AIを使わないマネジメント業務
kzkmaeda
2
440
What’s new in Android development tools
yanzm
0
310
B2C&B2B&社内向けサービスを抱える開発組織におけるサービス価値を最大化するイニシアチブ管理
belongadmin
1
6.9k
freeeのアクセシビリティの現在地 / freee's Current Position on Accessibility
ymrl
2
180
Claude Code に プロジェクト管理やらせたみた
unson
6
3.9k
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
72
4.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
690
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Being A Developer After 40
akosma
90
590k
The Invisible Side of Design
smashingmag
301
51k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
BBQ
matthewcrist
89
9.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Adopting Sorbet at Scale
ufuk
77
9.5k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
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. アジャイルに力を与え 共に成長し続ける社会を創る