Skip to content

Commit fcd208e

Browse files
committed
Upgrade mcp-go
1 parent 6d01897 commit fcd208e

File tree

73 files changed

+143
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+143
-144
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.23.7
55
require (
66
github.com/google/go-github/v74 v74.0.0
77
github.com/josephburnett/jd v1.9.2
8-
github.com/mark3labs/mcp-go v0.36.0
8+
github.com/mark3labs/mcp-go v0.41.1
99
github.com/migueleliasweb/go-github-mock v1.3.0
1010
github.com/spf13/cobra v1.10.1
1111
github.com/spf13/viper v1.20.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN
5353
github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
5454
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
5555
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
56-
github.com/mark3labs/mcp-go v0.36.0 h1:rIZaijrRYPeSbJG8/qNDe0hWlGrCJ7FWHNMz2SQpTis=
57-
github.com/mark3labs/mcp-go v0.36.0/go.mod h1:T7tUa2jO6MavG+3P25Oy/jR7iCeJPHImCZHRymCn39g=
56+
github.com/mark3labs/mcp-go v0.41.1 h1:w78eWfiQam2i8ICL7AL0WFiq7KHNJQ6UB53ZVtH4KGA=
57+
github.com/mark3labs/mcp-go v0.41.1/go.mod h1:T7tUa2jO6MavG+3P25Oy/jR7iCeJPHImCZHRymCn39g=
5858
github.com/migueleliasweb/go-github-mock v1.3.0 h1:2sVP9JEMB2ubQw1IKto3/fzF51oFC6eVWOOFDgQoq88=
5959
github.com/migueleliasweb/go-github-mock v1.3.0/go.mod h1:ipQhV8fTcj/G6m7BKzin08GaJ/3B5/SonRAkgrk0zCY=
6060
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=

pkg/github/__toolsnaps__/add_comment_to_pending_review.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
},
66
"description": "Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).",
77
"inputSchema": {
8+
"type": "object",
89
"properties": {
910
"body": {
1011
"description": "The text of the review comment",
@@ -66,8 +67,7 @@
6667
"path",
6768
"body",
6869
"subjectType"
69-
],
70-
"type": "object"
70+
]
7171
},
7272
"name": "add_comment_to_pending_review"
7373
}

pkg/github/__toolsnaps__/add_issue_comment.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
},
66
"description": "Add a comment to a specific issue in a GitHub repository.",
77
"inputSchema": {
8+
"type": "object",
89
"properties": {
910
"body": {
1011
"description": "Comment content",
@@ -28,8 +29,7 @@
2829
"repo",
2930
"issue_number",
3031
"body"
31-
],
32-
"type": "object"
32+
]
3333
},
3434
"name": "add_issue_comment"
3535
}

pkg/github/__toolsnaps__/add_project_item.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
},
66
"description": "Add a specific Project item for a user or org",
77
"inputSchema": {
8+
"type": "object",
89
"properties": {
910
"item_id": {
1011
"description": "The numeric ID of the issue or pull request to add to the project.",
@@ -41,8 +42,7 @@
4142
"project_number",
4243
"item_type",
4344
"item_id"
44-
],
45-
"type": "object"
45+
]
4646
},
4747
"name": "add_project_item"
4848
}

pkg/github/__toolsnaps__/add_sub_issue.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
},
66
"description": "Add a sub-issue to a parent issue in a GitHub repository.",
77
"inputSchema": {
8+
"type": "object",
89
"properties": {
910
"issue_number": {
1011
"description": "The number of the parent issue",
@@ -32,8 +33,7 @@
3233
"repo",
3334
"issue_number",
3435
"sub_issue_id"
35-
],
36-
"type": "object"
36+
]
3737
},
3838
"name": "add_sub_issue"
3939
}

pkg/github/__toolsnaps__/assign_copilot_to_issue.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
},
77
"description": "Assign Copilot to a specific issue in a GitHub repository.\n\nThis tool can help with the following outcomes:\n- a Pull Request created with source code changes to resolve the issue\n\n\nMore information can be found at:\n- https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot\n",
88
"inputSchema": {
9+
"type": "object",
910
"properties": {
1011
"issueNumber": {
1112
"description": "Issue number",
@@ -24,8 +25,7 @@
2425
"owner",
2526
"repo",
2627
"issueNumber"
27-
],
28-
"type": "object"
28+
]
2929
},
3030
"name": "assign_copilot_to_issue"
3131
}

pkg/github/__toolsnaps__/create_and_submit_pull_request_review.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
},
66
"description": "Create and submit a review for a pull request without review comments.",
77
"inputSchema": {
8+
"type": "object",
89
"properties": {
910
"body": {
1011
"description": "Review comment text",
@@ -42,8 +43,7 @@
4243
"pullNumber",
4344
"body",
4445
"event"
45-
],
46-
"type": "object"
46+
]
4747
},
4848
"name": "create_and_submit_pull_request_review"
4949
}

pkg/github/__toolsnaps__/create_branch.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
},
66
"description": "Create a new branch in a GitHub repository",
77
"inputSchema": {
8+
"type": "object",
89
"properties": {
910
"branch": {
1011
"description": "Name for new branch",
@@ -27,8 +28,7 @@
2728
"owner",
2829
"repo",
2930
"branch"
30-
],
31-
"type": "object"
31+
]
3232
},
3333
"name": "create_branch"
3434
}

pkg/github/__toolsnaps__/create_issue.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
},
66
"description": "Create a new issue in a GitHub repository.",
77
"inputSchema": {
8+
"type": "object",
89
"properties": {
910
"assignees": {
1011
"description": "Usernames to assign to this issue",
@@ -49,8 +50,7 @@
4950
"owner",
5051
"repo",
5152
"title"
52-
],
53-
"type": "object"
53+
]
5454
},
5555
"name": "create_issue"
5656
}

0 commit comments

Comments
 (0)