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
-`body`: Comment content (required for 'add', 'reply', and 'update' methods) (string, optional)
736
+
-`commentNodeID`: The Node ID of the discussion comment (required for 'reply', 'update', 'delete', 'mark_answer', and 'unmark_answer' methods). For 'reply', this is the top-level comment to reply to; GitHub Discussions only support one level of nesting. (string, optional)
737
+
-`discussionNumber`: Discussion number (required for 'add' and 'reply' methods) (number, optional)
738
+
-`method`: Write operation to perform on a discussion comment.
739
+
Options are:
740
+
- 'add' - adds a new top-level comment to a discussion.
741
+
- 'reply' - replies to a top-level discussion comment (GitHub Discussions only support one level of nesting).
742
+
- 'update' - updates an existing discussion comment.
743
+
- 'delete' - deletes a discussion comment.
744
+
- 'mark_answer' - marks a discussion comment as the answer (Q&A only).
745
+
- 'unmark_answer' - unmarks a discussion comment as the answer (Q&A only).
746
+
(string, required)
747
+
-`owner`: Repository owner (required for 'add' and 'reply' methods) (string, optional)
748
+
-`repo`: Repository name (required for 'add' and 'reply' methods) (string, optional)
749
+
733
750
-**get_discussion** - Get discussion
734
751
-**Required OAuth Scopes**: `repo`
735
752
-`discussionNumber`: Discussion Number (number, required)
@@ -740,6 +757,7 @@ The following sets of tools are available:
740
757
-**Required OAuth Scopes**: `repo`
741
758
-`after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)
742
759
-`discussionNumber`: Discussion Number (number, required)
760
+
-`includeReplies`: When true, each top-level comment will include its replies nested within it (up to 100 replies per comment, which is the GitHub API maximum). Defaults to false. (boolean, optional)
743
761
-`owner`: Repository owner (string, required)
744
762
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
745
763
-`repo`: Repository name (string, required)
@@ -1287,6 +1305,14 @@ The following sets of tools are available:
1287
1305
-`query`: Search query using GitHub's powerful code search syntax. Examples: 'content:Skill language:Java org:github', 'NOT is:archived language:Python OR language:go', 'repo:github/github-mcp-server'. Supports exact matching, language filters, path filters, and more. (string, required)
1288
1306
-`sort`: Sort field ('indexed' only) (string, optional)
1289
1307
1308
+
-**search_commits** - Search commits
1309
+
-**Required OAuth Scopes**: `repo`
1310
+
-`order`: Sort order (string, optional)
1311
+
-`page`: Page number for pagination (min 1) (number, optional)
1312
+
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
1313
+
-`query`: Commit search query (GitHub commit search REST). Searches commit messages on the default branch only. Scope the search with `repo:owner/repo`, `org:`, or `user:` (queries without a scope qualifier match across all of GitHub and are usually not what you want). Other qualifiers: `author:`, `committer:`, `author-name:`, `committer-name:`, `author-email:`, `committer-email:`, `author-date:`, `committer-date:` (supports `>`, `<`, `>=`, `<=`, and `YYYY-MM-DD..YYYY-MM-DD` ranges), `merge:true|false`, `hash:`, `tree:`, `parent:`, `is:public`. Examples: `repo:owner/repo fix panic`; `org:github author:defunkt committer-date:>=2024-01-01`; `"refactor cache" repo:o/r`; `hash:abc1234 repo:o/r`. (string, required)
1314
+
-`sort`: Sort by author or committer date (defaults to best match) (string, optional)
1315
+
1290
1316
-**search_repositories** - Search repositories
1291
1317
-**Required OAuth Scopes**: `repo`
1292
1318
-`minimal_output`: Return minimal repository information (default: true). When false, returns full GitHub API repository objects. (boolean, optional)
0 commit comments