Home / Servers / GitHub API / actions_create_registration_token_for_repo
Create a registration token for a repository
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create a registration token for a repository Returns a token that you can pass to the config script. The token expires after one hour. For example, you can replace TOKEN in the following example with the registration token provided by this… [POST /repos/{owner}/{repo}/actions/runners/registration-token]
Name on the gateway: github_api__actions_create_registration_token_for_repo · 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… |
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__actions_create_registration_token_for_repo",
"arguments": {
"owner": "…",
"repo": "…"
}
}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 create a registration token for a repository tool with owner set to ….