Home / Servers / GitHub API / repos_list_for_authenticated_user

List repositories for the authenticated user

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

List repositories for the authenticated user Lists repositories that the authenticated user has explicit permission (:read, :write, or :admin) to access. The authenticated user has explicit permission to access repositories they own… [GET /user/repos]

Name on the gateway: github_api__repos_list_for_authenticated_user · read-only.

Parameters

NameTypeDescription
visibilityall | public | privateLimit results to repositories with the specified visibility.
affiliationstringComma-separated list of values. Can include: * owner: Repositories that are…
typeall | owner | public | private | memberLimit results to repositories of the specified type. Will cause a 422 error if…
sortcreated | updated | pushed | full_nameThe property to sort the results by.
directionasc | descThe order to sort by. Default: asc when using full_name, otherwise desc.
per_pageintegerThe number of results per page (max 100). For more information, see "Using…
pageintegerThe page number of the results to fetch. For more information, see "Using…
sincestringOnly show repositories updated after the given time. This is a timestamp in…
beforestringOnly show repositories updated before the given time. This is a timestamp in…

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__repos_list_for_authenticated_user",
  "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 list repositories for the authenticated user tool with visibility set to ….

More from GitHub API