Home / Servers / GitHub API / users_get_authenticated

Get the authenticated user

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

Get the authenticated user OAuth app tokens and personal access tokens (classic) need the read:user scope, or the broader user scope, for this endpoint to return the private user response. The private user response includes… [GET /user]

Name on the gateway: github_api__users_get_authenticated · read-only.

Parameters

This tool takes no parameters.

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__users_get_authenticated",
  "arguments": {}
}

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 get the authenticated user tool.

More from GitHub API