Home / Servers / GitHub API / users_delete_gpg_key_for_authenticated_user
Delete a GPG key for the authenticated user
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Delete a GPG key for the authenticated user Removes a GPG key from the authenticated user's GitHub account. OAuth app tokens and personal access tokens (classic) need the admin:gpg_key scope to use this endpoint. [DELETE /user/gpg_keys/{gpg_key_id}]
Name on the gateway: github_api__users_delete_gpg_key_for_authenticated_user · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
gpg_key_id required | integer | The unique identifier of the GPG key. |
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__users_delete_gpg_key_for_authenticated_user",
"arguments": {
"gpg_key_id": 0
}
}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 delete a gpg key for the authenticated user tool with gpg_key_id set to ….