Home / Servers / GitHub API / dependabot_update_alert

Update a Dependabot alert

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

Update a Dependabot alert The authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see "Granting access to security alerts." OAuth app tokens and personal… [PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}]

Name on the gateway: github_api__dependabot_update_alert · 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…
alert_number requiredintegerThe number that identifies a Dependabot alert in its…
state requireddismissed | openThe state of the Dependabot alert. A dismissed_reason must be provided when…
dismissed_reasonfix_started | inaccurate | no_bandwidth | not_used | tolerable_risk**Required when state is dismissed.** A reason for dismissing the alert.
dismissed_commentstringAn optional comment associated with dismissing the alert.
assigneesarrayUsernames to assign to this Dependabot Alert. Pass one or more user logins to…
agent_assignmentobjectParameters for AI agent assignment. Only used when an agent bot login is…

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_update_alert",
  "arguments": {
    "owner": "…",
    "repo": "…",
    "alert_number": 0,
    "state": "…"
  }
}

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 dependabot alert tool with owner set to ….

More from GitHub API