Home / Servers / GitHub API / code_security_set_configuration_as_default_for_enterprise
Set a code security configuration as a default for an enterprise
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Set a code security configuration as a default for an enterprise Sets a code security configuration as a default to be applied to new repositories in your enterprise. This configuration will be applied by default to the matching repository type when created, but… [PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults]
Name on the gateway: github_api__code_security_set_configuration_as_default_for_enterprise · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
enterprise required | string | The slug version of the enterprise name. |
configuration_id required | integer | The unique identifier of the code security configuration. |
default_for_new_repos | all | none | private_and_internal | public | Specify which types of repository this security configuration should be… |
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__code_security_set_configuration_as_default_for_enterprise",
"arguments": {
"enterprise": "…",
"configuration_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 set a code security configuration as a default for an enterprise tool with enterprise set to ….