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

NameTypeDescription
installation_id requiredintegerThe unique identifier of the installation.
repositoriesarrayList of repository names that the token should have access to
repository_idsarrayList of repository IDs that the token should have access to
permissionsobjectThe 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from GitHub API