Skip to content

Commit 45bfff6

Browse files
committed
Add pull requests tool description
1 parent 04d44ff commit 45bfff6

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ The remote GitHub MCP Server is hosted by GitHub and provides the easiest method
2828

2929
For quick installation, use one of the one-click install buttons above. Once you complete that flow, toggle Agent mode (located by the Copilot Chat text input) and the server will start. Make sure you're using [VS Code 1.101](https://code.visualstudio.com/updates/v1_101) or [later](https://code.visualstudio.com/updates) for remote MCP and OAuth support.
3030

31-
3231
Alternatively, to manually configure VS Code, choose the appropriate JSON block from the examples below and add it to your host configuration:
3332

3433
<table>
@@ -176,7 +175,6 @@ Add the following JSON block to your IDE MCP settings.
176175

177176
Optionally, you can add a similar example (i.e. without the mcp key) to a file called `.vscode/mcp.json` in your workspace. This will allow you to share the configuration with others.
178177

179-
180178
```json
181179
{
182180
"inputs": [
@@ -276,7 +274,6 @@ The following sets of tools are available (all are on by default):
276274
| `users` | Anything relating to GitHub Users |
277275
| `experiments` | Experimental features (not considered stable) |
278276

279-
280277
#### Specifying Toolsets
281278

282279
To specify toolsets you want available to the LLM, you can pass an allow-list in two ways:
@@ -288,6 +285,7 @@ To specify toolsets you want available to the LLM, you can pass an allow-list in
288285
```
289286

290287
2. **Using Environment Variable**:
288+
291289
```bash
292290
GITHUB_TOOLSETS="repos,issues,pull_requests,actions,code_security" ./github-mcp-server
293291
```
@@ -366,6 +364,7 @@ the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data r
366364

367365
- For GitHub Enterprise Server, prefix the hostname with the `https://` URI scheme, as it otherwise defaults to `http://`, which GitHub Enterprise Server does not support.
368366
- For GitHub Enterprise Cloud with data residency, use `https://YOURSUBDOMAIN.ghe.com` as the hostname.
367+
369368
``` json
370369
"github": {
371370
"command": "docker",
@@ -491,7 +490,7 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
491490
- `assignees`: New assignees (string[], optional)
492491
- `milestone`: New milestone number (number, optional)
493492

494-
- **search_issues** - Search for issues and pull requests
493+
- **search_issues** - Search for issues
495494
- `query`: Search query (string, required)
496495
- `sort`: Sort field (string, optional)
497496
- `order`: Sort order (string, optional)
@@ -527,6 +526,18 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
527526
- `perPage`: Results per page (number, optional)
528527
- `page`: Page number (number, optional)
529528

529+
- **search_pull_requests** - Search for pull requests in GitHub repositories using pull request search syntax
530+
531+
- `query`: Search query using GitHub pull request search syntax (string, required)
532+
- `owner`: Repository owner (string, optional)
533+
- `repo`: Repository name (string, optional)
534+
- `sort`: Sort field by number of matches of categories, defaults to best match (string, optional)
535+
- Enum: "comments", "reactions", "reactions-+1", "reactions--1", "reactions-smile", "reactions-thinking_face", "reactions-heart", "reactions-tada", "interactions", "created", "updated"
536+
- `order`: Sort order (string, optional)
537+
- Enum: "asc", "desc"
538+
- `page`: Page number (number, optional)
539+
- `perPage`: Results per page (number, optional)
540+
530541
- **merge_pull_request** - Merge a pull request
531542

532543
- `owner`: Repository owner (string, required)

0 commit comments

Comments
 (0)