
Tentra — Memory for AI Coding Agents
io.github.rdanieli由 GitHub 账号 rdanieli 发布v1.3.2更新于 Oct 24, 2026
Memory for AI coding agents. Call graphs + refactor safety + persistent code context. 35 MCP tools.
发布方自己的服务:Memory.fit
概览
Tentra 为 AI 编程助手提供持久化的代码图谱和架构工作区,让助手查询符号、调用方和设计,而不必反复读取源码。
- 可以做什么
- 查询已索引的代码图谱:模糊符号搜索、调用方查找、重命名补丁方案、邻居遍历、相似代码、god node、热点和快照差异,以及仓库讲解和代码路径说明。索引仓库并记录语义标注、嵌入向量和索引任务状态。设计、读取、更新、检查、同步和导出架构到多种框架,并创建流程可视化。保存补充信息:服务映射、领域、API 契约、架构决策记录和归属信息。
- 适用场景
- 适合助手长期在同一仓库中工作,需要回答某功能在哪里实现、谁调用了某个符号、架构图是否仍与代码一致等问题。也适合希望在使用 Cursor、Claude Code、Codex 或 Windsurf 等编程助手时同时获得架构图、ADR 和重构安全校验的团队。
- 运行要求
- 使用托管的 SSE 端点,或用 npx 运行本地 npm 包 tentra-mcp(需要 Node.js)。需要托管服务的账号;默认通过 GitHub 设备流程认证,也可用 TENTRA_API_KEY 作为 key 参数或命令行参数传入。扫描本地代码库需要本地安装。需要访问托管 API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Tentra — Memory for AI Coding Agents,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 SSE。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.rdanieli%2Ftentra/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"tentra-memory-for-ai-coding-agents": {
"type": "sse",
"url": "https://trytentra.com/api/mcp"
}
}
}README
tentra-mcp
[npm version] [npm downloads] [CI] [License: MIT]
Memory for AI coding agents. Persistent code graph + AI-generated architecture diagrams — MCP-native. Works in Cursor, Claude Code, Codex, and Windsurf.
Dogfood benchmark on our own monorepo: 99.4% token reduction (156.8× ratio) across 8 "where is X implemented?" queries — 114,644 tokens via file re-read vs 731 tokens via query_symbols. Full write-up →
Quick Start (60 seconds)
One command:
- Writes MCP config for Cursor / Claude Code / Codex / Windsurf (whichever are installed)
- Installs a git
post-commithook so the code graph auto-refreshes after every commit — no manual re-indexing - Auto-derives your
repo_idfrom the git remote and saves it to.tentra/metadata.json
Then grab your API key at trytentra.com/settings, replace YOUR_TENTRA_API_KEY in the generated config, reload your IDE, and ask your agent:
From here on, every git commit fires a background re-index. Your agents stay caught up automatically.
Skip the hook: drop
--hook— just writes IDE configs. Manual stdio install:npx tentra-mcp(opens browser for GitHub device-flow auth on first tool call). API key instead:npx tentra-mcp --key YOUR_API_KEY.
What is Tentra?
Tentra is an AI-native architecture platform for engineering teams. Describe a system — get a diagram and 14-framework code exports. Index your repo — agents query a structured graph of files, symbols, imports, and call edges instead of re-grepping source every session.
This MCP server gives your AI assistant 36 tools:
Architecture (10 tools)
Code Graph — Write (4 tools)
Code Graph — Read (13 tools)
Enrichment — Contracts, Decisions, Ownership, Domains (9 tools)
Setup
Option 1: SSE (zero install)
Add to your IDE's MCP config — no local install needed:
Cursor (Settings > Features > MCP > Add Server):
Claude Code (.mcp.json in project root):
Option 2: Local install (needed for codebase scanning)
Authenticates automatically via GitHub on first use. Credentials are saved to ~/.tentra/credentials.
Cursor config for local server:
Claude Code (.mcp.json):
Usage Examples
Once connected, just talk to your AI:
Export Formats
Java (Spring Boot), Node.js (Fastify), Python (FastAPI), Go (chi), Rust (Axum), .NET (ASP.NET), Kotlin (Ktor), PHP (Laravel), Ruby (Rails), Elixir (Phoenix), Docker Compose, Mermaid, ADR, Terraform
Links
- Website: trytentra.com
- Documentation: trytentra.com/docs
- Setup Guide: trytentra.com/docs/setup
- Gallery: trytentra.com/gallery
Development
This repo contains the open-source MCP server. The Tentra API and web app are a separate hosted service at trytentra.com.
The published npm package (tentra-mcp) ships only the bundled dist/ — source is here for auditability and community contributions.
License
MIT
来源:README.md,提交 116cf71
工具
0版本历史
1- v1.3.2最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需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 翻译