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

NameTypeDescription
enterprise requiredstringThe slug version of the enterprise name.
organizationsarrayList of organization logins within the enterprise to enable Copilot cloud…
custom_propertiesarrayList 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:

call_tool arguments
{
  "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:

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 add organizations to the enterprise coding agent policy tool with enterprise set to ….

More from GitHub API