8000 chore: Remove unnecessary trailing periods from descriptions (#170) · github/github-mcp-server@973fb5d · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 973fb5d

Browse files
authored
chore: Remove unnecessary trailing periods from descriptions (#170)
1 parent 9a40fd8 commit 973fb5d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
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) {

0 commit comments

Comments
 (0)
0