Home / Servers / GitHub API / copilot_set_enterprise_coding_agent_policy
Set the coding agent policy for an enterprise
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Set the coding agent policy for an enterprise Sets the policy for Copilot cloud agent usage across an enterprise. Enterprise owners can configure whether Copilot cloud agent is enabled for all organizations, disabled for all organizations… [PUT /enterprises/{enterprise}/copilot/policies/coding_agent]
Name on the gateway: github_api__copilot_set_enterprise_coding_agent_policy · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
enterprise required | string | The slug version of the enterprise name. |
policy_state required | enabled_for_all_orgs | disabled_for_all_orgs | enabled_for_selected_orgs | configured_by_org_admins | The policy state for Copilot cloud agent in the enterprise. Can be one of… |
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_set_enterprise_coding_agent_policy",
"arguments": {
"enterprise": "…",
"policy_state": "…"
}
}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 set the coding agent policy for an enterprise tool with enterprise set to ….