Assertion Memory MCP server
2026년 10월 7일 커밋Provides coding agents with a shared project memory to recall decision logic and strategy across Claude Code, OpenAI Codex, and Cursor.
다른 이름 Assertion-AI/assertion, assertion
- 스타
- 1
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 1.0.0
- 마지막 커밋
- 2026년 10월 7일
- 라이선스
- Apache-2.0
Assertion Memory MCP란?
Assertion Memory은(는) MCP server입니다. Provides coding agents with a shared project memory to recall decision logic and strategy across Claude Code, OpenAI Codex, and Cursor.
프로젝트 README에서 생성된 요약
Assertion Memory MCP server 정보
Assertion Memory acts as a shared second brain for coding agents, allowing them to retain the reasoning and strategy behind technical decisions. It provides a project-scoped memory tree that stays current by superseding old decisions when they are reversed. This system is designed for developers using Claude Code, OpenAI Codex, or Cursor, ensuring that a single copy of logic serves all three agents simultaneously.
The service operates via a hosted MCP endpoint rather than a local server. Users install the server and sign in through a browser to connect their account, though an ASSERTION_API_KEY can be used for CI or shared machines. The setup requires a system python3 for small hooks that handle automatic context injection and decision capture.
Developers interact with their project history using specific tools like recall to find relevant past work, expand to view details, and conflicts to identify disagreements in the record. It also includes tools to resolve contradictions or manage superseded decisions through the resolve and superseded commands.
활용 사례
- 1Retrieve past design reasoningAsk the agent to find the logic behind a specific architectural choice made earlier in the project.
- 2Identify contradictory project decisionsCheck if the current plan conflicts with previously recorded project strategies.
- 3Restore a previous strategyBring back a decision that was previously replaced or updated.
- 4Verify decision supporting detailsRequest the specific evidence that justifies a particular claim in the memory tree.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Assertion Memory MCP 설치 방법
형식 확인: 2026년 11월 10일Claude Code에 Assertion Memory MCP 설치
$ claude mcp add --transport http assertion https://memory.assertion-ai.com/memory/mcpCursor에 Assertion Memory MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"assertion": {
"url": "https://memory.assertion-ai.com/memory/mcp"
}
}
}VS Code에 Assertion Memory MCP 설치
.vscode/mcp.json
{
"servers": {
"assertion": {
"type": "http",
"url": "https://memory.assertion-ai.com/memory/mcp"
}
}
}Codex에 Assertion Memory MCP 설치
~/.codex/config.toml
[mcp_servers.assertion] url = "https://memory.assertion-ai.com/memory/mcp"
Gemini CLI에 Assertion Memory MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"assertion": {
"httpUrl": "https://memory.assertion-ai.com/memory/mcp"
}
}
}구성
ASSERTION_API_KEY
| 이름 | 설명 | 유형 |
|---|---|---|
| ASSERTION_API_KEY | — |
README
GitHub에서 보기Assertion — a second brain for your codebase
Gives Claude Code, OpenAI Codex, and Cursor memory that remembers the why behind your decisions and the strategy across your project — and keeps it current, superseding calls you've reversed instead of resurfacing them. It recalls that context automatically as you work, into a shared, project-scoped tree. Reads run over a hosted MCP endpoint (no local server); small hooks handle capture and context injection. One codebase serves all three agents (single copy of the logic). By Assertion AI.
Memory keeps decisions and their reasons, not your transcripts or source code. What memory stores →
Install, then sign in once in your browser. There is no key to copy. Requires a system python3
(for the stdlib hooks); no other deps.
Step-by-step guides with troubleshooting for each tool: assertion-ai.com/install.
Install — Claude Code
Step-by-step guide: assertion-ai.com/install/claude-code.
Already installed? Keep the copy you have. If you installed from this repo (
assertion@assertion-ai), don't also install it from the Claude Code community catalog (assertion@claude-community). Two copies means two sets of hooks, so every turn is captured twice./assertion:upgradeupdates whichever copy you have.
# 1) in Claude Code:
/plugin marketplace add Assertion-AI/assertion
/plugin install assertion@assertion-ai
/reload-plugins
/reload-plugins turns the plugin on in the session you're in, with no restart. Or install from
your terminal before you start Claude Code, and skip it:
claude plugin marketplace add Assertion-AI/assertion && claude plugin install assertion@assertion-ai
2) Sign in:
/assertion:login
Your browser opens at Assertion Studio; click Connect (new here? sign up on that page first).
Memory turns on in the same session: the memory tools and capture both pick up the sign-in, with
no restart and no key to copy. Then try recall <topic>. Until you sign in, each session starts
with a one-line notice that memory is off.
On a machine with no browser (SSH, a server), /assertion:login code shows a short code to
confirm from any device instead. /assertion:logout signs this computer out and turns memory off.
Requirements: a system python3 (for the two stdlib hooks). No other deps — the
memory tools connect over HTTP.
Using a key instead (CI, or a shared machine):
ASSERTION_API_KEYstill works and takes precedence over the sign-in. Put it in~/.claude/settings.jsonas{"env": {"ASSERTION_API_KEY": "<key>"}}rather than a shellexport, so it reaches the plugin however you launch Claude Code.Upgrading: run
/assertion:upgrade, then/reload-plugins. No restart needed.Spaces:
/assertion:spacelists your memory spaces and shows which one this session uses;/assertion:space <name>switches this session only (/assertion:space personalto go back).
Install — OpenAI Codex
Step-by-step guide: assertion-ai.com/install/codex.
# 1) install the plugin
codex plugin marketplace add Assertion-AI/assertion
codex plugin add assertion@assertion-ai
# 2) sign in in your browser (no key to copy)
python3 "$(ls -d ~/.codex/plugins/cache/*/assertion/*/scripts | sort -V | tail -1)/assertion.py" login --client codex
Or, once Codex is open, ask it to "sign in to Assertion" (the plugin's assertion-login skill runs
the same sign-in; "sign out of Assertion" runs assertion-logout). Either way the key is saved for the hooks and written into
~/.codex/config.toml for the memory tools.
- Use Codex interactively (
codexin a terminal, or the VS Code Codex panel — notcodex exec). On first run, toggle the three hooks Trust on when prompted (once).
Capture + injection then work against the same shared tree, in CLI and VS Code. Full Codex details (recall/expand setup, dev override): plugin/codex/README.md.
Install — Cursor
Step-by-step guide: assertion-ai.com/install/cursor.
Cursor has no plugin marketplace, so it installs via a one-time script that wires its
hooks.json + mcp.json for you:
git clone https://github.com/Assertion-AI/assertion
cd assertion/plugin/cursor && python3 install_cursor.py # signs you in in the browser
Then fully quit and reopen Cursor. The installer merges into any existing Cursor config
(it won't touch your other hooks or MCP servers), backs up what it changes, and defaults
to prod + the shared default workspace. In Cursor, /assertion-login signs in again,
/assertion-space lists or switches memory spaces, and /upgrade updates the clone. Options
(--key, --workspace, --server, --uninstall) and a manual fallback:
plugin/cursor/README.md.
What's included
- MCP tools — query and curate your memory from inside the agent, over
https://memory.assertion-ai.com:recall— find past work relevant to what you're doing nowexpand— open up a point to see the detail beneath itevidence— see the supporting detail behind a claimconflicts— surface where the record disagrees with itselfresolve— settle a conflict and keep the memory coherentsuperseded— see what's been replaced as decisions changedunsupersede— bring back something that was replaced
- Stop hook — captures each finished turn into the tree.
- SessionStart hook — injects the project's working-set into context.
Both hooks fail open: if the backend is unreachable, your session is never blocked.
Optional: show your memory space in the Claude Code status line
A permanent 📁 <space> indicator at the bottom of your terminal — instant, local, per-session-accurate. In ~/.claude/settings.json:
"statusLine": {
"type": "command",
"command": "python3 ~/.claude/plugins/cache/assertion-ai/assertion/scripts/statusline_space.py"
}
(If you already have a statusline command, chain this after it.)
License
The plugin in this repository is licensed under the Apache License 2.0. See NOTICE.
The license covers this client code only. The hosted Assertion service it connects to is governed by the Terms of Service, and your data by the privacy notice. "Assertion" is a trademark of Assertion AI, Inc.
Assertion Memory MCP 질문
Assertion Memory MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --transport http assertion https://memory.assertion-ai.com/memory/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Assertion Memory MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
What does the memory actually store?
The memory stores decisions and the reasoning behind them, rather than raw transcripts or source code.
How do I sign in to Assertion?
You can sign in via your browser through a command like /assertion:login, or use an ASSERTION_API_KEY for CI or shared machines.
Does it require any specific dependencies?
It requires a system installation of python3 for the standard library hooks, but no other dependencies are needed.