
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 翻譯