Add a new task to 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
POST /tasks

Adds a new task to the TODO list and sets the status to 'new'

Responses

  • 201 application/json

    Task created successfully

    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.

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