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

NameTypeDescription
owner requiredstringThe account owner of the repository. The name is not case…
repo requiredstringThe name of the repository without the .git extension. The…
summary requiredstringA short summary of the advisory.
description requiredstringA detailed description of what the advisory impacts.
cve_idstringThe Common Vulnerabilities and Exposures (CVE) ID.
vulnerabilities requiredarrayA 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…
start_private_forkbooleanWhether 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:

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

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 create a repository security advisory tool with owner set to ….

More from GitHub API