8000 Merge branch 'main' into fix/156/no-latest-for-prereleases · github/github-mcp-server@3c951ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c951ce

Browse files
authored
Merge branch 'main' into fix/156/no-latest-for-prereleases
2 parents e9487bf + 973fb5d commit 3c951ce

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

cmd/mcpcurl/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Available Commands:
4949
create_repository Create a new GitHub repository in your account
5050
fork_repository Fork a GitHub repository to your account or specified organization
5151
get_file_contents Get the contents of a file or directory from a GitHub repository
52-
get_issue Get details of a specific issue in a GitHub repository.
52+
get_issue Get details of a specific issue in a GitHub repository
5353
get_issue_comments Get comments for a GitHub issue
5454
list_commits Get list of commits of a branch in a GitHub repository
5555
list_issues List issues in a GitHub repository with filtering options
@@ -74,7 +74,7 @@ Get help for a specific tool:
7474

7575
```bash
7676
% ./mcpcurl --stdio-server-cmd "docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp/github" tools get_issue --help
77-
Get details of a specific issue in a GitHub repository.
77+
Get details of a specific issue in a GitHub repository
7878

7979
Usage:
8080
mcpcurl tools get_issue [flags]

pkg/github/issues.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ import (
1717
// getIssue creates a tool to get details of a specific issue in a GitHub repository.
1818
func getIssue(client *github.Client, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
1919
return mcp.NewTool("get_issue",
20-
mcp.WithDescription(t("TOOL_GET_ISSUE_DESCRIPTION", "Get details of a specific issue in a GitHub repository.")),
20+
mcp.WithDescription(t("TOOL_GET_ISSUE_DESCRIPTION", "Get details of a specific issue in a GitHub repository")),
2121
mcp.WithString("owner",
2222
mcp.Required(),
23-
mcp.Description("The owner of the repository."),
23+
mcp.Description("The owner of the repository"),
2424
),
2525
mcp.WithString("repo",
2626
mcp.Required(),
27-
mcp.Description("The name of the repository."),
27+
mcp.Description("The name of the repository"),
2828
),
2929
mcp.WithNumber("issue_number",
3030
mcp.Required(),
31-
mcp.Description("The number of the issue."),
31+
mcp.Description("The number of the issue"),
3232
),
3333
),
3434
func(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) {

script/licenses

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ trap "rm -fr ${TEMPDIR}" EXIT
1010

1111
for goos in linux darwin windows ; do
1212
# Note: we ignore warnings because we want the command to succeed, however the output should be checked
13-
# for any new warnings, and potentially we may need to add licence information.
13+
# for any new warnings, and potentially we may need to add license information.
1414
#
1515
# Normally these warnings are packages containing non go code, which may or may not require explicit attribution,
1616
# depending on the license.

script/licenses-check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go install github.com/google/go-licenses@latest
44

55
for goos in linux darwin windows ; do
66
# Note: we ignore warnings because we want the command to succeed, however the output should be checked
7-
# for any new warnings, and potentially we may need to add licence information.
7+
# for any new warnings, and potentially we may need to add license information.
88
#
99
# Normally these warnings are packages containing non go code, which may or may not require explicit attribution,
1010
# depending on the license.

0 commit comments

Comments
 (0)
0