An MCP server for a simple todo list
A Flask server implementation of the Simple Todo API defined in acmetodo.yaml.
pip install -r requirements.txtpython app.pyThe server will start on http://localhost:5000
GET /todos - List all todosPOST /todos - Create a new todoGET /todos/{id} - Get a specific todoPUT /todos/{id} - Replace a todoPATCH /todos/{id} - Update a todoDELETE /todos/{id} - Delete a todo# List all todos
curl http://localhost:5000/todos
# Create a new todo
curl -X POST http://localhost:5000/todos \
-H "Content-Type: application/json" \
-d '{"title": "Buy groceries", "completed": false}'
# Get a specific todo
curl http://localhost:5000/todos/1
# Update a todo
curl -X PATCH http://localhost:5000/todos/1 \
-H "Content-Type: application/json" \
-d '{"completed": true}'
# Delete a todo
curl -X DELETE http://localhost:5000/todos/1Todos have the following structure:
id (integer, read-only) - Unique identifiertitle (string, required) - Todo titlecompleted (boolean, default: false) - Completion statusdueDate (string, optional) - Due date in YYYY-MM-DD format