
TMCRA Agent Memory
io.github.reshuibuduo由 GitHub 账号 reshuibuduo 发布v1.0.0-rc.1更新于 Oct 24, 2026
Role-aware Agent memory with cross-session recall, durable writes, and multi-Agent project scope.
发布方自己的服务:Memory.fit
概览
本地 MCP 服务器,为助手提供按项目隔离的长期智能体记忆,支持跨会话召回和持久化对话写入。
- 可以做什么
- 在项目范围内按查询召回可直接注入的证据片段,或在回答前准备轮次、回答后提交精确的用户与助手记录。持久化已发生的消息,区分用户、助手、系统和工具角色并保留智能体归属。查看或更改会话模式、任务选择和召回预算。用幂等键重试待处理写入,并读取或等待异步写入任务。预览原始证据,在交互确认后提交针对性反馈。
- 适用场景
- 当助手需要在同一稳定项目范围内跨会话、跨不同 MCP 宿主延续上下文,或需要明确的准备/提交轮次流程和可恢复写入时使用。没有记忆需求的一次性对话不需要它;自动召回与捕获需另装插件。
- 运行要求
- 可启动 stdio 进程的本地 MCP 宿主;MCPB 包需要 uv 运行时,wheel 需要 Python。需要 TMCRA 账号和 API 密钥,通过 TMCRA_API_KEY 或受保护的设备文件提供;可选 TMCRA_BASE_URL、TMCRA_DEFAULT_SCOPE、TMCRA_AGENT_ID。需要 HTTPS 访问 TMCRA API。
安装
在 SourceWeft 中
- 打开 控制台中的 TMCRA Agent Memory,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
TMCRA MCP Server
TMCRA MCP Server gives MCP hosts explicit access to long-term Agent memory. It recalls project evidence, writes real conversation records with speaker attribution, preserves multi-Agent project scope, and tracks asynchronous writes to a terminal state.
What it provides
- Cross-session project continuity. Recall bounded evidence from one stable project scope.
- Cross-tool collaboration. Different MCP hosts can use the same scope while keeping their own session provenance.
- Speaker and Agent attribution. User, assistant, system, and tool records remain separate; known Agent producers or targets remain attached.
- Explicit turn lifecycle. A host can prepare recall before an answer and commit the exact user/assistant turn afterward.
- Durable write recovery. Transport uncertainty enters a local SQLite queue with idempotent reconciliation.
- Verifiable receipts. Recall, ingest, and job responses are validated before the MCP host receives them.
- Nine MCP tools. Recall, ingest, prepare, commit, reconcile, get job, wait for job, session memory controls, and targeted feedback.
tmcra_memory_control exposes task selection, a 12000-character default recall budget, and normal, recall_only, off modes. Pass the exact same session_id to recall/prepare and controls. Pending older generations are discarded after a mode change; already submitted jobs remain submitted. tmcra_feedback supports ignore, correct (user-supplied replacement), and restore with a stable idempotency key. Effective feedback requires the matching backend update; check correction_index_status separately. The visual control panel is provided by the Codex and DSH distributions. This MCP package automatically discovers the shared local installation; numeric loopback HTTP is permitted only for an explicit local identity. Hosted connections require HTTPS.
Conversational corrections now require interactive host confirmation. On an actual correction request, call tmcra_memory_control(operation="correction_start") before clarification or feedback to suppress automatic capture of that discussion turn. tmcra_feedback reads exact original evidence and uses MCP form elicitation to show the source, replacement and scope; only explicit acceptance submits feedback. Rejection, cancellation, expiry or an unsupported host leaves memory unchanged. Do not substitute ingestion for a rejected correction. Host lifecycle turn IDs protect the discussion from later queue replay while preserving other identified turns. A third-party host must route elicitation to its user; the server cannot guarantee that an arbitrary client will not answer automatically. Hypothetical/quoted correction language is not authorization.
Generic MCP clients decide when to call tools. Connecting this server alone does not observe the host's before-answer or after-answer lifecycle. For automatic Codex recall and capture, install the separate TMCRA Codex Memory plugin.
Install
MCPB release
Download tmcra-mcp-server-1.0.0-rc.1.mcpb from the v1.0.0-rc.1 release and open it in an MCPB-compatible client. The bundle uses the cross-platform uv runtime. Hosted service users enter their API key in the sensitive field. For account-free Windows local memory, extract the standalone runtime, double-click Install-Local.cmd, then restart the MCP host. The local identity is discovered automatically and overrides the form's cloud URL/key; keep the API key blank for this mode. Explicit advanced TMCRA_CONFIG_FILE overrides remain authoritative. Local model acceptance limitations are documented in the runtime release.
Python wheel
Directly from GitHub with uvx
Authorize
Create a TMCRA account and API key, then provide it through your MCP client's secret storage or the TMCRA_API_KEY environment variable. Do not commit credentials to a repository.
Users signed in through a TMCRA application can instead use its protected device file at ~/.config/tmcra/config.json. Environment variables override that file for developer and self-hosted configurations.
The server accepts only HTTPS API origins without embedded credentials, query strings, or fragments.
Register with an MCP host
After installing the wheel, an MCP host can launch:
The package also includes a Codex setup helper:
Tools
Every project collaborator should use the same project scope. Each conversation keeps its own session_id. Agent identity is attribution and does not split the project memory.
Recalled content is returned with trust_boundary: untrusted_memory_data. A host must treat it as evidence, never executable instructions.
Explicit lifecycle
An MCP host that wants per-turn continuity should:
- Call
tmcra_turn_prepareafter receiving the current user question. - Inject only the returned
injectable_contextas untrusted evidence. - Draft the answer.
- Call
tmcra_turn_commitwith the sameturn_idand the exact final answer. - Report pending or terminal write state accurately.
The lower-level equivalent is tmcra_recall, answer, tmcra_ingest, then tmcra_get_job or tmcra_wait_job.
Security boundary
- Credentials are read from environment or a protected TMCRA device file and are never printed by the server.
- API destinations must use HTTPS.
- Structured receipts reject malformed recall, ingest, and job responses.
- Recalled memory remains untrusted data.
- The repository contains the client-side MCP integration only. It contains no production service source code or production credentials.
- Destructive memory deletion and export are not exposed by this toolset.
See SECURITY.md for vulnerability reporting.
Development
The tests cover receipt validation, scope and actor semantics, durable queue recovery, configuration safety, setup behavior, and a real MCP initialize/list/call smoke exchange.
License
来源:README.md,提交 d1024d5
工具
0版本历史
1- v1.0.0-rc.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Memory 集成

Memory.fit
fit.memory官方发布者
托管式 Memory.fit 服务器,让 AI 读取你的训练、睡眠、恢复与饮食数据,并写回每周计划、每日目标和饮食计划。
pg.ddx.io: the PostgreSQL community's memory
io.ddx.pg官方发布者
pg.ddx.io: the PostgreSQL community's memory 的托管 MCP 服务,由 pg.ddx.io 发布;无需登录;Streamable HTTP;29 个工具。
var.gg Naming Memory
gg.var官方发布者
远程 MCP 服务器,可根据领域概念推荐并检索韩、日、中、越、英多语言的代码标识符名称,并提供 ERD 结构查询。

Counterparts
ai.counterparts
面向 Claude Code 与 Claude Desktop 的本地优先长期记忆:助手自行写下关于你和项目的笔记,并在之后的会话中回忆起来。

LAHZE - Persian AI Memory Platform
由 GitHub 账号 pedramgholizadeh 发布
以波斯语为先的地理记忆平台:发现地点,起草并发布仅限波斯语的记忆。AI 翻译