Home / Servers / GitHub API / code_security_create_configuration
Create a code security configuration
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create a code security configuration Creates a code security configuration in an organization. The authenticated user must be an administrator or security manager for the organization to use this endpoint. OAuth app tokens and personal… [POST /orgs/{org}/code-security/configurations]
Name on the gateway: github_api__code_security_create_configuration · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
name required | string | The name of the code security configuration. Must be unique within the… |
description | string | A description of the code security configuration |
advanced_security | enabled | disabled | code_security | secret_protection | The enablement status of GitHub Advanced Security features. enabled will… |
code_security | enabled | disabled | not_set | The enablement status of GitHub Code Security features. |
dependency_graph | enabled | disabled | not_set | The enablement status of Dependency Graph |
dependency_graph_autosubmit_action | enabled | disabled | not_set | The enablement status of Automatic dependency submission |
dependency_graph_autosubmit_action_options | object | Feature options for Automatic dependency submission |
dependabot_alerts | enabled | disabled | not_set | The enablement status of Dependabot alerts |
dependabot_reachability | enabled | disabled | not_set | The enablement status of reachability analysis for Dependabot. Only available… |
dependabot_security_updates | enabled | disabled | not_set | The enablement status of Dependabot security updates |
dependabot_delegated_alert_dismissal | enabled | disabled | not_set | The enablement status of Dependabot delegated alert dismissal. Requires… |
code_scanning_options | object | Security Configuration feature options for code scanning |
code_scanning_default_setup | enabled | disabled | not_set | The enablement status of code scanning default setup |
code_scanning_default_setup_options | object | Feature options for code scanning default setup |
code_scanning_delegated_alert_dismissal | enabled | disabled | not_set | The enablement status of code scanning delegated alert dismissal |
secret_protection | enabled | disabled | not_set | The enablement status of GitHub Secret Protection features. |
secret_scanning | enabled | disabled | not_set | The enablement status of secret scanning |
secret_scanning_push_protection | enabled | disabled | not_set | The enablement status of secret scanning push protection |
secret_scanning_delegated_bypass | enabled | disabled | not_set | The enablement status of secret scanning delegated bypass |
secret_scanning_delegated_bypass_options | object | Feature options for secret scanning delegated bypass |
secret_scanning_validity_checks | enabled | disabled | not_set | The enablement status of secret scanning validity checks |
secret_scanning_non_provider_patterns | enabled | disabled | not_set | The enablement status of secret scanning non provider patterns |
secret_scanning_generic_secrets | enabled | disabled | not_set | The enablement status of Copilot secret scanning |
secret_scanning_generic_secrets_push_protection | enabled | disabled | not_set | The enablement status of generic secrets push protection |
secret_scanning_delegated_alert_dismissal | enabled | disabled | not_set | The enablement status of secret scanning delegated alert dismissal |
secret_scanning_extended_metadata | enabled | disabled | not_set | The enablement status of secret scanning extended metadata |
private_vulnerability_reporting | enabled | disabled | not_set | The enablement status of private vulnerability reporting |
enforcement | enforced | unenforced | The enforcement status for a security configuration |
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_create_configuration",
"arguments": {
"org": "…",
"name": "…"
}
}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 create a code security configuration tool with org set to ….