基于AI的待办助手与日历集成
使用OpenAI API和MCP协议,结合Google Calendar的智能任务管理工具。
快速入门
- 克隆仓库: git clone https://github.com/yourusername/todo-assistant.git cd todo-assistant
- 安装依赖: npm install
- 创建
.env
文件并配置: OPENAI_API_KEY=your_openai_api_key PORT=3000 CLIENT_ID=your_google_client_id CLIENT_SECRET=your_google_client_secret GOOGLE_REDIRECT_URI=http://localhost:3000/google/callback - 启动服务:
- 构建 TypeScript:npm run build
- 启动服务器:npm start
- 开发模式:npm run dev
- 访问API端点或前端界面进行测试。