Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://app.trysubstrate.co/mcp在终端中运行这条命令
claude mcp add --transport http memory https://app.trysubstrate.co/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"memory": {
"url": "https://app.trysubstrate.co/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"memory": {
"type": "http",
"url": "https://app.trysubstrate.co/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://app.trysubstrate.co/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们上次检查时服务器没有响应,所以无法读取它的工具。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
发布者(trysubstrate.co)不是仓库所有者(Substrate-memory);可能是其他人代为上架的
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
我们检查时,6 秒内没有响应
我们检查时,6 秒内没有响应
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 2 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(0.11.4)于昨天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Give your agents a memory that follows you across Claude, ChatGPT, Codex and Hermes.
AI memory for your team, editable, permissioned, owned.
trysubstrate.co: a context layer for your team and agents.
gemini extensions install https://github.com/Substrate-memory/Substrate-memory-plugins (follows the latest release; pin one with --ref v )co.trysubstrate/memory (remote server https://app.trysubstrate.co/mcp)Substrate remembers your decisions, preferences, people and projects. Connect once, and every supported agent recalls what matters before each turn and saves what matters after it. One connection screen, one review step, one approval. No API keys. No tokens to paste. No secrets to manage.
Claude (Cowork, Claude Code) --> plugins/substrate-claude --\
ChatGPT (Work, Codex app, Codex CLI) --> plugins/substrate-codex --\ Hermes --> plugins/substrate-hermes --------------------------------+--> one server-side Other MCP-capable agent --> plugins/substrate-mcp (fallback only) --/ MCP contract (v2) | v recall + capture + memory store
Each package is a thin client. The server owns storage, ranking, redaction checks and the memory contract. Every host speaks the same contract (docs/mcp-contract.md, version 2): memory_turn_context opens the turn and returns recall, memory_capture_tool records tool use, memory_capture_turn closes the turn, memory_session_boundary marks lifecycle events, memory_import replays missed or past turns, and memory_search, memory_expand, memory_evidence, memory_remember, memory_forget read and write memory. The legacy Hermes /api/v1 wire stays supported on the server during the rollout.
Paste this into the agent you want to connect:
Install Substrate memory in this agent by following https://trysubstrate.co/install.md
The agent follows docs/install.md (the same file served at that link). It identifies its host and installs the right package. From this repository, the same request works too:
Install the memory plug-in at https://github.com/Substrate-memory/Substrate-memory-plugins
| Your host | Package the agent installs | Guide |
|---|---|---|
| Claude Cowork, Claude Code | plugins/substrate-claude | substrate-claude README |
| ChatGPT Work, Codex app, Codex CLI | plugins/substrate-codex | substrate-codex README |
| Hermes | plugins/substrate-hermes | substrate-hermes README |
| OpenClaw | no package: generic MCP server | OpenClaw guide |
| Grok | no package: generic MCP server through the Grok CLI | Grok guide |
| Any other MCP-capable agent | no package: generic MCP server (plugins/substrate-mcp is the thin fallback) | substrate-mcp README |
Hermes in one command (the repository root is a Hermes plugin that loads plugins/substrate-hermes; it passes the Hermes install scan with no override):
hermes plugins install https://github.com/Substrate-memory/Substrate-memory-plugins --enable
Then follow the printed steps: the agent shows a one-time approval link and code, you approve in the browser, and the agent confirms Connected to Substrate as you@example.com. (your account)
If Cowork needs manual installation, use Cowork tab → Customize → Plugins → Personal plugins → + → Add marketplace → Add from a repository (GitHub URL), then browse and install the package. Client-required permission dialogs still need the user. Follow the single installation and recovery guide.
With the hook plugins (Claude Code, Cowork, Codex, Hermes), each prompt, each completed turn and bounded tool calls and results go to your own Substrate tenant at app.trysubstrate.co. Secrets are redacted on the server before storage; the sync and import scripts also redact on the client. Nothing goes anywhere else; only the Hermes package also reads this repository's VERSION file on github.com once a day to show an update notice (nothing is sent). The Claude Code and Codex plugins run one local script, the bundled scripts/substrate_sync.py: it reads only this agent's own conversation files (for the import you choose and for catch-up sync) and sends them only to https://app.trysubstrate.co/mcp; any other host is refused. The only credential it handles is Substrate's own short-lived import ticket, which it gets from the Substrate server by a single-use claim (or from a temporary file the agent writes, deleted on read). It never reads your Claude Code or Codex sign-in files, the keychain, SSH or cloud keys, it downloads no code, and it runs nothing it downloaded: updates come only through the plugin marketplace. Without hooks (plain MCP, Gemini CLI) only what the agent explicitly saves is stored. You can read, edit and forget every line; account deletion purges within 30 days.
See SECURITY.md and docs/threat-model.md.
Right after Connected to Substrate., in the same reply, the agent offers once, with what it found on this computer:
I found 87 past conversations on this computer (1,204 turns, 3 Mar to 7 Oct 2026). Import them into Substrate? Import all / Let me pick / Not now
Claude Code and Codex upload straight from the package script with a short-lived, import-only ticket (memory_import_ticket), so your history never passes through the chat. Hermes reads its own profile history and sends it through its spool. Cowork cloud sessions have no local history, so the offer is skipped. Imports are redacted client- and server-side, and repeats are ignored.
| Release | Hermes | Claude Code | Cowork | Codex / ChatGPT Work | Other MCP clients | Status |
|---|---|---|---|---|---|---|
| v0.10.0 | plugins/substrate-hermes (tested on Hermes 0.21.0 or newer) | plugins/substrate-claude | plugins/substrate-claude | plugins/substrate-codex | plugins/substrate-mcp fallback | Release candidate |
Every package installs on any host version. Outside the tested range the agent (and the Hermes plugin itself) shows a friendly note instead of refusing: *Tested on Hermes 0.21.0 or newer; you are on X. It should work; tell us if not.* Newer Hermes versions get no note. See COMPATIBILITY.md.
Known limits, stated honestly:
/hooks./substrate-claude:substrate-connect.See COMPATIBILITY.md for the full matrix and history.
Do I need an API key? No. Sign in in the browser and approve. There is nothing to copy or paste.
Which package does my agent install? Claude Cowork and Claude Code use plugins/substrate-claude. ChatGPT Work, the Codex app and Codex CLI use plugins/substrate-codex. Hermes uses plugins/substrate-hermes. OpenClaw, Grok and any other MCP-capable agent connect over the generic MCP server, the default for any system without its own package. plugins/substrate-mcp is the thin fallback package.
How do I know it is connected? The agent runs an authenticated memory smoke test. Only a passed memory_search means Connected to Substrate.
What exactly is sent to Substrate? Each completed turn: your message, the agent's answer, and bounded tool calls and results, all redacted before sending and again on the server. History import sends the same redacted turn content, only after you choose Import all or pick sessions.
What about my old August 2026 API-key plugin? Those plugins (substrate_capture, local spool paths, SUBSTRATE_API_KEY setups) are deprecated. Uninstall them
只显示了开头部分;其余内容请在仓库中阅读