Home / Servers / GitHub API / dependabot_list_alerts_for_repo

List Dependabot alerts for a repository

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

List Dependabot alerts for a repository OAuth app tokens and personal access tokens (classic) need the security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo… [GET /repos/{owner}/{repo}/dependabot/alerts]

Name on the gateway: github_api__dependabot_list_alerts_for_repo · 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…
classificationstringA comma-separated list of vulnerability classifications. If specified, only…
statestringA comma-separated list of states. If specified, only alerts with these states…
severitystringA comma-separated list of severities. If specified, only alerts with these…
ecosystemstringA comma-separated list of ecosystems. If specified, only alerts for these…
packagestringA comma-separated list of package names. If specified, only alerts for these…
manifeststringA comma-separated list of full manifest paths. If specified, only alerts for…
epss_percentagestringCVE Exploit Prediction Scoring System (EPSS) percentage. Can be specified as…
hasstringFilters the list of alerts based on whether the alert has the given value. If…
assigneestringFilter alerts by assignees. Provide a comma-separated list of user handles…
scopedevelopment | runtimeThe scope of the vulnerable dependency. If specified, only alerts with this…
relationshipstringA comma-separated list of relationships of the vulnerable dependency to your…
sortcreated | updated | epss_percentageThe property by which to sort the results. created means when the alert was…
directionasc | descThe direction 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 results per page (max 100). For more information, see "Using…

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__dependabot_list_alerts_for_repo",
  "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 dependabot alerts for a repository tool with owner set to ….

More from GitHub API