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

NameTypeDescription
owner requiredstringThe account owner of the repository. The name is not case…
repo requiredstringThe name of the repository without the .git extension. The…
ghsa_id requiredstringThe GHSA (GitHub Security Advisory) identifier of the…
summarystringA short summary of the advisory.
descriptionstringA detailed description of what the advisory impacts.
cve_idstringThe Common Vulnerabilities and Exposures (CVE) ID.
vulnerabilitiesarrayA product affected by the vulnerability detailed in a repository security…
cwe_idsarrayA list of Common Weakness Enumeration (CWE) IDs.
creditsarrayA list of users receiving credit for their participation in the security…
severitycritical | high | medium | lowThe severity of the advisory. You must choose between setting this field or…
cvss_vector_stringstringThe CVSS vector that calculates the severity of the advisory. You must choose…
statepublished | closed | draftThe state of the advisory.
collaborating_usersarrayA list of usernames who have been granted write access to the advisory.
collaborating_teamsarrayA 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from GitHub API