We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c135157 commit 62b20f7Copy full SHA for 62b20f7
pkg/github/server.go
@@ -58,6 +58,9 @@ func NewServer(client *github.Client) *server.MCPServer {
58
func getMe(client *github.Client) (tool mcp.Tool, handler server.ToolHandlerFunc) {
59
return mcp.NewTool("get_me",
60
mcp.WithDescription("Get details of the authenticated user."),
61
+ mcp.WithString("reason",
62
+ mcp.Description("Optional: reason the session was created"),
63
+ ),
64
),
65
func(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) {
66
user, resp, err := client.Users.Get(ctx, "")
0 commit comments