# GitHub MCP: summarize open PRs and create GitHub issues

> Connect the GitHub MCP server to Warp to summarize open PRs, create issues from TODO comments, and automate repo management.

- 网址：https://funcoding.ai/agents/warp/guides/external-tools/github-mcp-summarizing-open-prs-and-creating-gh-issues/
- 来源：Warp 官方文档原文（英文），MIT 许可，同步于 2026-10-11
- 官方原文：https://docs.warp.dev/guides/external-tools/github-mcp-summarizing-open-prs-and-creating-gh-issues/

---
The GitHub MCP Server lets Warp agents read, write, and automate tasks in your GitHub repositories directly — no manual tab-switching required.

---

### 2. Setup

#### Step 1. Get a GitHub personal access token

1. Go to **GitHub** > **Settings** > **Developer Settings** > **Personal Access Tokens**
2. Create a new token and enable:
   * ✅ `repo`
   * ✅ `read:user`

---

#### Step 2. Add the server in Warp

1. Open the **MCP Panel** via Command Palette (`Cmd+P`)
2. Click **Add Server**
3. Paste in your JSON config and the access token
4. Save — and you’ll see the available endpoints immediately

---

### Step 3. Workflow 1 — summarize all open PRs

Use Warp’s agent to summarize pull requests:

Behind the scenes, the MCP server:

* Lists PRs
* Fetches comments and reviews
* Compiles summaries with clickable links

Perfect for daily PR triage or stand-ups.

---

### Step 4. Workflow 2 — create GitHub issues from TODOs

Use a saved prompt to automate issue creation.

Warp:

1. Scans your codebase for TODO comments
2. Calls `create_issue` for each one via MCP
3. Generates a linked list of new issues

This turns scattered notes into trackable tickets instantly.

---

### Why it’s useful

* Save 20–30 minutes per session
* Keep repos synchronized automatically
* Enable PR summaries, issue tracking, and automation — all inside Warp.
