通过 MCP 接入智能体
通过 Model Context Protocol 让编码智能体连接你的拾记工作区。
拾记通过 Model Context Protocol(MCP)在 https://mcp.gleanlog.com/mcp
开放你的工作区。智能体可以读取、创建和更新任务与笔记,也可以添加评论 —— 使用
由你掌控的个人访问令牌。
创建令牌
- 在应用中打开 设置 → 智能体。
- 创建一个个人访问令牌。它以
pat_开头,只显示一次。 - 把它复制到智能体的 MCP 配置里。
claude mcp add --transport http gleanlog https://mcp.gleanlog.com/mcp \
--header "Authorization: Bearer pat_your_token"智能体能做什么
| 范围 | 工具 |
|---|---|
| 任务 | list_tasks、get_task、create_task、update_task、add_comment |
| 列表 | list_lists |
| 笔记 | list_docs、get_page、create_doc、create_page、update_page、delete_page |
| 搜索 | search |
令牌以你的身份行事。像对待密码一样保管它,不要提交到仓库;用完后在 设置 → 智能体 中撤销。
好用的提示词
- “我现在收件箱里有什么?按列表分组。”
- “为 API 迁移创建一个下一步行动,周五到期。”
- “在我的笔记里搜索关于计费的决策,然后总结一下。”