🔐 SecureNote.link MCP服务器
给你的人工智能一种安全地传递秘密的方法。
*加密。自毁。零知识。其实使用起来很有趣。*
  
______________________________________________________________________
👋 这是干什么用的?
想象一下:你要求你的人工智能助手生成一个新密码,旋转API密钥,或者为队友起草一些证书。它确实如此——然后它只是。..在聊天窗口中键入。纯文本。在您的聊天记录中。永远坐在那里。
SecureNote.link MCP服务器修复了这个问题。
它使任何与MCP兼容的AI代理都能够将秘密打包成端到端的加密自毁笔记,并将链接交还给您。你点击它,你会在浏览器中看到你的秘密,然后它就消失了。聊天中没有纯文本。没有可以读取它的服务器。没有跟踪。
把它看作是 安全切换信道 在你的人工智能代理和现实世界之间。
### 📬 有人给你发了一个安全的便条链接吗? 只需访问 Securenote.link --无需帐户,适用于任何浏览器。点击、阅读、完成。您一打开笔记,它就会自动删除。
______________________________________________________________________
✨ 好东西
| 🛡️ AES-256-GCM加密 | 用于保护机密政府数据的相同算法。如果没有密钥,您的笔记将无法读取,包括服务器。 |
| 💣 自毁笔记 | 笔记一读就会被删除。没有第二次机会,没有挥之不去的副本。 |
| ⏱️ 自动到期 | 设置一个注释,使其在1、24、72或168小时后消失——无论是否已被阅读。 |
| 🔑 可选密码保护 | 为第二层安全添加密码,通过单独的通道共享。 |
| 🧠 零知识架构 | 加密密钥为 *从不* 发送到服务器。它实际上无法读取您的数据。 |
______________________________________________________________________
🚀 入门指南
选项1-Docker(推荐)🐳
最干净的方式来运行它。没有依赖问题,没有版本冲突。
# Build the image
docker build -t securenote-mcp .然后将您的MCP客户端指向它。请参阅下面的配置部分。
______________________________________________________________________
选项2——直接使用Python🐍
pip install -r requirements.txt需要 Python 3.11或更高版本.
______________________________________________________________________
配置您的MCP客户端
- 查找您的MCP客户端配置文件:
- 窗户: %AppData%\Claude\claude_desktop_config.json - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- 添加服务器块:
python
{
"mcpServers": {
"securenote": {
"command": "python3",
"args": ["C:/absolute/path/to/secure_note_mcp.py"]
}
}
}Docker:
{
"mcpServers": {
"securenote": {
"command": "docker",
"args": ["run", "--rm", "-i", "securenote-mcp"]
}
}
}- 重新启动MCP客户端。 就是这样——你的AI代理现在知道如何创建安全的笔记。
______________________________________________________________________
🎨 运作原理
当你要求你的AI代理创建一个安全的笔记时,下面是实际发生的事情:
1. The AI agent generates a random 256-bit encryption key ← stays on your side, never uploaded
2. The AI agent encrypts your message with AES-256-GCM
3. Only the encrypted blob is sent to the server
4. The server stores the ciphertext and returns an ID
5. The AI agent combines the ID + key into a shareable URL
6. You click it → your browser decrypts it locally → note is deleted服务器永远不会有密钥。服务器永远看不到明文。即使有人闯入服务器,他们也不会发现任何有用的东西。
______________________________________________________________________
🔗 URL解释
安全笔记URL如下:
https://securenote.link?id=abc123#dGVzdGtleQ==
↑
Decryption key lives here (the "fragment")
Fragments are never sent to the server by browsers之后的部分 # 称为URL片段。浏览器完全在本地处理它——它从不通过网络传输。这是一个聪明的地方,可以在不损害安全性的情况下实现一键共享。
______________________________________________________________________
💡 真实世界的例子
与队友共享密码
You: "Generate a strong password for the staging database and
send it to me as a secure note."
AI Agent: "Done! Here's your secure note:
🔗 https://securenote.link?id=x7k2p#dGVzdGtleQ==
It expires in 24 hours and deletes itself after you open it."向新开发人员发送凭据
You: "Create a secure note with our AWS access keys for the
new developer starting Monday."
AI Agent: "Created! Send them this link:
🔗 https://securenote.link?id=k9m3x#c2VjcmV0a2V5
Once they click it, the keys will appear in their browser
and the note will self-destruct. Nothing left in the chat."最高安全模式
You: "I need to share these database credentials with our contractor
but I want to be extra careful."
AI Agent: "I've split it into two parts for two-channel delivery:
📧 Send this via email:
https://securenote.link?id=9m4x2#dGVzdGtleXZhbHVl
💬 Send this via text separately:
password: CorrectHorseBatteryStaple
They'll need both to read the note. Even if one channel
is compromised, the data stays safe."______________________________________________________________________
🔧 工具
您的AI代理可以从该服务器访问三个工具:
create_note
创建加密笔记并返回共享它所需的所有内容。
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
text | string | 必填 | 要加密的秘密消息 |
password | string | 可选 | 额外密码保护 |
expires_in | integer | 24 | 自动删除前的小时数: 1, 24, 72,或 168 |
返回一个带有注释的JSON对象 id, key,单击一下 url, expires_in_hours,以及 password_protected 状态。
______________________________________________________________________
get_note
获取并解密纸币。当AI代理需要读回它(或另一个代理)创建的笔记时很有用。
| 参数 | 类型 | 说明 |
|---|---|---|
secret_id | string | 钞票的ID |
decryption_key | string | base64密钥来自 create_note 或URL片段 |
password | string | 仅当注释受密码保护时才需要 |
返回纯文本消息。
______________________________________________________________________
get_instructions
返回AI代理的快速参考指南,用于提示它解释服务的工作原理或提醒它可用的选项。
______________________________________________________________________
🔒 安全概览
| 物业 | 详细信息 |
|---|---|
| 加密 | AES-256-GCM |
| 密钥大小 | 256位 |
| IV | 96位,每个音符唯一 |
| 身份验证标签 | 128位(完整性+真实性) |
| 密钥存储 | 从未存储在服务器上 |
| 笔记寿命 | 首次阅读或到期时删除 |
| 传输 | 仅限HTTPS |
| 输入限制 | 最大100 KB文本·最大1 KB密码 |
______________________________________________________________________
🆘 故障排除
“找不到模块”错误
pip install fastmcp httpx cryptography检索时“未找到注释” 这张纸条可能已经被读过了(第一次看就会自毁),或者已经过期了。笔记的设计是一次性的。
解密失败/输出混乱 复制时密钥可能被截断。确保您使用的是 key 领域 create_note的响应,而不是手动复制的片段。
MCP服务器未显示在您的AI代理中
- 在配置中使用绝对路径,而不是相对路径
- 验证JSON——缺少一个逗号会破坏整个配置
- 在任何配置更改后完全重新启动MCP客户端
______________________________________________________________________
📄 许可证
麻省理工学院——使用它,分叉它,运送它。
______________________________________________________________________
专为那些认为“只需将其粘贴到聊天中”不够好的人而设计。
