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
| Name | Type | Description |
|---|---|---|
visibility | all | public | private | Limit results to repositories with the specified visibility. |
affiliation | string | Comma-separated list of values. Can include: * owner: Repositories that are… |
type | all | owner | public | private | member | Limit results to repositories of the specified type. Will cause a 422 error if… |
sort | created | updated | pushed | full_name | The property to sort the results by. |
direction | asc | desc | The order to sort by. Default: asc when using full_name, otherwise desc. |
per_page | integer | The number of results per page (max 100). For more information, see "Using… |
page | integer | The page number of the results to fetch. For more information, see "Using… |
since | string | Only show repositories updated after the given time. This is a timestamp in… |
before | string | Only 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:
{
"name": "github_api__repos_list_for_authenticated_user",
"arguments": {}
}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 list repositories for the authenticated user tool with visibility set to ….