You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,12 @@ These are one time installations required to be able to test your changes locall
19
19
20
20
## Submitting a pull request
21
21
22
-
> **Important**: Please open your pull request against the `next` branch, not `main`. The `next` branch is where we integrate new features and changes before they are merged to `main`.
23
-
24
22
1.[Fork][fork] and clone the repository
25
23
1. Make sure the tests pass on your machine: `go test -v ./...`
26
24
1. Make sure linter passes on your machine: `golangci-lint run`
27
25
1. Create a new branch: `git checkout -b my-branch-name`
28
26
1. Make your change, add tests, and make sure the tests and linter still pass
29
-
1. Push to your fork and [submit a pull request][pr] targeting the `next` branch
27
+
1. Push to your fork and [submit a pull request][pr] targeting the `main` branch
30
28
1. Pat yourself on the back and wait for your pull request to be reviewed and merged.
31
29
32
30
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
Copy file name to clipboardExpand all lines: README.md
+60-11Lines changed: 60 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -269,6 +269,8 @@ The following sets of tools are available (all are on by default):
269
269
|`context`|**Strongly recommended**: Tools that provide context about the current user and GitHub context you are operating in |
270
270
|`actions`| GitHub Actions workflows and CI/CD operations |
271
271
|`code_security`| Code security related tools, such as GitHub Code Scanning |
272
+
|`dependabot`| Dependabot tools |
273
+
|`discussions`| GitHub Discussions related tools |
272
274
|`experiments`| Experimental features that are not considered stable yet |
273
275
|`issues`| GitHub Issues related tools |
274
276
|`notifications`| GitHub Notifications related tools |
@@ -456,6 +458,7 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
456
458
-`repo`: Repository name (string, required)
457
459
-`return_content`: Returns actual log content instead of URLs (boolean, optional)
458
460
-`run_id`: Workflow run ID (required when using failed_only) (number, optional)
461
+
-`tail_lines`: Number of lines to return from the end of the log (number, optional)
459
462
460
463
-**get_workflow_run** - Get workflow run
461
464
-`owner`: Repository owner (string, required)
@@ -475,15 +478,15 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
475
478
-**list_workflow_jobs** - List workflow jobs
476
479
-`filter`: Filters jobs by their completed_at timestamp (string, optional)
477
480
-`owner`: Repository owner (string, required)
478
-
-`page`: The page number of the results to fetch (number, optional)
479
-
-`per_page`: The number of results per page (max 100) (number, optional)
481
+
-`page`: Page number for pagination (min 1) (number, optional)
482
+
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
480
483
-`repo`: Repository name (string, required)
481
484
-`run_id`: The unique identifier of the workflow run (number, required)
482
485
483
486
-**list_workflow_run_artifacts** - List workflow artifacts
484
487
-`owner`: Repository owner (string, required)
485
-
-`page`: The page number of the results to fetch (number, optional)
486
-
-`per_page`: The number of results per page (max 100) (number, optional)
488
+
-`page`: Page number for pagination (min 1) (number, optional)
489
+
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
487
490
-`repo`: Repository name (string, required)
488
491
-`run_id`: The unique identifier of the workflow run (number, required)
489
492
@@ -492,16 +495,16 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
492
495
-`branch`: Returns workflow runs associated with a branch. Use the name of the branch. (string, optional)
493
496
-`event`: Returns workflow runs for a specific event type (string, optional)
494
497
-`owner`: Repository owner (string, required)
495
-
-`page`: The page number of the results to fetch (number, optional)
496
-
-`per_page`: The number of results per page (max 100) (number, optional)
498
+
-`page`: Page number for pagination (min 1) (number, optional)
499
+
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
497
500
-`repo`: Repository name (string, required)
498
501
-`status`: Returns workflow runs with the check run status (string, optional)
499
502
-`workflow_id`: The workflow ID or workflow file name (string, required)
500
503
501
504
-**list_workflows** - List workflows
502
505
-`owner`: Repository owner (string, required)
503
-
-`page`: The page number of the results to fetch (number, optional)
504
-
-`per_page`: The number of results per page (max 100) (number, optional)
506
+
-`page`: Page number for pagination (min 1) (number, optional)
507
+
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
505
508
-`repo`: Repository name (string, required)
506
509
507
510
-**rerun_failed_jobs** - Rerun failed jobs
@@ -553,6 +556,52 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
553
556
554
557
<details>
555
558
559
+
<summary>Dependabot</summary>
560
+
561
+
-**get_dependabot_alert** - Get dependabot alert
562
+
-`alertNumber`: The number of the alert. (number, required)
563
+
-`owner`: The owner of the repository. (string, required)
564
+
-`repo`: The name of the repository. (string, required)
565
+
566
+
-**list_dependabot_alerts** - List dependabot alerts
567
+
-`owner`: The owner of the repository. (string, required)
568
+
-`repo`: The name of the repository. (string, required)
569
+
-`severity`: Filter dependabot alerts by severity (string, optional)
570
+
-`state`: Filter dependabot alerts by state. Defaults to open (string, optional)
571
+
572
+
</details>
573
+
574
+
<details>
575
+
576
+
<summary>Discussions</summary>
577
+
578
+
-**get_discussion** - Get discussion
579
+
-`discussionNumber`: Discussion Number (number, required)
580
+
-`owner`: Repository owner (string, required)
581
+
-`repo`: Repository name (string, required)
582
+
583
+
-**get_discussion_comments** - Get discussion comments
584
+
-`discussionNumber`: Discussion Number (number, required)
585
+
-`owner`: Repository owner (string, required)
586
+
-`repo`: Repository name (string, required)
587
+
588
+
-**list_discussion_categories** - List discussion categories
589
+
-`after`: Cursor for pagination, use the 'after' field from the previous response (string, optional)
590
+
-`before`: Cursor for pagination, use the 'before' field from the previous response (string, optional)
591
+
-`first`: Number of categories to return per page (min 1, max 100) (number, optional)
592
+
-`last`: Number of categories to return from the end (min 1, max 100) (number, optional)
593
+
-`owner`: Repository owner (string, required)
594
+
-`repo`: Repository name (string, required)
595
+
596
+
-**list_discussions** - List discussions
597
+
-`category`: Optional filter by discussion category ID. If provided, only discussions with this category are listed. (string, optional)
598
+
-`owner`: Repository owner (string, required)
599
+
-`repo`: Repository name (string, required)
600
+
601
+
</details>
602
+
603
+
<details>
604
+
556
605
<summary>Issues</summary>
557
606
558
607
-**add_issue_comment** - Add comment to issue
@@ -583,8 +632,8 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
583
632
-**get_issue_comments** - Get issue comments
584
633
-`issue_number`: Issue number (number, required)
585
634
-`owner`: Repository owner (string, required)
586
-
-`page`: Page number (number, optional)
587
-
-`per_page`: Number of records per page (number, optional)
635
+
-`page`: Page number for pagination (min 1) (number, optional)
636
+
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
588
637
-`repo`: Repository name (string, required)
589
638
590
639
-**list_issues** - List issues
@@ -872,7 +921,7 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
872
921
-`page`: Page number for pagination (min 1) (number, optional)
873
922
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
874
923
-`repo`: Repository name (string, required)
875
-
-`sha`: SHAor Branch name (string, optional)
924
+
-`sha`: The commit SHA, branch name, or tag name to list commits from. If not specified, defaults to the repository's default branch. (string, optional)
Copy file name to clipboardExpand all lines: docs/remote-server.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ Below is a table of available toolsets for the remote GitHub MCP Server. Each to
20
20
| all | All available GitHub MCP tools |https://api.githubcopilot.com/mcp/|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=github&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2F%22%7D)|[read-only](https://api.githubcopilot.com/mcp/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=github&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Freadonly%22%7D)|
| Code Security | Code security related tools, such as GitHub Code Scanning |https://api.githubcopilot.com/mcp/x/code_security|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-code_security&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fcode_security%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/code_security/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-code_security&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fcode_security%2Freadonly%22%7D)|
| Discussions | GitHub Discussions related tools |https://api.githubcopilot.com/mcp/x/discussions|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-discussions&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fdiscussions%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/discussions/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-discussions&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fdiscussions%2Freadonly%22%7D)|
23
25
| Experiments | Experimental features that are not considered stable yet |https://api.githubcopilot.com/mcp/x/experiments|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-experiments&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fexperiments%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/experiments/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-experiments&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fexperiments%2Freadonly%22%7D)|
24
26
| Issues | GitHub Issues related tools |https://api.githubcopilot.com/mcp/x/issues|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-issues&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fissues%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/issues/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-issues&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fissues%2Freadonly%22%7D)|
25
27
| Notifications | GitHub Notifications related tools |https://api.githubcopilot.com/mcp/x/notifications|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-notifications&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fnotifications%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/notifications/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-notifications&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fnotifications%2Freadonly%22%7D)|
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/list_commits.snap
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"title": "List commits",
4
4
"readOnlyHint": true
5
5
},
6
-
"description": "Get list of commits of a branch in a GitHub repository",
6
+
"description": "Get list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).",
7
7
"inputSchema": {
8
8
"properties": {
9
9
"author": {
@@ -30,7 +30,7 @@
30
30
"type": "string"
31
31
},
32
32
"sha": {
33
-
"description": "SHAor Branch name",
33
+
"description": "The commit SHA, branch name, or tag name to list commits from. If not specified, defaults to the repository's default branch.",
0 commit comments