Home / Servers / GitHub API / security_advisories_list_repository_advisories

List repository security advisories

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

List repository security advisories Lists security advisories in a repository. The authenticated user can access unpublished security advisories from a repository if they are a security manager or administrator of that repository, or… [GET /repos/{owner}/{repo}/security-advisories]

Name on the gateway: github_api__security_advisories_list_repository_advisories · read-only.

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…
directionasc | descThe direction to sort the results by.
sortcreated | updated | publishedThe property to sort the results by.
beforestringA cursor, as given in the Link header. If specified, the query only searches…
afterstringA cursor, as given in the Link header. If specified, the query only searches…
per_pageintegerThe number of advisories to return per page. For more information, see "Using…
statetriage | draft | published | closedFilter by state of the repository advisories. Only advisories of this state…

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_list_repository_advisories",
  "arguments": {
    "owner": "…",
    "repo": "…"
  }
}

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 list repository security advisories tool with owner set to ….

More from GitHub API