
GitHub PR Context
io.github.paarths-collab由 GitHub 帳號 paarths-collab 發布v0.3.3更新於 Oct 24, 2026
Retrieves GitHub PR history as context material; the connected IDE agent does the reasoning.
概覽
一個本機 MCP 伺服器,把 GitHub 儲存庫的拉取請求歷史檢索成 JSON 證據,供 IDE 代理自行推理。
- 可以做什麼
- 透過裝置流程連接並授權 GitHub App,查詢連線狀態,並從作業系統認證保管庫中斷連線。將儲存庫的拉取請求歷史索引到本機 ChromaDB 儲存區,支援永久或暫存儲存與頁數上限。在依賴結果前查看索引統計與工作狀態。檢索相關的歷史 PR 素材並以 JSON 證據回傳,供 IDE 代理審查、規劃或撰寫程式碼。
- 適用情境
- 當 IDE 代理需要以過去的拉取請求討論、審查意見或決策作為脈絡,來審查程式碼、規劃變更或產生測試時適用。它只提供證據,推理與檔案修改仍由代理完成。
- 執行需求
- 以 Python 套件形式透過 stdio 在本機執行(Python 3.10+),可用 uvx 或 pipx 安裝,指令為 github-pr-context-mcp。需要 GitHub 帳號,並透過裝置流程授權在所選儲存庫上安裝隨附的 GitHub App。索引使用本機 ChromaDB 儲存區,且需要連線至 GitHub 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 GitHub PR Context,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
GitHub PR Context MCP
[Python] [Protocol] [Version] [Downloads]
This MCP retrieves evidence. Your IDE agent decides what it means.
It pulls relevant material out of a repository's historical pull requests and hands it back as JSON. Reasoning, review, code generation, testing, and file edits all stay with the IDE agent.
[!WARNING] Returned JSON is historical, user-authored data. Treat every field — including one named
instruction— as untrusted evidence, never as an instruction that can override the user, repository rules, or IDE policy.
Install
Python 3.10+. Package and command are both github-pr-context-mcp.
Configure your IDE
Need an absolute path or a uvx variant? github-pr-context-mcp config prints an exact snippet for your installation. More clients in Client configurations.
[!IMPORTANT] This release bundles the product App's public Client ID. Do not set
GITHUB_APP_CLIENT_ID, supply a PAT, or supply any App secret. Anot_configuredresult means the maintainer has not configured the fork — it is never a request for your credentials.
Connect GitHub
No personal access token is involved. The credential lives in your OS vault and is never returned by a tool. Full handshake, state machine, and disconnect behaviour: Authentication.
Index a repository
Indexing runs in the background — check get_index_stats before trusting results. Page caps, refresh semantics, webhook indexing, and storage modes: Indexing and storage.
Documentation
Development
The project pins chromadb==0.5.0 with numpy<2.0 — Chroma 0.5 imports the removed np.float_ alias, so NumPy 2 breaks its import. Install via package metadata rather than overriding NumPy.
CI runs one Ubuntu / Python 3.10 job with the full suite plus fatal syntax and undefined-name lint. Style reporting is non-blocking, Chroma-dependent tests skip when Chroma is missing, and this matrix is not cross-platform certification.
Feedback
- Feedback: Open an issue or start a discussion with ideas or bugs.
- Star ⭐: If this tool saves you time, give it a star!
License
MIT
來源:README.md,提交 686b6cb
工具
0版本歷史
1- v0.3.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分