Home / Servers / GitHub API / copilot_disable_copilot_coding_agent_for_repository_in_organ
Disable a repository for Copilot cloud agent in an organization
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Disable a repository for Copilot cloud agent in an organization > [!NOTE] > This endpoint is in public preview and is subject to change. Removes a repository from the list of selected repositories enabled for Copilot cloud agent in an organization. This method… [DELETE /orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}]
Name on the gateway: github_api__copilot_disable_copilot_coding_agent_for_repository_in_organ · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
repository_id required | integer | The unique identifier of the repository. |
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:
{
"name": "github_api__copilot_disable_copilot_coding_agent_for_repository_in_organ",
"arguments": {
"org": "…",
"repository_id": 0
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
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 disable a repository for copilot cloud agent in an organization tool with org set to ….