github-pr-context-mcp 0.2.7__tar.gz → 0.2.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. {github_pr_context_mcp-0.2.7/github_pr_context_mcp.egg-info → github_pr_context_mcp-0.2.9}/PKG-INFO +229 -218
  2. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/README.md +87 -76
  3. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/analytics/__init__.py +3 -3
  4. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/app/__init__.py +3 -3
  5. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/app/mcp_app.py +3 -2
  6. github_pr_context_mcp-0.2.9/app/tools/analysis.py +194 -0
  7. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/app/tools/indexing.py +0 -1
  8. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/auth/__init__.py +3 -3
  9. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/entrypoints/deployed/server.py +34 -34
  10. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9/github_pr_context_mcp.egg-info}/PKG-INFO +229 -218
  11. github_pr_context_mcp-0.2.9/inference/__init__.py +23 -0
  12. github_pr_context_mcp-0.2.9/inference/review.py +574 -0
  13. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/pyproject.toml +1 -1
  14. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/setup.cfg +4 -4
  15. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/tests/test_fixes.py +5 -5
  16. github_pr_context_mcp-0.2.7/app/tools/analysis.py +0 -95
  17. github_pr_context_mcp-0.2.7/inference/__init__.py +0 -3
  18. github_pr_context_mcp-0.2.7/inference/review.py +0 -175
  19. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/LICENSE +0 -0
  20. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/analytics/usage_metrics.py +0 -0
  21. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/app/routes/http.py +0 -0
  22. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/app/state.py +0 -0
  23. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/app/tools/admin.py +0 -0
  24. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/app/tools/generation.py +0 -0
  25. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/auth/gmail_identity.py +0 -0
  26. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/entrypoints/local/server.py +0 -0
  27. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/fetcher/__init__.py +0 -0
  28. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/fetcher/client.py +0 -0
  29. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/fetcher/queries.py +0 -0
  30. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/fetcher/transform.py +0 -0
  31. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/github_pr_context_mcp.egg-info/SOURCES.txt +0 -0
  32. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/github_pr_context_mcp.egg-info/dependency_links.txt +0 -0
  33. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/github_pr_context_mcp.egg-info/entry_points.txt +0 -0
  34. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/github_pr_context_mcp.egg-info/requires.txt +0 -0
  35. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/github_pr_context_mcp.egg-info/top_level.txt +0 -0
  36. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/inference/providers.py +0 -0
  37. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/storage/__init__.py +0 -0
  38. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/storage/document_builder.py +0 -0
  39. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/storage/encoder.py +0 -0
  40. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/storage/vector_store.py +0 -0
  41. {github_pr_context_mcp-0.2.7 → github_pr_context_mcp-0.2.9}/tests/test_sqlite_auth.py +0 -0
@@ -1,218 +1,229 @@
1
- Metadata-Version: 2.4
2
- Name: github-pr-context-mcp
3
- Version: 0.2.7
4
- Summary: GitHub PR Review Context MCP Server
5
- Author: Paarth Gala
6
- Requires-Python: >=3.10
7
- Description-Content-Type: text/markdown
8
- License-File: LICENSE
9
- Requires-Dist: mcp
10
- Requires-Dist: chromadb
11
- Requires-Dist: sentence-transformers
12
- Requires-Dist: python-dotenv
13
- Requires-Dist: requests
14
- Requires-Dist: cerebras-cloud-sdk
15
- Requires-Dist: openai
16
- Requires-Dist: anthropic
17
- Requires-Dist: google-generativeai
18
- Dynamic: license-file
19
-
20
- # GitHub PR Review Context MCP
21
-
22
-
23
-
24
- <div align="center">
25
-
26
- ![Python](https://img.shields.io/badge/Python-3.10%2B-blue?logo=python&logoColor=white)
27
- ![Protocol](https://img.shields.io/badge/Protocol-MCP-green)
28
- ![Data Source](https://img.shields.io/badge/Data-GitHub%20PR%20History-black?logo=github)
29
- ![Vector Store](https://img.shields.io/badge/Storage-ChromaDB-orange)
30
- ![Inference](https://img.shields.io/badge/LLM-Multi--Provider-brightgreen)
31
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
32
- ![Status](https://img.shields.io/badge/Render%20Hosting-Upcoming-gray)
33
- ![Downloads](https://img.shields.io/badge/downloads-750-blue)
34
- <!-- [![Users](https://img.shields.io/endpoint?url=https://github-pr-context-mcp.onrender.com/usage/badge)](https://github-pr-context-mcp.onrender.com/usage) -->
35
-
36
- **Production-grade context layer for AI code review, grounded in your repository's real pull request history.**
37
-
38
-
39
- </div>
40
-
41
- ## 🚀 Quick Start
42
-
43
- ### 🚀 Zero-Setup (uvx / pipx / npx)
44
- The fastest way to use the server. No cloning required. Just run one of these commands directly in your terminal or use them in your IDE's MCP settings:
45
-
46
- > [!TIP]
47
- > **Don't clone this repo to get AI rules!**
48
- > Once installed, run `generate_repo_rules` inside **YOUR** project to automatically create `.cursorrules` or `CLAUDE.md` tailored to your own team's PR history.
49
-
50
- **Using uvx (Recommended for speed):**
51
- ```bash
52
- uvx github-pr-context-mcp
53
- ```
54
-
55
- **Using pipx (Recommended for stability):**
56
- ```bash
57
- pipx run github-pr-context-mcp
58
- # Or install permanently:
59
- pipx install github-pr-context-mcp
60
- ```
61
-
62
- **Using npx (Smithery bridge):**
63
- ```bash
64
- npx -y @smithery/cli run github-pr-context-mcp
65
- ```
66
-
67
- ---
68
-
69
- ### ⚠️ Manual Installation (Git Clone / Advanced)
70
- > [!WARNING]
71
- > Running from a git clone is **only recommended for developers** contributing to this project. For general use, please use the `pipx` method above.
72
-
73
- If you have cloned the repository for development:
74
- 1. Create a virtual environment: `python -m venv .venv`
75
- 2. Activate it and install: `pip install -e .`
76
- 3. Run automatic setup: `python scripts/install_clients.py`
77
-
78
- For full configuration (Cursor, Claude Desktop), see the [**Quick Start Guide**](docs/quickstart.md).
79
-
80
- ---
81
-
82
- ## Overview
83
-
84
- GitHub PR Review Context MCP gives AI assistants institutional review memory.
85
-
86
- Instead of generic feedback, reviews are informed by historical reviewer comments, recurring quality patterns, and repository-specific standards from your own PR history.
87
-
88
- ### Core Value
89
-
90
- - Improves review consistency across teams and repositories.
91
- - Reduces repeated reviewer feedback on known issues.
92
- - Integrates with any MCP-compatible client and multiple LLM providers.
93
-
94
- ---
95
-
96
- ## 🛠️ Usage Modes: Solo vs. Team
97
-
98
- This MCP server is built to scale from a single machine to an entire engineering organization.
99
-
100
- ### 👤 Solo Developer (Local Mode)
101
- **Best for:** Privacy, local-first control, and zero hosting costs.
102
- - **How it works:** Run via `uvx`, `pipx`, or a local git clone.
103
- - **Storage:** ChromaDB stays on your local machine.
104
- - **Security:** Your GitHub Token and LLM keys never leave your device.
105
- - **Setup:** See [Quick Start](docs/quickstart.md#🚀-zero-setup-uvx--pipx--npx).
106
-
107
- ### 🤝 Team Collaboration (Hosted Mode - UPCOMING)
108
- **Best for:** Scaling team-wide PR standards and centralized infra.
109
- - **How it works:** One deployment on Render (Coming Soon) shared by the whole team.
110
- - **Isolation:** Strict **Gmail-based namespace isolation** (driven by SQLite). User A's indexed data is mathematically invisible to User B.
111
- - **Economics:** Pooled LLM credits and a single shared indexing server.
112
- - **Setup:** See [Deployment Guide](docs/integrations/deployed.md).
113
-
114
- ---
115
-
116
- ### 🌟 Zero-Friction Setup (Upcoming)
117
- If your team has Hosted this MCP on Render, you do **NOT** need to `git clone` or install anything. You just drop a snippet into your IDE:
118
-
119
- ```json
120
- "github-pr-context": {
121
- "type": "sse",
122
- "url": "https://YOUR-RENDER-URL.onrender.com/mcp",
123
- "headers": {
124
- "Authorization": "Bearer YOUR_TOKEN"
125
- }
126
- }
127
- ```
128
- *That's it.* If your IDE supports native MCP SSE connections, you are immediately connected to the secure Render deployment. No setup friction, no tools required.
129
-
130
- ---
131
-
132
- > [!IMPORTANT]
133
- > **🚀 USE THE OFFICIAL PACKAGE:** This project is now on PyPI.
134
- > To ensure seamless updates and zero configuration friction, do **NOT** `git clone`.
135
- >
136
- > **Recommended Install:**
137
- > ```bash
138
- > pipx install github-pr-context-mcp
139
- > ```
140
- > Or run instantly with: `uvx github-pr-context-mcp`
141
-
142
- <div align="center">
143
- <img src="assets/mcp_tool_guide_premium_v2.png" width="800" alt="GitHub PR Context MCP Tools">
144
- </div>
145
-
146
- <br/>
147
-
148
- ---
149
-
150
- ## Key Capabilities
151
-
152
- | Capability | What It Delivers |
153
- |---|---|
154
- | Historical review retrieval | Semantic search across prior PR comments and review summaries |
155
- | Context-aware AI review | Feedback grounded in repository-specific review behavior |
156
- | Grounded code generation | Generate new code based on past commits, comments, and style |
157
- | **Team rules generation** | **Auto-generate .cursorrules / CLAUDE.md from repo history** |
158
- | Smart repository readiness | Auto-detect indexed state and index on demand |
159
- | Flexible storage modes | Permanent (disk) and temporary (in-memory) indexing options |
160
- | Portable inference layer | Switch LLM providers using environment configuration only |
161
-
162
-
163
- ---
164
-
165
- ## 🧰 Core Tools Reference
166
-
167
- The server exposes 12 core tools for IDE agents and developers. For a deep dive on when to use each, see the [**Tool Strategy Guide**](docs/tools_strategy.md).
168
-
169
- | Tool | Action |
170
- |---|---|
171
- | `ensure_repo_ready` | Index a repo and ensure it's ready for queries |
172
- | `generate_repo_rules` | **Synthesize .cursorrules / CLAUDE.md from PR history** |
173
- | `generate_code_from_history`| Write code grounded in past commits & team style |
174
- | `review_code_with_history` | Perform AI review grounded in team review memory |
175
- | `get_team_review_patterns` | Summarize recurring team standards (e.g. "no magic numbers") |
176
- | `semantic_search_reviews` | Search past PR comments by meaning, not just keywords |
177
- | `set_active_repo` | Switch between multiple indexed repositories |
178
- | `list_indexed_repos` | View all repos currently in local/temporary storage |
179
- | `delete_repo_index` | Free up disk space by clearing repository indices |
180
- | `get_index_stats` | Verify if a repo index is complete (doc count) |
181
- | `update_settings` | Update tokens/LLM keys (Hosted mode only) |
182
- | `get_usage_stats` | View adoption metrics and unique user counts |
183
-
184
- ---
185
-
186
- ---
187
-
188
- ## 📖 Documentation
189
-
190
- Detailed guides for deep dives and specific configurations:
191
-
192
- - 🛠️ [**Quick Start & Usage**](docs/quickstart.md) — Setup and basic commands.
193
- - ⚙️ [**LLM Configuration**](docs/llm-configuration.md) Switching between OpenAI, Anthropic, Gemini, and Cerebras.
194
- - 🧩 [**Tool Strategy & Selection Guide**](docs/tools_strategy.md) — When to use which tool (for humans and agents).
195
- - 🏗️ [**Architecture & Pipeline**](docs/architecture.md) — How the RAG engine and indexing work.
196
- - 🔌 [**Integrations**](docs/integrations/index.md) — Connecting to Cursor, Claude Desktop, and more.
197
-
198
- ---
199
-
200
- ## 📣 Community & Feedback
201
-
202
- We want to hear from youwhether you are a solo developer or a team at a large company!
203
-
204
- - **Feedback**: Please open an issue or start a discussion if you have ideas or encounter bugs.
205
- - **Star ⭐**: If this tool saves you time, give it a star! It helps others find the project.
206
- - **Corporate**: Is your team using this? Join our "Adopters" list by opening a PR to add your team's name.
207
-
208
- ---
209
-
210
- ## 🛠️ Troubleshooting
211
-
212
- - **"command not found"**: Use absolute paths in your configuration. Run `github-pr-context-mcp config` to get your exact path.
213
- - **"PermissionError: [WinError 32]"**: The binary is locked by a running process. Close Claude/Cursor, run `taskkill /F /IM github-pr-context-mcp.exe`, then retry the upgrade.
214
- - **Rate Limit Errors**: Ensure your `GITHUB_TOKEN` is valid and has `repo` scope.
215
-
216
- ## ⚖️ License
217
-
218
- MIT
1
+ Metadata-Version: 2.4
2
+ Name: github-pr-context-mcp
3
+ Version: 0.2.9
4
+ Summary: GitHub PR Review Context MCP Server
5
+ Author: Paarth Gala
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: mcp
10
+ Requires-Dist: chromadb
11
+ Requires-Dist: sentence-transformers
12
+ Requires-Dist: python-dotenv
13
+ Requires-Dist: requests
14
+ Requires-Dist: cerebras-cloud-sdk
15
+ Requires-Dist: openai
16
+ Requires-Dist: anthropic
17
+ Requires-Dist: google-generativeai
18
+ Dynamic: license-file
19
+
20
+ # GitHub PR Review Context MCP
21
+
22
+ ![Python](https://img.shields.io/badge/Python-3.10%2B-blue?logo=python&logoColor=white)
23
+ ![Protocol](https://img.shields.io/badge/Protocol-MCP-green)
24
+ ![Version](https://img.shields.io/badge/version-0.2.9-green)
25
+ ![Downloads](https://img.shields.io/badge/downloads-1.5k+-blue)
26
+
27
+ > [!IMPORTANT]
28
+ > **NEW RELEASE (v0.2.9):** Integrated advanced AI tools for Test Generation, Security Auditing, Static Analysis, and Refactoring suggestions grounded in your repo history.
29
+ > ```bash
30
+ > pipx upgrade github-pr-context-mcp
31
+ > # OR
32
+ > uvx --upgrade github-pr-context-mcp
33
+ > ```
34
+
35
+ **Context layer for AI code review, grounded in your repository's real pull request history.**
36
+
37
+ ---
38
+
39
+ ## ❤️ Community Feedback
40
+ We want to hear from you! Your reviews help us improve and reach more developers.
41
+
42
+ 👉 [**Write a Review / Share your Experience**](https://forms.gle/pEnwgcU8NXGhqKeH6)
43
+
44
+ *"This MCP is like having a teammate with perfect memory of every PR ever written."* Example Review
45
+
46
+ ---
47
+
48
+ ---
49
+
50
+ ## Overview
51
+
52
+ GitHub PR Review Context MCP gives AI assistants institutional review memory.
53
+
54
+ Instead of generic feedback, reviews are informed by historical reviewer comments, recurring quality patterns, and repository-specific standards from your own PR history.
55
+
56
+ ### Core Value
57
+
58
+ - Improves review consistency across teams and repositories.
59
+ - Reduces repeated reviewer feedback on known issues.
60
+ - Integrates with any MCP-compatible client and multiple LLM providers.
61
+
62
+ ---
63
+
64
+ ## Key Capabilities
65
+
66
+ | Capability | What It Delivers |
67
+ |---|---|
68
+ | Historical review retrieval | Semantic search across prior PR comments and review summaries |
69
+ | Context-aware AI review | Feedback grounded in repository-specific review behavior |
70
+ | Grounded code generation | Generate new code based on past commits, comments, and style |
71
+ | **Team rules generation** | **Auto-generate .cursorrules / CLAUDE.md from repo history** |
72
+ | Smart repository readiness | Auto-detect indexed state and index on demand |
73
+ | Flexible storage modes | Permanent (disk) and temporary (in-memory) indexing options |
74
+ | Portable inference layer | Switch LLM providers using environment configuration only |
75
+
76
+ ---
77
+
78
+ ## 🚀 Quick Start
79
+
80
+ ### 🚀 Zero-Setup (uvx / pipx / npx)
81
+
82
+ The fastest way to use the server. No cloning required. Just run one of these commands directly in your terminal or use them in your IDE's MCP settings:
83
+
84
+ > [!TIP]
85
+ > **Don't clone this repo to get AI rules!**
86
+ > Once installed, run `generate_repo_rules` inside **YOUR** project to automatically create `.cursorrules` or `CLAUDE.md` tailored to your own team's PR history.
87
+
88
+ **Using uvx (Recommended for speed):**
89
+ ```bash
90
+ uvx github-pr-context-mcp
91
+ ```
92
+
93
+ **Using pipx (Recommended for stability):**
94
+ ```bash
95
+ pipx run github-pr-context-mcp
96
+ # Or install permanently:
97
+ pipx install github-pr-context-mcp
98
+ ```
99
+
100
+ **Using npx (Smithery bridge):**
101
+ ```bash
102
+ npx -y @smithery/cli run github-pr-context-mcp
103
+ ```
104
+
105
+ ---
106
+
107
+ ### ⚠️ Manual Installation (Git Clone / Advanced)
108
+
109
+ > [!WARNING]
110
+ > Running from a git clone is **only recommended for developers** contributing to this project. For general use, please use the `pipx` method above.
111
+
112
+ If you have cloned the repository for development:
113
+ 1. Create a virtual environment: `python -m venv .venv`
114
+ 2. Activate it and install: `pip install -e .`
115
+ 3. Run automatic setup: `python scripts/install_clients.py`
116
+
117
+ For full configuration (Cursor, Claude Desktop), see the [**Quick Start Guide**](docs/quickstart.md).
118
+
119
+ ---
120
+
121
+ > [!IMPORTANT]
122
+ > **🚀 USE THE OFFICIAL PACKAGE:** This project is now on PyPI.
123
+ > To ensure seamless updates and zero configuration friction, do **NOT** `git clone`.
124
+ >
125
+ > **Recommended Install:**
126
+ > ```bash
127
+ > pipx install github-pr-context-mcp
128
+ > ```
129
+ > Or run instantly with: `uvx github-pr-context-mcp`
130
+
131
+ ---
132
+
133
+ ## 🛠️ Usage Modes: Solo vs. Team
134
+
135
+ This MCP server is built to scale from a single machine to an entire engineering organization.
136
+
137
+ ### 👤 Solo Developer (Local Mode)
138
+
139
+ **Best for:** Privacy, local-first control, and zero hosting costs.
140
+ - **How it works:** Run via `uvx`, `pipx`, or a local git clone.
141
+ - **Storage:** ChromaDB stays on your local machine.
142
+ - **Security:** Your GitHub Token and LLM keys never leave your device.
143
+ - **Setup:** See [Quick Start](docs/quickstart.md#🚀-zero-setup-uvx--pipx--npx).
144
+
145
+ ### 🤝 Team Collaboration (Hosted Mode — UPCOMING)
146
+
147
+ **Best for:** Scaling team-wide PR standards and centralized infra.
148
+ - **How it works:** One deployment on Render (Coming Soon) shared by the whole team.
149
+ - **Isolation:** Strict **Gmail-based namespace isolation** (driven by SQLite). User A's indexed data is mathematically invisible to User B.
150
+ - **Economics:** Pooled LLM credits and a single shared indexing server.
151
+ - **Setup:** See [Deployment Guide](docs/integrations/deployed.md).
152
+
153
+ ### 🌟 Zero-Friction Setup (Upcoming)
154
+
155
+ If your team has hosted this MCP on Render, you do **NOT** need to `git clone` or install anything. Just drop this snippet into your IDE:
156
+
157
+ ```json
158
+ "github-pr-context": {
159
+ "type": "sse",
160
+ "url": "https://YOUR-RENDER-URL.onrender.com/mcp",
161
+ "headers": {
162
+ "Authorization": "Bearer YOUR_TOKEN"
163
+ }
164
+ }
165
+ ```
166
+
167
+ *That's it.* If your IDE supports native MCP SSE connections, you are immediately connected to the secure Render deployment.
168
+
169
+ ---
170
+
171
+ ## 🧰 Core Tools Reference
172
+
173
+ The server exposes 12 core tools for IDE agents and developers. For a deep dive on when to use each, see the [**Tool Strategy Guide**](docs/tools_strategy.md).
174
+
175
+ | Tool | Action |
176
+ |---|---|
177
+ | `ensure_repo_ready` | Index a repo and ensure it's ready for queries |
178
+ | `generate_repo_rules` | **Synthesize .cursorrules / CLAUDE.md from PR history** |
179
+ | `generate_code_from_history` | Write code grounded in past commits & team style |
180
+ | `review_code_with_history` | Perform AI review grounded in team review memory |
181
+ | `generate_tests` | **Generate unit tests matching repository style** |
182
+ | `static_analysis` | **Perform human-like static analysis based on history** |
183
+ | `suggest_refactors` | **Get refactoring ideas based on clean code patterns** |
184
+ | `document_changes` | **Auto-generate documentation / docstrings** |
185
+ | `security_check` | **Audit code for vulnerabilities & compliance** |
186
+ | `get_team_review_patterns` | Summarize recurring team standards |
187
+ | `semantic_search_reviews` | Search past PR comments by meaning |
188
+ | `list_indexed_repos` | View all repos currently in storage |
189
+ | `delete_repo_index` | Free up disk space by clearing repository indices |
190
+ | `get_index_stats` | Verify if a repo index is complete |
191
+ | `get_usage_stats` | View adoption metrics and unique user counts |
192
+
193
+ <img src="assets/mcp.png" width="800" alt="GitHub PR Context MCP Tools">
194
+
195
+ ---
196
+
197
+ ## 📖 Documentation
198
+
199
+ Detailed guides for deep dives and specific configurations:
200
+
201
+ - 🛠️ [**Quick Start & Usage**](docs/quickstart.md) — Setup and basic commands.
202
+ - ⚙️ [**LLM Configuration**](docs/llm-configuration.md)Switching between OpenAI, Anthropic, Gemini, and Cerebras.
203
+ - 🧩 [**Tool Strategy & Selection Guide**](docs/tools_strategy.md) — When to use which tool (for humans and agents).
204
+ - 🏗️ [**Architecture & Pipeline**](docs/architecture.md) How the RAG engine and indexing work.
205
+ - 🔌 [**Integrations**](docs/integrations/index.md) Connecting to Cursor, Claude Desktop, and more.
206
+
207
+ ---
208
+
209
+ ## 🛠️ Troubleshooting
210
+
211
+ - **"command not found"**: Use absolute paths in your configuration. Run `github-pr-context-mcp config` to get your exact path.
212
+ - **"PermissionError: [WinError 32]"**: The binary is locked by a running process. Close Claude/Cursor, run `taskkill /F /IM github-pr-context-mcp.exe`, then retry the upgrade.
213
+ - **Rate Limit Errors**: Ensure your `GITHUB_TOKEN` is valid and has `repo` scope.
214
+
215
+ ---
216
+
217
+ ## 📣 Community & Feedback
218
+
219
+ We want to hear from you — whether you are a solo developer or a team at a large company!
220
+
221
+ - **Feedback**: Please open an issue or start a discussion if you have ideas or encounter bugs.
222
+ - **Star ⭐**: If this tool saves you time, give it a star! It helps others find the project.
223
+ - **Corporate**: Is your team using this? Join our "Adopters" list by opening a PR to add your team's name.
224
+
225
+ ---
226
+
227
+ ## ⚖️ License
228
+
229
+ MIT