Home / Servers / GitHub API / apps_reset_token
Reset a token
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Reset a token OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in… [PATCH /applications/{client_id}/token]
Name on the gateway: github_api__apps_reset_token · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
client_id required | string | The client ID of the GitHub app. |
access_token required | string | The access_token of the OAuth or GitHub application. |
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__apps_reset_token",
"arguments": {
"client_id": "…",
"access_token": "…"
}
}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 reset a token tool with client_id set to ….