原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Tentra — Memory for AI Coding Agents

作者:rdanieli版本 1.3.2i★ –i电脑或云端
注册名称io.github.rdanieli/tentra

安装

概览

作者提供的说明(英文原文)

Memory for AI coding agents. Call graphs + refactor safety + persistent code context. 35 MCP tools.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, SSE
  • 分类: 搜索与 AI 记忆
  • 你需要填写:TENTRA_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://trytentra.com/api/mcp

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "tentra": {
      "command": "npx",
      "args": [
        "-y",
        "tentra-mcp"
      ],
      "env": {
        "TENTRA_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport sse tentra https://trytentra.com/api/mcp

或者在你的电脑上运行

claude mcp add tentra --env TENTRA_API_KEY=your-value -- npx -y tentra-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "tentra": {
      "url": "https://trytentra.com/api/mcp"
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "tentra": {
      "command": "npx",
      "args": [
        "-y",
        "tentra-mcp"
      ],
      "env": {
        "TENTRA_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "tentra": {
      "type": "sse",
      "url": "https://trytentra.com/api/mcp"
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "tentra": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tentra-mcp"
      ],
      "env": {
        "TENTRA_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://trytentra.com/api/mcp

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • TENTRA_API_KEY 机密 env
    Tentra API key (optional — device flow auth via GitHub is used by default)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 rdanieli 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7249 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7249 个服务器的 10% 更新
  • 基础检查结果等于或优于此分类中其他 7249 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Tentra — Memory for AI Coding Agents 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:TENTRA_API_KEY

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.3.2)于7个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT今天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT20天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

tentra-mcp

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)

cd your-repo

npx tentra-mcp init --hook

One command:

  1. Writes MCP config for Cursor / Claude Code / Codex / Windsurf (whichever are installed)
  2. Installs a git post-commit hook so the code graph auto-refreshes after every commit — no manual re-indexing
  3. Auto-derives your repo_id from 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:

Index this codebase with Tentra and list the god-nodes

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)
ToolDescription
create_architectureDesign a new system from a description
update_architectureModify an existing architecture
get_architectureRead architecture details
list_architecturesBrowse all saved designs
analyze_codebaseScan local code and generate diagram
lint_architectureQuality checks (9 rules: orphans, SPOFs, god services)
sync_architectureDetect drift between diagram and code
get_spec_alignmentMid-implementation drift check — changed files in, spec context + drift signals out
export_architectureExport to 14 frameworks (Java, Python, Go, Rust, etc.)
create_flowCreate step-by-step flow visualization
Code Graph — Write (4 tools)
ToolDescription
index_codeWalk a repo, Tree-sitter locally, start a semantic indexing job
index_code_continueResume an in-progress indexing job
record_semantic_nodePersist an agent-extracted semantic annotation
get_index_jobCheck status of an indexing job
Code Graph — Read (13 tools)
ToolDescription
query_symbolsFuzzy trigram search across indexed symbols
find_referencesEvery resolved caller of a symbol — refactor-safety primitive
safe_renamePatch plan (definition + every call site) for renaming a symbol
explain_codebaseAgent-ready narrative walkthrough of a whole repo
get_symbol_neighborsBFS traversal in the call/import graph
get_service_code_graphSubgraph for a canvas service
explain_code_pathShortest path between two symbols with semantic context
find_similar_codepgvector cosine ANN over agent-generated embeddings
record_embeddingPersist an agent-generated embedding vector
list_god_nodesHighest fan-in/out symbols (architectural smells)
get_quality_hotspotsChurn × complexity ranking
list_snapshotsTime-travel listing of indexed snapshots
diff_snapshotsFiles / symbols / god-nodes added/removed between snapshots
Enrichment — Contracts, Decisions, Ownership, Domains (9 tools)
ToolDescription
set_service_mappingLink an indexed file or symbol to a canvas service
set_domain_membershipAssign a service or file to a domain (bounded context)
record_contractStore a parsed API contract payload (OpenAPI, GraphQL, Protobuf)
bind_contractLink a contract to the symbol that implements it
record_decisionCreate an Architecture Decision Record, optionally linking code
link_decisionAppend a link from an ADR to another symbol, file, or service
get_ownershipResolve the owner (team or person) for a file or service
get_decisions_forList ADRs linked to a given entity
get_contractsList contracts, optionally filtered by kind or service

Setup

Option 1: SSE (zero install)

Add to your IDE's MCP config — no local install needed:

Cursor (Settings > Features > MCP > Add Server):

{

"tentra": { "type": "sse", "url": "https://trytentra.com/api/mcp?key=YOUR_API_KEY" } }

Claude Code (.mcp.json in project root):

{

"mcpServers": { "tentra": { "type": "sse", "url": "https://trytentra.com/api/mcp?key=YOUR_API_KEY" } } }

Option 2: Local install (needed for codebase scanning)
npx tentra-mcp

Authenticates automatically via GitHub on first use. Credentials are saved to ~/.tentra/credentials.

Cursor config for local server:

{

"tentra": { "command": "npx", "args": ["tentra-mcp"] } }

Claude Code (.mcp.json):

{

"mcpServers": { "tentra": { "command": "npx", "args": ["tentra-mcp"] } } }

Usage Examples

Once connected, just talk to your AI:

"Design a payment system with Stripe, Kafka, and PostgreSQL"

→ AI calls create_architecture → diagram at trytentra.com/arch/xxx

"Scan this codebase and generate the architecture" → AI calls analyze_codebase → detects services, DBs, queues

"Export this architecture to Java Spring Boot" → AI calls export_architecture → downloads zip with project scaffold

"What changed since last time? Is my diagram outdated?" → AI calls sync_architecture → drift report with accuracy score

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

Development

This repo contains the open-source MCP server. The Tentra API and web app are a separate hosted service at trytentra.com.

npm install --legacy-peer-deps

npm run build # tsc --noEmit + esbuild bundle → dist/index.js npm start # run the bundled server npm test # vitest

The published npm package (tentra-mcp) ships only the bundled dist/ — source is here for auditability and community contributions.

License

MIT

问 PopNx