Skip to content

Comments

adding default toolset#1137

Closed
tonytrg wants to merge 13 commits intomainfrom
tonytrg/define-default-toolsets
Closed

adding default toolset#1137
tonytrg wants to merge 13 commits intomainfrom
tonytrg/define-default-toolsets

Conversation

@tonytrg
Copy link
Contributor

@tonytrg tonytrg commented Sep 25, 2025

Closes:
Updated the help section to display all available toolset groupings

      --toolsets strings          Comma-separated list of tool groups to enable (no spaces).
                                  Default: context, users, repos, contents, pull_requests
                                  To enable all tools, use all
                                  Available: context, repos, contents, releases, issues, sub_issues, users, orgs,
                                             pull_requests, pull_request_reviews, code_security, secret_protection,
                                             dependabot, notifications, discussions, actions, security_advisories,
                                             experiments, gists, projects, stargazers, dynamic
  -v, --version                   version for server

@tonytrg tonytrg requested a review from a team as a code owner September 25, 2025 11:17
Copilot AI review requested due to automatic review settings September 25, 2025 11:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR changes the default toolset configuration from "all" to a specific set of core tools and updates related documentation to reflect the new default behavior.

  • Replaces the single "all" toolset with explicit core toolsets: "context", "repos", "issues", "pull_requests"
  • Removes the "// indirect" comment from a dependency in go.mod
  • Updates flag description to remove reference to "enabling all"

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
pkg/github/tools.go Updates DefaultTools from ["all"] to specific core toolsets
go.mod Removes indirect comment from go-querystring dependency
cmd/github-mcp-server/main.go Updates toolsets flag description to remove "all" reference

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

github.com/go-viper/mapstructure/v2 v2.4.0
github.com/google/go-github/v71 v71.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/go-querystring v1.1.0
Copy link

Copilot AI Sep 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the '// indirect' comment suggests this dependency is now being used directly, but there's no corresponding code change showing the direct usage. If this is indeed now a direct dependency, consider adding it to the non-indirect section of the dependencies or ensure the direct usage is properly reflected in the codebase.

Suggested change
github.com/google/go-querystring v1.1.0
github.com/google/go-querystring v1.1.0 // indirect

Copilot uses AI. Check for mistakes.
@tonytrg tonytrg marked this pull request as draft September 29, 2025 10:22
@tonytrg tonytrg closed this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants