Home / Servers / GitHub API / copilot_set_copilot_content_exclusion_for_organization

Set Copilot content exclusion rules for an organization

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

Set Copilot content exclusion rules for an organization > [!NOTE] > This endpoint is in public preview and is subject to change. Sets Copilot content exclusion path rules for an organization. To configure these settings, go to the organization's settings… [PUT /orgs/{org}/copilot/content_exclusion]

Name on the gateway: github_api__copilot_set_copilot_content_exclusion_for_organization · may change things.

Parameters

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "github_api__copilot_set_copilot_content_exclusion_for_organization",
  "arguments": {
    "org": "…"
  }
}

Or connect the GitHub API server directly, which lists 1,221 tools including this one:

Run in your terminal
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the set copilot content exclusion rules for an organization tool with org set to ….

More from GitHub API