
Agentram Mcp
io.github.seanmarkwei由 GitHub 帳號 seanmarkwei 發布v0.1.1更新於 Oct 24, 2026
Model Context Protocol server for AgentRAM. Persistent memory for AI agents.
概覽
AgentRAM MCP 透過託管的 HTTP 記憶儲存,為 AI 助理提供持久記憶,支援扁平鍵值記憶、共用命名空間與隨時間變動的事實斷言。
- 可以做什麼
- 儲存、讀取、列出、以文字搜尋及刪除代理的扁平鍵值記憶,並查詢帳戶的剩餘額度。建立共用命名空間,並在其中寫入、讀取與列出記憶,讓多個代理共用同一個記憶池。記錄會變動的事實斷言,將其標記為失效但保留歷史,並讀取某個鍵的目前值、全部目前事實或完整歷史。發生衝突的鍵會同時回傳兩個值,而不是默默選擇其中一個。
- 適用情境
- 適合助理需要跨工作階段記住資訊,又不想自行架設向量資料庫或嵌入流程的情況;也適合多個代理需要共用記憶池,並希望保留會變動事實之歷史紀錄的場景。
- 執行需求
- 需要本機 Node.js 執行環境(Node 18 或更新版本),透過 npx 執行這個 npm 套件;還需要 AgentRAM 帳戶,並在 AGENTRAM_API_KEY 環境變數中提供 API 金鑰。需要連線至 AgentRAM API 的網路存取,可用 AGENTRAM_API_BASE 覆寫基底位址。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agentram Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
agentram-mcp
MCP server for AgentRAM. It gives your AI agents persistent memory through a set of tools, with no vector database and no embedding pipeline to set up. Get a key, paste the config below, and you're running in about a minute.
Works with any MCP client: Claude Desktop, Claude Code, Cline, Cursor, Windsurf, and others.
Why
Every agent session starts with amnesia. AgentRAM is a plain HTTP memory store built for agents: one call to save something, one call to read it back. No infra to stand up, no vectors to babysit. This package wraps that API as MCP tools so your agent can just use it.
Setup
You need an API key first. Register at agentram.dev and it gets emailed to you. New accounts start with 1,000 credits and no card is required.
Then add this to your client's MCP config. For Claude Desktop that file is claude_desktop_config.json (on macOS it lives at ~/Library/Application Support/Claude/claude_desktop_config.json):
Restart the client and the tools show up. Most clients let you mark them "always allow" so you're not clicking approve on every call.
One gotcha on macOS: Claude Desktop doesn't ship with Node, so install Node 18 or newer first or the server won't start.
Tools
Fifteen tools. Ten for flat memory, five for temporal memory (facts that change over time).
Flat memory:
store_memory: save a value under a key for an agentretrieve_memory: read one back by keylist_memories: list everything stored for an agentsearch_memories: text search across keys and values, no embeddings neededdelete_memory: remove onecheck_credits: current balance, free to call
Shared memory, for when more than one agent needs the same pool:
create_namespace: make a shared space, free to callstore_shared_memory: write into itretrieve_shared_memory: read from itlist_shared_memories: list what's in it
Temporal memory (assertions):
store_assertion: record a fact that can change, like a plan, a status, or a preferenceretire_assertion: mark a fact as no longer true while keeping the historyget_assertion: what's currently true for a keylist_assertions: all the current facts for an agentget_assertion_history: the full chain of what a key has been over time
About temporal memory
Flat memory overwrites. Temporal memory keeps the trail. When a fact changes you supersede the old value, and the previous values stick around so you can see how you got to the current one.
The part worth knowing: if two different values land on the same key and neither one supersedes the other, get_assertion will not quietly pick a winner. It tells you the key is contested and returns both values, so your agent can decide instead of running on a guess. list_assertions flags which keys are in that state.
Flat and temporal are separate keyspaces. A key called plan in store_memory and a key called plan in store_assertion have nothing to do with each other. Use flat memory for stuff you just overwrite, and assertions for facts you want a record of.
Credits
Reads and writes cost 1 credit each. check_credits and create_namespace are free. A read that finds nothing (a 404) refunds the credit. Most responses include your credits_remaining so you can watch the balance.
Config
AGENTRAM_API_KEY(required): your key, starts withagentram_AGENTRAM_API_BASE(optional): defaults tohttps://api.agentram.dev
Links
- Site: https://agentram.dev
- Docs: https://agentram.dev/docs.html
- Issues: https://github.com/seanmarkwei/agentram-mcp/issues
MIT
來源:README.md,提交 3e88b5e
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分