Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

change some descriptions#23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
juruen merged 2 commits intomainfromjuruen/descriptions
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletionspkg/github/issues.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -60,7 +60,7 @@ func getIssue(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerF
// addIssueComment creates a tool to add a comment to an issue.
func addIssueComment(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
return mcp.NewTool("add_issue_comment",
mcp.WithDescription("Add a comment to an issue"),
mcp.WithDescription("Add a comment to anexistingissue"),
mcp.WithString("owner",
mcp.Required(),
mcp.Description("Repository owner"),
Expand DownExpand Up@@ -114,7 +114,7 @@ func addIssueComment(client *github.Client) (tool mcp.Tool, handler server.ToolH
// searchIssues creates a tool to search for issues and pull requests.
func searchIssues(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
return mcp.NewTool("search_issues",
mcp.WithDescription("Search for issues and pull requests"),
mcp.WithDescription("Search for issues and pull requests across GitHub repositories"),
mcp.WithString("q",
mcp.Required(),
mcp.Description("Search query using GitHub issues search syntax"),
Expand Down
12 changes: 6 additions & 6 deletionspkg/github/repositories.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,7 @@ import (
// listCommits creates a tool to get commits of a branch in a repository.
func listCommits(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
return mcp.NewTool("list_commits",
mcp.WithDescription("Getscommits of a branch in a repository"),
mcp.WithDescription("Get list ofcommits of a branch in a GitHub repository"),
mcp.WithString("owner",
mcp.Required(),
mcp.Description("Repository owner"),
Expand DownExpand Up@@ -85,7 +85,7 @@ func listCommits(client *github.Client) (tool mcp.Tool, handler server.ToolHandl
// createOrUpdateFile creates a tool to create or update a file in a GitHub repository.
func createOrUpdateFile(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
return mcp.NewTool("create_or_update_file",
mcp.WithDescription("Create or update a single file in a repository"),
mcp.WithDescription("Create or update a single file in aGitHubrepository"),
mcp.WithString("owner",
mcp.Required(),
mcp.Description("Repository owner (username or organization)"),
Expand DownExpand Up@@ -164,7 +164,7 @@ func createOrUpdateFile(client *github.Client) (tool mcp.Tool, handler server.To
// createRepository creates a tool to create a new GitHub repository.
func createRepository(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
return mcp.NewTool("create_repository",
mcp.WithDescription("Create a new GitHub repository"),
mcp.WithDescription("Create a new GitHub repository in your account"),
mcp.WithString("name",
mcp.Required(),
mcp.Description("Repository name"),
Expand DownExpand Up@@ -227,7 +227,7 @@ func createRepository(client *github.Client) (tool mcp.Tool, handler server.Tool
// getFileContents creates a tool to get the contents of a file or directory from a GitHub repository.
func getFileContents(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
return mcp.NewTool("get_file_contents",
mcp.WithDescription("Get contents of a file or directory"),
mcp.WithDescription("Getthecontents of a file or directory from a GitHub repository"),
mcp.WithString("owner",
mcp.Required(),
mcp.Description("Repository owner (username or organization)"),
Expand DownExpand Up@@ -287,7 +287,7 @@ func getFileContents(client *github.Client) (tool mcp.Tool, handler server.ToolH
// forkRepository creates a tool to fork a repository.
func forkRepository(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
return mcp.NewTool("fork_repository",
mcp.WithDescription("Fork a repository"),
mcp.WithDescription("Fork aGitHubrepository to your account or specified organization"),
mcp.WithString("owner",
mcp.Required(),
mcp.Description("Repository owner"),
Expand DownExpand Up@@ -344,7 +344,7 @@ func forkRepository(client *github.Client) (tool mcp.Tool, handler server.ToolHa
// createBranch creates a tool to create a new branch.
func createBranch(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
return mcp.NewTool("create_branch",
mcp.WithDescription("Create a new branch"),
mcp.WithDescription("Create a new branch in a GitHub repository"),
mcp.WithString("owner",
mcp.Required(),
mcp.Description("Repository owner"),
Expand Down
2 changes: 1 addition & 1 deletionpkg/github/server.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,7 +72,7 @@ func NewServer(client *github.Client) *server.MCPServer {
// getMe creates a tool to get details of the authenticated user.
func getMe(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
return mcp.NewTool("get_me",
mcp.WithDescription("Get details of the authenticated user."),
mcp.WithDescription("Get details of the authenticatedGitHubuser"),
mcp.WithString("reason",
mcp.Description("Optional: reason the session was created"),
),
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp