Assertion Memory MCPサーバー
コミット 2026年10月7日Claude Code、OpenAI Codex、Cursor間で、意思決定のロジックや戦略を共有・想起するためのプロジェクトメモリをコーディングエージェントに提供します。
別名 Assertion-AI/assertion, assertion
- スター
- 1
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 1.0.0
- 最終コミット
- 2026年10月7日
- ライセンス
- Apache-2.0
Assertion Memory MCPとは
Assertion MemoryはMCPサーバーです。 Claude Code、OpenAI Codex、Cursor間で、意思決定のロジックや戦略を共有・想起するためのプロジェクトメモリをコーディングエージェントに提供します。.
プロジェクトのREADMEから生成された概要
Assertion Memory MCP server について
Assertion Memoryは、コーディングエージェントのための共有された「第二の脳」として機能し、技術的な意思決定の背後にある推論や戦略を保持させることができます。プロジェクト単位のメモリツリーを提供し、決定が覆された場合には古い決定を上書きすることで、常に最新の状態を維持します。このシステムは、Claude Code、OpenAI Codex、または Cursorを使用する開発者向けに設計されており、単一のロジックをこれら3つのエージェントすべてで同時に利用できます。
本サービスは、ローカルサーバーではなく、ホストされたMCPエンドポイントを介して動作します。ユーザーはサーバーをインストールし、ブラウザ経由でサインインしてアカウントを接続しますが、CIや共有マシンでは ASSERTION_API_KEY を使用することも可能です。セットアップには、コンテキストの自動注入と意思決定のキャプチャを処理する小さなフックのために、システムの python3 が必要です。
開発者は、過去の関連作業を見つけるための recall、詳細を表示するための expand、記録内の不一致を特定するための conflicts といった特定のツールを使用して、プロジェクトの履歴と対話します。また、resolve や superseded コマンドを通じて、矛盾の解決や上書きされた決定の管理を行うツールも含まれています。
できること
- 1過去の設計理由の取得プロジェクトの初期段階で行われた特定のアーキテクチャ選定の背後にあるロジックをエージェントに探させます。
- 2矛盾するプロジェクト決定の特定現在の計画が、以前に記録されたプロジェクト戦略と矛盾していないかを確認します。
- 3以前の戦略の復元以前に置き換えられた、または更新された決定を呼び戻します。
- 4意思決定を裏付ける詳細の検証メモリツリー内の特定の主張を正当化する具体的な根拠を要求します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Assertion Memory MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加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"
}
}
}VS Code CLIにAssertion Memory MCPをインストール
$ code --add-mcp '{"name":"assertion","type":"http","url":"https://memory.assertion-ai.com/memory/mcp"}'CodexにAssertion Memory MCPをインストール
$ codex mcp add assertion --url https://memory.assertion-ai.com/memory/mcpCodex config.tomlにAssertion Memory MCPをインストール
~/.codex/config.toml
[mcp_servers.assertion] url = "https://memory.assertion-ai.com/memory/mcp"
Gemini CLIにAssertion Memory MCPをインストール
$ gemini mcp add -s user --transport http assertion https://memory.assertion-ai.com/memory/mcpGemini settings.jsonにAssertion Memory MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"assertion": {
"url": "https://memory.assertion-ai.com/memory/mcp",
"type": "http"
}
}
}設定
ASSERTION_API_KEY
| 名前 | 説明 | 種類 |
|---|---|---|
| ASSERTION_API_KEY | — |
自動チェック
実行日 2026年11月15日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能assertion-ai/assertion is public and reachablegithub.com/assertion-ai/assertion ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-07github.com/assertion-ai/assertion ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答initialize answered with protocol 2025-06-18 in 157 ms合格
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を開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
メモリには実際に何が保存されますか?
メモリには、生のトランスクリプトやソースコードではなく、意思決定とその背後にある理由が保存されます。
Assertionへのサインイン方法を教えてください。
/assertion:login などのコマンドを使用してブラウザ経由でサインインするか、CIや共有マシンでは ASSERTION_API_KEY を使用してください。
特定の依存関係は必要ですか?
標準ライブラリのフック用にシステムへの python3 のインストールが必要ですが、その他の依存関係は必要ありません。