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
"description": "Get information on a specific pull request in GitHub repository.",
7
+
"inputSchema": {
8
+
"properties": {
9
+
"method": {
10
+
"description": "Action to specify what pull request data needs to be retrieved from GitHub. \nPossible options: \n 1. get - Get details of a specific pull request.\n 2. get_diff - Get the diff of a pull request.\n 3. get_status - Get status of a head commit in a pull request. This reflects status of builds and checks.\n 4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.\n 5. get_review_comments - Get the review comments on a pull request. Use with pagination parameters to control the number of results returned.\n 6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.\n",
11
+
"type": "string"
12
+
},
13
+
"owner": {
14
+
"description": "Repository owner",
15
+
"type": "string"
16
+
},
17
+
"page": {
18
+
"description": "Page number for pagination (min 1)",
19
+
"minimum": 1,
20
+
"type": "number"
21
+
},
22
+
"perPage": {
23
+
"description": "Results per page for pagination (min 1, max 100)",
baseInstruction:=`The GitHub MCP Server provides tools to interact with GitHub.
32
-
33
-
Context management:
34
-
1. Use pagination whenever possible with batches of 5-10 items.
35
-
2. Use minimal_output parameter set to true if the full information is not needed to accomplish a task.
31
+
baseInstruction:=`The GitHub MCP Server provides tools to interact with GitHub platform.
36
32
37
33
Tool selection guidance:
38
34
1. Use 'list_*' tools for broad, simple retrieval and pagination of all items of a type (e.g., all issues, all PRs, all branches) with basic filtering.
39
-
2. Use tools containing 'search' in their name for targeted queries with specific criteria, keywords, or complex filters (e.g., issues with certain text, PRs by author, code containing functions).`
35
+
2. Use 'search_*' tools for targeted queries with specific criteria, keywords, or complex filters (e.g., issues with certain text, PRs by author, code containing functions).
36
+
37
+
Context management:
38
+
1. Use pagination whenever possible with batches of 5-10 items.
39
+
2. Use minimal_output parameter set to true if the full information is not needed to accomplish a task.`
0 commit comments