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
| 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… |
direction | asc | desc | The direction to sort the results by. |
sort | created | updated | published | The property to sort the results by. |
before | string | A cursor, as given in the Link header. If specified, the query only searches… |
after | string | A cursor, as given in the Link header. If specified, the query only searches… |
per_page | integer | The number of advisories to return per page. For more information, see "Using… |
state | triage | draft | published | closed | Filter 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:
{
"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:
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 ….