可以。MCP(Model Context Protocol)是 AI App 接入工具的标准方式,privacynotes,也就是 PrivacyNotes 的命令行界面,可以作为这样的工具运行。添加一次之后,在任何聊天里都可以用平常的话说:“把这次聊天的摘要保存到我的笔记,加上标签 meeting。”App 会调用 privacynotes 的 save_note 工具,笔记会进入你笔记的“Agent”文件夹,所有设备在下次同步后都能看到。这个工具只能添加笔记,所以聊天无法打开、修改或删除你已有的笔记。它属于 Pro。
首先在同一台电脑上设置好 privacynotes 命令,并用 privacynotes login 连接。然后打开你的 AI App 的 MCP 设置(一个设置界面,或类似 mcp.json 的文件),在 mcpServers 下添加下面这一项,再重启 App:
"privacynotes": { "command": "privacynotes", "args": ["mcp"] }这个工具接收 Markdown,还可以选填标题和标签,限制与 privacynotes save 相同:700 KB、20 个标签和 200 个字符的标题。保存被什么拦住时,工具会用文字告诉 App,好让 App 转告你:命令还没连接、笔记太大,或者服务器拒绝了。
如果 App 提示无法启动 privacynotes,请把完整路径填成命令:也就是 which privacynotes 输出的路径,在 Windows 上用 where privacynotes。从程序坞或开始菜单启动的 App,往往看不到终端能看到的那些路径。这个命令要求那台电脑上有 Node.js 20 或更高版本。
帮助与常见问题
解答与分步指南:安全、同步、定价,以及从其他 App 迁移过来。
几秒钟就能得到答案,不用等回复。你的助手会一次读完全部 192 条解答和每份导入指南,因此能把它们结合起来,针对你的问题继续追问,并用你自己的话讲解。这一切我们都看不到,因为我们没有运行聊天机器人。
Answer my questions about PrivacyNotes using only its help center, its changelog and its security documentation. Start here: https://privacynotes.app/llms-index.txt It lists every question with the page that answers it. Fetch the one or two that match mine. If you can only make one request, fetch https://privacynotes.app/llms-full.txt instead. If you cannot fetch a .txt or .md file, read https://privacynotes.app/cn/help, https://privacynotes.app/changelog and https://github.com/LifetimeLabsHQ/PrivacyNotes.app instead. For what changed, or where something moved, fetch https://privacynotes.app/changelog.md. For how the encryption works, what the server can read, or how to check any of it yourself, fetch https://privacynotes.app/docs/index.md and follow it to one of the documents it lists. That index is a router: cite the document, never the index. Rules: - Use only those pages. If they do not answer something, say so instead of guessing. - Never invent a feature, a menu path, a price, or a limit. - End your reply with the "Source:" URL from the page you used, exactly as written. - Answer in the same language as my question. - Never ask me for my recovery phrase, my PIN, or the contents of a note. If no question follows, ask me what I would like to know. My first question:
切勿把你的恢复助记词、PIN 码或笔记粘贴给 AI。