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: src/mcp/server.ts
+2-26Lines changed: 2 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -60,20 +60,8 @@ class GitHubMCPServer {
60
60
type: 'string',
61
61
description: 'The comment message',
62
62
},
63
-
owner: {
64
-
type: 'string',
65
-
description: 'Repository owner',
66
-
},
67
-
repo: {
68
-
type: 'string',
69
-
description: 'Repository name',
70
-
},
71
-
pr_number: {
72
-
type: 'number',
73
-
description: 'Pull request number',
74
-
},
75
63
},
76
-
required: ['message','owner','repo','pr_number'],
64
+
required: ['message'],
77
65
},
78
66
},
79
67
{
@@ -86,18 +74,6 @@ class GitHubMCPServer {
86
74
type: 'string',
87
75
description: 'The comment message explaining the issue or feedback',
88
76
},
89
-
owner: {
90
-
type: 'string',
91
-
description: 'Repository owner',
92
-
},
93
-
repo: {
94
-
type: 'string',
95
-
description: 'Repository name',
96
-
},
97
-
pr_number: {
98
-
type: 'number',
99
-
description: 'Pull request number',
100
-
},
101
77
path: {
102
78
type: 'string',
103
79
description: 'File path for the inline comment',
@@ -111,7 +87,7 @@ class GitHubMCPServer {
111
87
description: 'Optional code suggestion to replace the current line(s). Only provide this for obvious/trivial fixes. The suggestion should be the exact replacement code without any markdown formatting.',
0 commit comments