Home / Servers / GitHub API / security_advisories_update_repository_advisory
Update a repository security advisory
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Update a repository security advisory using its GitHub Security Advisory (GHSA) identifier. In order to update any security advisory, the authenticated user must be a security manager or administrator of that repository, or a… [PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}]
Name on the gateway: github_api__security_advisories_update_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… |
ghsa_id required | string | The GHSA (GitHub Security Advisory) identifier of the… |
summary | string | A short summary of the advisory. |
description | string | A detailed description of what the advisory impacts. |
cve_id | string | The Common Vulnerabilities and Exposures (CVE) ID. |
vulnerabilities | 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… |
state | published | closed | draft | The state of the advisory. |
collaborating_users | array | A list of usernames who have been granted write access to the advisory. |
collaborating_teams | array | A list of team slugs which have been granted write access to the advisory. |
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_update_repository_advisory",
"arguments": {
"owner": "…",
"repo": "…",
"ghsa_id": "…"
}
}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 update a repository security advisory tool with owner set to ….