
StateJar memory
com.statejar由 statejar.com 發布官方發布者v1.0.0更新於 Oct 30, 2026
Verifiable memory for AI assistants: typed facts, content-addressed versions and an audit trail.
概覽
為 AI 助理提供的託管記憶層,儲存具型別、可版本化、可稽核且附可驗證句柄的事實。
- 可以做什麼
- 儲存、搜尋、取得、列出與更新經型別檢查的事實
- 刪除事實、檢視版本歷程並匯出已存狀態
- 檢視揭露稽核紀錄並驗證狀態的 SHA-256 句柄
- 以事實而非對話逐字稿保存記憶,送出前會移除機密
- 適用情境
- 適合需要讓助理跨工作階段保留持久且可查核的事實、而非重播對話逐字稿的情境,也適合需要稽核記憶揭露紀錄的情況。
- 執行需求
- 透過 HTTP 連線遠端 MCP 端點,並在 Authorization 標頭攜帶 StateJar 開發者金鑰(Bearer sj_live_…),金鑰需在 StateJar 帳號中建立;需要能連線託管伺服器與 API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 StateJar memory,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.statejar%2Fmemory/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"statejar-memory": {
"type": "http",
"url": "https://statejar.com/mcp"
}
}
}README
StateJar integrations: memory your AI agents can trust
statejar.com · Docs · Blog · Pricing
Client code that connects AI coding agents and assistants to StateJar, a memory layer that
keeps facts instead of transcripts. Each value is checked by its type (a value that fails is refused, with a reason),
every change is a new version with the old one kept in history, an assistant gets only the facts a question needs,
every disclosure is audited, and each state has a verifiable handle (shm_…, the SHA-256 of the canonical state).
Quick start
- Make a developer key at https://statejar.com/api-keys and set
STATEJAR_API_KEY. - Pick your client:
Details for each are below.
What is here
- Hosted MCP server, for any client that speaks MCP over HTTP:
https://statejar.com/mcp(live). - Claude Code plugin:
plugins/statejar/; guide inclaude-code/. Marketplace: this repository. - Codex plugin (the same plugin): guide in
codex/. Marketplace: this repository. - OpenCode plugin:
opencode/. npm:opencode-statejar. - Hermes Agent memory provider (
memory.provider: statejar):hermes/statejar/. Install withhermes plugins installfrom this repository. - OpenClaw memory-slot plugin:
openclaw/. npm:openclaw-statejar. - Agent skill, for any agent that reads
SKILL.md:skills/statejar/. - CLI:
pip install statejargivesstatejar login,init,add,search,list,forget,export,status.
Every integration uses a StateJar developer key (https://statejar.com/api-keys), scoped to your account. None of them stores a transcript. Each removes secrets before anything is sent.
Availability. Recall and capture call StateJar's REST API at https://api.statejar.com. The plugins' StateJar
tools use the hosted MCP server at https://statejar.com/mcp. Both are live.
Any MCP client
Make a developer key at https://statejar.com/api-keys and put it in STATEJAR_API_KEY. Then:
OpenCode, in opencode.json:
Any other client: a remote (HTTP) MCP server at https://statejar.com/mcp with the header
Authorization: Bearer <your key>. The ten tools are remember, search, get, list, update, delete,
history, audit, verify and export.
Claude Code
Codex
Then trust the plugin's hooks with /hooks. See codex/README.md.
OpenCode
Add "plugin": ["opencode-statejar"] and StateJar's MCP server to opencode.json. See
opencode/README.md.
Hermes Agent
See hermes/statejar/README.md.
OpenClaw
See openclaw/README.md.
Agent skill
Copy skills/statejar/ into your agent's skills folder (for Claude Code, ~/.claude/skills/). See
skills/README.md.
Tests
End to end, against a local or staging StateJar (never production): a fact stated in one session of the real client
is recalled in a fresh one, through the hooks and through StateJar's MCP tools. Each run makes a throwaway account and
deletes it. With no model on the machine, a scripted stand-in (e2e/scripted_model.py) answers "OK" or calls
StateJar's search and repeats its output verbatim; codex_e2e.py --model ollama:<name> uses a real local model.
Each script takes the API (and, where it uses MCP, the MCP URL) of a local or staging server, and an output folder:
openclaw_e2e.pyneeds Node 24.16+.python e2e/openclaw_discovery.pyandpython e2e/codex_discovery.pyshow what OpenClaw and Codex themselves load from the plugin (no model, no StateJar).HERMES_PYTHON=/path/to/hermes/venv/bin/python python -m pytest tests/test_hermes_provider.pyruns the provider test with Hermes's own loader.
Licence
MIT (see LICENSE). The StateJar service these clients talk to has its own terms: https://statejar.com/terms.
來源:README.md,提交 33a3226
工具
0版本歷史
1- v1.0.0最新Oct 30, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分