1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/content/copilot/how-tos/provide-context/use-mcp/configure-toolsets.md
2025-12-15 13:34:32 +00:00

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
feature
copilot
vscode
Copilot
/copilot/how-tos/context/use-mcp/configure-toolsets
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, or secret_protection
  • Using special keywords like all to enable every available toolset, or default to include the standard set alongside others (for example, default,stargazers)
  • Accessing remote-only toolsets such as copilot (for {% data variables.copilot.copilot_coding_agent %}) and github_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.

Further reading