Retrieve the details for a task on the TODO list

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/bump-examples/hub/code-samples/doc/to-do-list/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"To do list MCP server": {
  "url": "https://bump.sh/bump-examples/hub/code-samples/doc/to-do-list/mcp"
}
Close
GET /tasks/{taskId}

Returns the details for a task from the TODO list by identifier

Path parameters

  • taskId integer Required

    The ID of the task to operate on

Responses

  • 200 application/json

    Returns the details of the retrieved task

    Hide response attributes Show response attributes object
    • id integer

      The unique identifier for a task.

    • description string

      A brief summary of the task.

    • status string

      The current status of the task, which can be 'new', 'in progress', or 'completed'.

      Values are new, in progress, or completed. Default value is new.

GET /tasks/{taskId}
curl \
 --request GET 'https://api.todolist.local/v1/tasks/3' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id": 3,
  "description": "Read a book",
  "status": "new"
}