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

trovex

作者:TsukumoHQ版本 0.16.1i★ –i在你的电脑上运行
注册名称io.github.TsukumoHQ/trovex

安装

概览

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

Serves coding agents one canonical doc per query instead of rereading the repo — ~60% fewer tokens.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "trovex": {
      "command": "uvx",
      "args": [
        "trovex",
        "mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add trovex -- uvx trovex mcp

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "trovex": {
      "command": "uvx",
      "args": [
        "trovex",
        "mcp"
      ]
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "trovex": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "trovex",
        "mcp"
      ]
    }
  }
}

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

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

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

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

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

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

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

常见问题

trovex 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.16.1)于43天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

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

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

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万17天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare广泛使用★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

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

trovex

trovex: one canonical doc for your coding agents, ~60% fewer tokens.

Your coding agents (Claude Code, Cursor, Windsurf, Zed, any MCP client) reread the repo every session to work out which .md is current, then answer from a guess. You pay for that on every session, every agent, every teammate.

trovex indexes your repo's markdown and exposes one MCP tool. Your agent asks a question; trovex returns the single current doc that answers it as a path:line pointer with a freshness marker (canonical / stale / duplicate), and serves just the section that answers instead of the whole file. Agents also write what they learn back through one shared point, so every agent and teammate reads the same source of truth instead of re-deriving it.

About 60% fewer tokens on doc lookups, measured at equal task-success on our own repo (it varies by yours). Runs locally: vectors in SQLite, embeddings via ONNX, no cloud or API keys.

What you're installing

A 30-second trust check, since the decision happens on the README, not the directory listing:

  • First-party, open source. Built and run in production by tsukumo, the team behind it. AGPL-3.0-or-later.
  • Local-first, nothing leaves your machine. Vectors in SQLite, embeddings via ONNX. No cloud, no API keys, no network call to answer a query.
  • Confined writes, no shell. Six MCP tools: three read-only (trovex, trovex_read, trovex_search) and three that mutate only trovex's own doc store (trovex_write, trovex_tag, trovex_delete). No shell execution, no writes to your source files.
  • The ~60% is reproducible. Measured at equal task-success on our own repo (median 69%, ~41–81% by repo, n=26, LLM-judged); trovex search prints the savings on yours. Full method at trovex.dev/measure.

Quick start

trovex is in public beta, on PyPI. No clone needed; uv tool install puts trovex on your PATH:

uv tool install trovex   # one-time, no clone

trovex setup # wire into Claude Code (skill + hooks + MCP); idempotent

trovex index /path/to/your/repo # index your markdown (~1 min) trovex search "how do we roll back a deploy?" # ask, prints the tokens it saved trovex serve # wire into your agent: MCP at /mcp, dashboard at /savings

Don't have uv? It's a one-line install: curl -LsSf https://astral.sh/uv/install.sh | sh (or brew install uv).

The search step is the fast way to see the point: it returns the one canonical doc and prints how many tokens that saved versus reading the top few candidates. Once trovex is wired into your agent over MCP, the same numbers accumulate on the savings dashboard at http://localhost:8765/savings.

Prefer not to install anything yet? uvx trovex search "..." runs a single command in a

throwaway environment, no install.

Wire it into your agent

trovex is an MCP server. Point your client at http://localhost:8765/mcp after trovex serve. Per-client setup (Claude Code, Cursor, Windsurf, Cline, Zed, Roo) is at trovex.dev/for.

Claude Code, one command. trovex setup installs the Claude Code skill, the Active-Memory hooks, and registers the MCP server in one step (idempotent, safe to re-run):

trovex setup

Restart Claude Code afterwards so it loads the skill + hooks. Prefer to wire just the MCP server by hand? trovex setup --no-skill --no-hooks, or:

claude mcp add --transport http trovex http://localhost:8765/mcp

For Cursor, one click (after trovex serve): Add trovex to Cursor

How it works

trovex turns your repo's markdown into one queryable, canonical store, then serves each agent the single current doc that answers a question, not a pile of candidates to rank.

flowchart LR

A["Your repo .md files"] -->|trovex index| B["Chunk + parse"] B --> C["Embed locally ONNX · bge-small"] C --> D[("sqlite-vec vector store")] Q["Agent question"] -->|MCP| E["Route + rerank"] D --> E E --> F["One canonical doc path:line + freshness"] F --> G["Agent answers from the current doc"]

Four ideas do the work:

  • Canonical, not complete. For each question there should be one doc that answers it. trovex marks every doc canonical / stale / duplicate, so retrieval can prefer the one that's still true: a stale doc is exactly as similar to a query as the current one, so similarity alone can't tell them apart.
  • Route, then serve the section. A query returns a path:line pointer to the one doc and just the section that answers, not the whole file, and not the top-k pile your agent would otherwise read and rank itself. Closing that gap is where the tokens are saved.
  • Local by default. Indexing, embeddings (ONNX, bge-small-en-v1.5) and vector search (sqlite-vec) all run on your machine. No cloud, no API key, no network call to answer a query.
  • A shared write-back path. Agents store what they learn once (trovex_write) in trovex's own store; every other agent and teammate reads it back (trovex_read) instead of re-deriving it.

The read-and-write loop that keeps every agent on the same source of truth:

sequenceDiagram

participant A as Agent participant T as trovex (MCP) participant S as Store (sqlite-vec) A->>T: trovex("how do we roll back a deploy?") T->>S: route + rerank candidates S-->>T: one canonical doc T-->>A: path:line + section + freshness A->>T: trovex_write("rollback runbook: …") T->>S: upsert (dedupes near-copies) Note over S: the next agent reads it back via trovex_read

Prove it on your own repo

The ~60% is a claim you can run, not a number to take on faith. Two commands:

trovex bench /path/to/your/repo          # token-accounting model, instant, no LLM, no key

trovex bench /path/to/your/repo --eval # full answer+judge A/B at equal task-success (needs OPENAI_API_KEY)

bench reports the distribution (median + spread), not a best case: the cost of reading the one routed canonical doc versus the top-k candidates an unaided agent would read. --eval goes further: both arms answer, an LLM judges, and a saving counts only when both answer correctly. Full method and our own numbers are at trovex.dev/measure.

Already running trovex through the md-guard hook? trovex measure compares your real .md token consumption before and after, from the hook's baseline log.

Dev notes: the claims eval harness

bench --eval above answers "does trovex still get the right answer" per-query, one arm vs the other. trovex eval-harness (src/trovex/eval_harness.py) is the release-gate version of that idea: a versioned cases.jsonl set, retrieval quality (hit@k/MRR/recall@k, free) plus a weighted rubric score (correctness35/autonomy25/actionability20/safety10/concision10, blind — the judge never sees which config produced an answer), a $ budget cap, and resumability.

make eval                                                          # retrieval-only, no key, CI-safe

uv run trovex eval-harness . --gate --budget-usd 1.0 --resume run.jsonl # full rubric pass, needs OPENAI_API_KEY

--retrieval-only (what make eval runs) never calls an LLM — it gates purely on hit@1 against benchmarks/token-savings/eval-baseline.json. The full rubric pass needs a key, so it's a manual/CI-secret-gated run, not part of make test. The bundled cases.jsonl (47 cases) and eval-baseline.json thresholds are versioned in benchmarks/token-savings/ — the baseline is a placeholder until it's been run once for real and the numbers copied in deliberately (the file is never auto-overwritten by a run).

MCP tools

  • trovex(q): route a question to the right on-disk .md and get back path:line pointers with freshness markers, not a pile of files to rank.
  • trovex_write(content, kind?, doc_id?, tags?, section?) / trovex_read(query | doc_id, section?): docs owned *inside* trovex. An agent stores a record (an incident, a decision, "what actually worked") once; every other agent and a second dev read it back as content (optionally just one section) instead of re-deriving it. Pass section= to trovex_write to patch one heading's section in place instead of replacing the whole doc.
  • trovex_search(query, k?, tags?): passage-level retrieval across the store with tag filters, for when you want the top matching chunks rather than one canonical doc.
  • trovex_tag(...) / trovex_delete(...): tag or soft-delete a stored doc; delete is a recoverable archive, not a hard wipe. Both touch only the trovex store, never your files.

Humans read trovex-owned docs at /doc/{id} in the rendered reader. To make agents route .md writes through trovex_write instead of the disk, install the PreToolUse hook deploy/hooks/trovex-md-guard.sh and carve out exceptions in .trovexignore.

How it compares

  • vs CLAUDE.md / AGENTS.md: one static file that goes stale and can't route a question to the right doc, vs many docs kept canonical and served per query. More.
  • vs repomix / files-to-prompt: pack the whole repo into the window vs retrieve the one answer. More.
  • vs a vector DB / plain RAG: a ranked pile of candidate chunks with no freshness signal vs one current doc with an explicit marker. More.

The reasoning behind the ~60% number is written up in the benchmark methodology.

Stack

  • Python 3.11 + uv
  • FastAPI (MCP HTTP + server-rendered HTML UI)
  • fastembed (local embeddings, ONNX under the hood)
  • sqlite-vec (vector search in SQLite)
  • Jinja2 + HTMX (UI, no build step)

Embeddings: local by default, bring your own

trovex embeds locally out of the box with BAAI/bge-small-en-v1.5 (ONNX, 384-d). No API key, nothing leaves your machine. You can swap in any embedder:

  • Another local model: TROVEX_EMBED_MODEL= plus TROVEX_EMBED_DIM= if it's not a built-in.
  • An OpenAI-compatible endpoint (incl. a local server like Ollama, LM Studio, vLLM): TROVEX_EMBED_PROVIDER=openai, TROVEX_EMBED_MODEL= , TROVEX_OPENAI_BASE_URL=http://localhost:11434/v1, TROVEX_EMBED_DIM= . Point it at localhost and you stay fully local; point it at OpenAI (text-embedding-3-large) for stronger retrieval at the cost of sending each chunk to OpenAI's API.

Changing the model changes the vector dimension, so switching requires a reindex.

Public beta

trovex is in public beta. Install it, run it on your repo, and if it saves you tokens a GitHub star helps other devs find it. Issues and PRs welcome.

Questions, or comparing notes with other people running agents? Join the community on Discord: tsukumo.ch/discord.

Security

trovex is local-first and single-tenant: it runs on your machine, indexes your docs, and serves your agents. Mutations are gated behind the X-TROVEX-Write-Token header, and the defau

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx