Home / Servers / GitHub API / security_advisories_create_repository_advisory
Create a repository security advisory
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create a repository security advisory Creates a new repository security advisory. In order to create a draft repository security advisory, the authenticated user must be a security manager or administrator of that repository. OAuth app… [POST /repos/{owner}/{repo}/security-advisories]
Name on the gateway: github_api__security_advisories_create_repository_advisory · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository without the .git extension. The… |
summary required | string | A short summary of the advisory. |
description required | string | A detailed description of what the advisory impacts. |
cve_id | string | The Common Vulnerabilities and Exposures (CVE) ID. |
vulnerabilities required | array | A product affected by the vulnerability detailed in a repository security… |
cwe_ids | array | A list of Common Weakness Enumeration (CWE) IDs. |
credits | array | A list of users receiving credit for their participation in the security… |
severity | critical | high | medium | low | The severity of the advisory. You must choose between setting this field or… |
cvss_vector_string | string | The CVSS vector that calculates the severity of the advisory. You must choose… |
start_private_fork | boolean | Whether to create a temporary private fork of the repository to collaborate on… |
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__security_advisories_create_repository_advisory",
"arguments": {
"owner": "…",
"repo": "…",
"summary": "…",
"description": "…",
"vulnerabilities": []
}
}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 repository security advisory tool with owner set to ….