Home / Servers / GitHub API / agent_tasks_list_tasks
List tasks
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
List tasks > [!NOTE] > This endpoint is in public preview and is subject to change. Returns a list of tasks for the authenticated user **Fine-grained access tokens for "List tasks"** This endpoint works with… [GET /agents/tasks]
Name on the gateway: github_api__agent_tasks_list_tasks · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
per_page | integer | The number of results per page (max 100). |
page | integer | The page number of the results to fetch. |
sort | updated_at | created_at | The field to sort results by. Can be updated_at or created_at. |
direction | asc | desc | The direction to sort results. Can be asc or desc. |
state | string | Comma-separated list of task states to filter by. Can be any combination of… |
is_archived | boolean | Filter by archived status. When true, returns only archived tasks. When false… |
since | string | Only show tasks updated at or after this time (ISO 8601 timestamp) |
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__agent_tasks_list_tasks",
"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 tasks tool with per_page set to ….