Home / Servers / GitHub API / orgs_review_pat_grant_request
Review a request to access organization resources with a fine-grained personal a
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Review a request to access organization resources with a fine-grained personal access token Approves or denies a pending request to access organization resources via a fine-grained personal access token. Only GitHub Apps can use this endpoint. [POST /orgs/{org}/personal-access-token-requests/{pat_request_id}]
Name on the gateway: github_api__orgs_review_pat_grant_request · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
pat_request_id required | integer | Unique identifier of the request for access via… |
action required | approve | deny | Action to apply to the request. |
reason | string | Reason for approving or denying the request. Max 1024 characters. |
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__orgs_review_pat_grant_request",
"arguments": {
"org": "…",
"pat_request_id": 0,
"action": "…"
}
}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 review a request to access organization resources with a fine-grained personal a tool with org set to ….