内容
# TODO LIST MCP + API
一个简单的待办事项应用程序,通过聊天展示了与应用程序的高级和复杂用户交互。API 通过 MCP 提供。
示例提示:
- 创建一个新的待办事项
- 如果今天是星期二,请提醒我购买杂货,并创建一个待办事项列表,这非常紧急,必须在今天完成
```Let me first check what day today is, then I'll create that urgent grocery todo for you.Perfect! Today is indeed Tuesday, so I'll create an urgent grocery shopping todo that needs to be completed today.✅ **Urgent Reminder Created!**
I've added "Buy groceries" to your todo list with:
- **Priority**: Urgent
- **Due date**: Today (Tuesday, June 17, 2025)
- **Status**: Pending
Since today is Tuesday and you marked this as very urgent, make sure to get your grocery shopping done today! The todo is now saved and ready to help keep you on track.
```
- 列出所有待办事项
- 列出我所有的待办事项
```
Here's your current todo list:
**📋 Your Todo List (1 item)**
**🔴 Buy groceries** - *Urgent*
- **Description**: Grocery shopping - urgent task that must be completed today
- **Due**: Today (June 17, 2025)
- **Status**: Pending
- **Created**: Today at 2:55 PM
You have one urgent task that needs to be completed today. Don't forget to get that grocery shopping done!
```
- 知道今天要做什么
- 今天要做的事情
```
Let me get your todos for today and show you what needs to be done.**📅 Today's Tasks - Tuesday, June 17, 2025**
**🚨 URGENT - Due Today:**
- **Buy groceries** - This is your urgent priority that must be completed today
That's your main task for today! Since you marked grocery shopping as urgent and it's due today, make sure to prioritize getting this done. Once you complete it, you can mark it as finished in your todo list.
```
## 如何开始
API 服务器通过 mcp 在 /mcp 启动
```
uvicorn main:app --port 8000
```
仅 MCP 服务器
```
uvicorn main:mcp --port 8000
```
### 通过 [Jan](https://jan.ai/) 的 Jan-Nano 提供 100% 本地使用