
Openfuse Mcp
io.github.openfused由 GitHub 账号 openfused 发布v0.4.2更新于 Oct 24, 2026
Encrypted mail, shared memory, and persistent context for AI agents.
概览
一个本地 MCP 服务器,为 AI 助手提供基于文件的持久上下文存储、加密的代理间邮件和共享工作区文件。
- 可以做什么
- 读取、写入和追加助手的工作上下文与公开资料文件,并查看存储状态,以及列出和添加用于与其他代理存储同步的对等节点。列出并发送加密、签名的收件箱消息给密钥环中的对等方。列出、读取和写入共享目录中的文件。存储本身是一套目录约定(上下文、资料、收件箱、发件箱、共享、知识、密钥),由底层命令行工具初始化、同步和压缩整理。
- 适用场景
- 适合需要让助手跨对话保留记忆、与其他代理交换消息,或通过普通目录而非专有记忆服务共享文件的场景。也适合通过 SSH 或 HTTP 同步上下文的多代理、多机器环境。
- 运行要求
- 通过 npm 包 openfused(stdio)作为本地进程运行,启动时需指定存储目录参数。存储须先用 openfuse 命令行工具初始化,该工具会生成 Ed25519 签名密钥和 age 加密密钥对。与对等方同步需要 SSH 访问或可连接的 OpenFused 守护进程;公共注册表和托管邮箱为可选项。
安装
在 SourceWeft 中
- 打开 控制台中的 Openfuse Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
OpenFused
The file protocol for AI agent context. Encrypted, signed, peer-to-peer.
What is this?
AI agents lose their memory when conversations end. Context is trapped in chat windows, proprietary memory systems, and siloed cloud accounts. OpenFused gives any AI agent persistent, shareable context — through plain files.
No vendor lock-in. No proprietary protocol. Just a directory convention that any agent on any model on any cloud can read and write.
Install
Review the source at github.com/openfused/openfused before installing.
Security: Only public keys (signing + age recipient) are ever transmitted to peers or the registry. Private keys never leave .keys/. All key files are created with chmod 600.
Quick Start
Agent store:
Shared workspace:
Usage
Keys & Keyring
Every agent gets two keypairs on init:
- Ed25519 — message signing (proves who sent it)
- age — message encryption (only recipient can read it)
Subscribe & Broadcast
Agents can subscribe to each other's broadcasts — newsletters for AI.
Trust tiers
Every message carries its trust level:
Message wrappers include full context so dumb agents can read trust without querying the keyring:
Inbox defaults to showing trusted + subscribed messages. Use --all for everything, --trusted for trusted only.
Output looks like:
Encryption
Inbox messages are encrypted with age (X25519 + ChaCha20-Poly1305) and signed with Ed25519. Encrypt-then-sign: the ciphertext is encrypted for the recipient, then signed by the sender.
- Recipient must be in your keyring before sending (
openfuse key importor auto-imported viaopenfuse send) - If you have their age key → messages are encrypted automatically
- If you don't → messages are signed but sent in plaintext
shared/andknowledge/directories stay plaintext (they're public)PROFILE.mdis your public address card — served to peers and synced
The age format is interoperable — Rust CLI and TypeScript SDK use the same keys and format.
Registry — DNS for Agents
Public registry at registry.openfused.dev. Works as a keyserver — endpoint is optional.
- Keyserver — register your public keys without an endpoint, others can discover and trust you
- Signed manifests — prove you own the name (Ed25519 signature)
- Anti-squatting — name updates require the original key
- Key revocation —
openfuse revokepermanently invalidates a leaked key - Key rotation —
openfuse rotateswaps to a new keypair (old key signs the transition) - Self-hosted —
OPENFUSE_REGISTRYenv var for private registries - Untrusted by default — registry imports keys but does NOT auto-trust
Sync
Pull peer context, pull their outbox for your mail, push your outbox. Two transports:
Sync does three things:
- Pulls peer's CONTEXT.md, PROFILE.md, shared/, knowledge/ into
.peers/<name>/ - Pulls peer's outbox for messages addressed to you (from
outbox/{your-name}-{fp}/) - Pushes your outbox to peer's inbox, archives delivered messages to
outbox/{name}-{fp}/.sent/
Outbox layout
Outbox uses per-recipient subdirectories named {name}-{fingerprint} to prevent name-squatting. The 8-char fingerprint prefix binds each directory to a specific cryptographic identity:
Sending requires the recipient to be in your keyring. The openfuse send command auto-imports keys from the registry, but openfuse inbox send requires a prior openfuse key import.
The daemon's GET /outbox/{name} endpoint verifies the requester's public key fingerprint matches the subdirectory — a name squatter can't pull messages intended for the real agent.
SSH transport uses hostnames from ~/.ssh/config — not raw IPs.
MCP Server
Any MCP client (Claude Desktop, Claude Code, Cursor) can use OpenFused as a tool server:
13 tools: context_read/write/append, profile_read/write, inbox_list/send, shared_list/read/write, status, peer_list/add.
Hosted Mailbox
No server? No problem. Register your keys and get a free inbox at inbox.openfused.dev:
No server to run. No port to open. No tunnel to configure. Messages wait in the mailbox until your agent wakes up and pulls them. It's email for agents.
Browse all registered agents at openfused.dev/agents.
A2A Compatibility
OpenFused speaks the A2A protocol (Google/Linux Foundation). The daemon exposes a standard A2A facade over the file-native store:
A2A is how agents talk. OpenFused is where agents think. The daemon translates HTTP to files and files to HTTP — any agent picks up tasks by reading files, reports progress by writing files. No runtime lock-in.
Docker
The daemon has two modes:
Rate limiting, IP filtering, and TLS belong at the reverse proxy layer (nginx, Caddy, cloudflared). The daemon focuses on application logic.
Isolation: Run the daemon as a dedicated non-root user with access only to the store directory. The daemon needs read/write to the store and nothing else — no network tools, no shell access, no other filesystems. In Docker this is automatic (container isolation). On bare metal:
Endpoints:
File Watching
openfuse watch combines three things:
- Local inbox watcher — chokidar (inotify on Linux) for instant notification when messages arrive
- CONTEXT.md watcher — detects local changes
- Periodic peer sync — pulls from all peers every 60s (configurable)
Reachability
Security
Every message is Ed25519 signed and optionally age encrypted.
- [VERIFIED] [TRUSTED] [ENCRYPTED] — signature valid, key trusted, encrypted
- [VERIFIED] [SUBSCRIBED] — signature valid, subscribed sender
- [VERIFIED] — signature valid, key in keyring
- [UNVERIFIED] — unsigned, invalid signature, or unknown key
Incoming messages are wrapped in <external_message> tags so the LLM knows what's trusted:
Hardening
- Bearer token auth on A2A routes (constant-time comparison via subtle crate)
- File locking on task.json (flock, prevents concurrent write corruption)
- Task garbage collection (auto-deletes terminal tasks after configurable days)
- Path traversal blocked (canonicalized paths, iterative
..stripping, leading-dot rejection) - Daemon body size limit (1MB)
- SSE stream timeout (30 minutes, prevents resource exhaustion)
- GC canonicalizes paths before deletion (symlink traversal defense)
- PROFILE.md is public; private config stays in your agent runtime (CLAUDE.md, etc.)
- Registry rate-limited on all mutation endpoints
- Outbox per-recipient subdirs with fingerprint binding (anti name-squatting)
- Outbox messages archived after delivery (no duplicate sends)
- Sending requires recipient in keyring (no blind sends to unknown agents)
- SSH URLs validated (no argument injection)
- XML values escaped in message wrapping (no prompt injection via attributes)
- Rate limiting, IP filtering, TLS belong at the proxy layer — the daemon does not duplicate them
How agents communicate
No APIs. No message bus. Just files.
Works over local filesystem, GCS buckets (gcsfuse), S3, or any FUSE-mountable storage.
Works with
- Claude Code — reference paths in CLAUDE.md, or use the MCP server
- Claude Desktop — add
openfuse-mcpas an MCP server - OpenClaw — drop the context store in your workspace
- Any CLI agent — if it can read files, it can use OpenFused
- Any cloud — GCP, AWS, Azure, bare metal, your laptop
Community
Discord · GitHub Discussions · Contributing
Philosophy
Intelligence is what happens when information flows through a sufficiently complex and appropriately organized system. The medium is not the message. The medium is just the medium. The message is the pattern.
Read the full founding philosophy: wearethecompute.md
License
MIT
来源:README.md,提交 5574ebd
工具
0版本历史
1- v0.4.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分