acme-todo
An MCP server for a simple todo list
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
Simple Todo API - Flask Implementation
A Flask server implementation of the Simple Todo API defined in acmetodo.yaml.
# Setup
- Install dependencies:
pip install -r requirements.txt
- Run the server:
python app.py
The server will start on http://localhost:5000
# API Endpoints
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
# Example Usage
# 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/1
# Data Format
Todos 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