Build Your Own AI Personal Assistant: Automating Calendars with n8n and MCP
说明与用途
使用 n8n 进行 API 编排,MCP 进行安全访问,创建 AI 助手检查空闲时间并预订会议。
问题
Users want an AI that can check free slots and book meetings without manual UI navigation, while keeping calendar credentials secure.
结果
The setup allows secure, automated calendar management via an AI agent, with visual debugging and easy extensibility.
工作流
- Create n8n workflow with listEvents and createEvent nodes and expose via Webhook.
- Build an MCP server that proxies requests to the n8n webhook and defines a tool (n8n_calendar_query).
- Configure the AI desktop client to use the MCP server.
- Interact: User asks AI to check availability and book a session; AI calls n8n_calendar_query with action "list"; n8n returns free slots; AI selects slot and calls action "book"; n8n updates calendar.
证据
Your calendar credentials live inside your self-hosted n8n instance, not in an AI vendor's cloud.
Use n8n's visual execution history to see exactly why an agent failed to book a meeting.
- 记录日期: 2026-09-06T21:06:53.954Z