The GitHub MCP server includes default toolsets (repos, issues, and pull_requests) that are enabled automatically. You can customize toolset configuration by:
- Enabling individual toolsets such as
actions,code_security, orsecret_protection - Using special keywords like
allto enable every available toolset, ordefaultto include the standard set alongside others (for example,default,stargazers) - Accessing remote-only toolsets such as
copilot(for Copilot 编码智能体) andgithub_support_docs_search, which are only available on the remote MCP server - Selecting specific tools for granular control when you want to exclude specific tools or combine toolsets with individual tools
For a complete list of available toolsets, see Tools in the github/github-mcp-server repository. For configuration examples, see Server configuration. For a full introduction to the GitHub MCP server and an overview of MCP, see 关于模型上下文协议 (MCP).
Configuring toolsets for the remote MCP server
You can configure toolsets for the remote GitHub MCP server using:
- URL path parameters when enabling a single toolset
- HTTP headers when enabling multiple toolsets
For detailed setup instructions, see Remote GitHub MCP server and Remote server configuration in the github/github-mcp-server repository.
Configuring toolsets for the local MCP server
You can configure toolsets for the local GitHub MCP server using:
- Command-line flags
- Environment variables (these take precedence over command-line flags)
For detailed setup instructions, see Local GitHub MCP server and Tool configuration in the github/github-mcp-server repository.