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
| 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… |
alert_number required | integer | The number that identifies a Dependabot alert in its… |
state required | dismissed | open | The state of the Dependabot alert. A dismissed_reason must be provided when… |
dismissed_reason | fix_started | inaccurate | no_bandwidth | not_used | tolerable_risk | **Required when state is dismissed.** A reason for dismissing the alert. |
dismissed_comment | string | An optional comment associated with dismissing the alert. |
assignees | array | Usernames to assign to this Dependabot Alert. Pass one or more user logins to… |
agent_assignment | object | Parameters 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:
{
"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:
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 ….