Home / Servers / GitHub API / apps_create_installation_access_token
Create an installation access token for an app
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create an installation access token for an app Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one… [POST /app/installations/{installation_id}/access_tokens]
Name on the gateway: github_api__apps_create_installation_access_token · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
installation_id required | integer | The unique identifier of the installation. |
repositories | array | List of repository names that the token should have access to |
repository_ids | array | List of repository IDs that the token should have access to |
permissions | object | The permissions granted to the fine-grained access token. |
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_create_installation_access_token",
"arguments": {
"installation_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 create an installation access token for an app tool with installation_id set to ….