3.1 KiB
title, intro, shortTitle, versions, defaultTool, topics, redirect_from, contentType
| title | intro | shortTitle | versions | defaultTool | topics | redirect_from | contentType | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Configuring toolsets for the GitHub MCP Server | Learn how to configure toolsets and tools for the {% data variables.product.github %} MCP server for fine-grained control and optimized performance. | Configure toolsets |
|
vscode |
|
|
how-tos |
The {% data variables.product.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 {% data variables.copilot.copilot_coding_agent %}) 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 {% data variables.product.github %} MCP server and an overview of MCP, see AUTOTITLE.
Configuring toolsets for the remote MCP server
You can configure toolsets for the remote {% data variables.product.github %} MCP server using:
- URL path parameters when enabling a single toolset
- HTTP headers when enabling multiple toolsets
For detailed setup instructions, see Remote {% data variables.product.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 {% data variables.product.github %} MCP server using:
- Command-line flags
- Environment variables (these take precedence over command-line flags)
For detailed setup instructions, see Local {% data variables.product.github %} MCP server and Tool configuration in the github/github-mcp-server repository.