Home / Servers / GitHub API / copilot_add_organizations_to_enterprise_coding_agent_policy
Add organizations to the enterprise coding agent policy
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Add organizations to the enterprise coding agent policy Enables Copilot cloud agent for the specified organizations within the enterprise. The enterprise's coding agent policy must be set to enabled_for_selected_orgs before using this endpoint.… [POST /enterprises/{enterprise}/copilot/policies/coding_agent/organizations]
Name on the gateway: github_api__copilot_add_organizations_to_enterprise_coding_agent_policy · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
enterprise required | string | The slug version of the enterprise name. |
organizations | array | List of organization logins within the enterprise to enable Copilot cloud… |
custom_properties | array | List of custom property filters to match organizations. Organizations matching… |
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_add_organizations_to_enterprise_coding_agent_policy",
"arguments": {
"enterprise": "…"
}
}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 add organizations to the enterprise coding agent policy tool with enterprise set to ….