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

ovecc

作者:Ovecc-labs版本 0.3.1i★ –i在你的电脑上运行
注册名称io.github.Ovecc-labs/ovecc

安装

概览

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

Architecture guardrails for AI-written code: dependency graph, impact, dead code, CI gate

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

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

安装之前

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

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

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

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

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

在终端中运行这条命令

claude mcp add ovecc -- npx -y ovecc mcp

在 Cursor 中打开

或者自己复制设置

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

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

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "ovecc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ovecc",
        "mcp"
      ]
    }
  }
}

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

ovecc 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有: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、图片和脚本已被移除。链接会离开本站。

CLI-first architecture intelligence: understand your codebase, then hold it to the rules you set.

Rust, one binary, no runtime. Runs offline, with no LLM in the loop.


What is Ovecc

Ovecc reads your repository once and builds a persistent model of it: every file, import, symbol, and call. From that single index it answers the questions you ask about a codebase:

  • What breaks if I change this? (impact)
  • Where are the dependency cycles and the tight coupling? (query, summary)
  • What is duplicated, dead, or over-complex? (dupes, deadcode, health)
  • What is insecure, and which dependencies have known CVEs? (security, audit)
  • Where is the churn, and who owns this code? (hotspots)

It is an architecture database with deterministic commands, driven from the CLI, from CI, or by a coding agent over MCP.

React's dependency graph, rendered by ovecc export graph --html into a single file you can open directly, no server or CDN needed.

What it costs an agent

Asking whether a new import closes a dependency cycle, on zod, with Claude Sonnet 4.6:

TokensCost
Agent reading files528,865$1.63
Agent + ovecc over MCP58,906$0.22

One run, one model, one question, and agent runs are not deterministic. Method and the cases where ovecc loses are in docs/benchmark/BENCHMARKS.md.

Write your architecture down, and hold the code to it

Most tools stop at reading the code. Ovecc goes one step further: you write down which parts of your codebase are allowed to depend on which, in one small file, and every build checks the real code against it.

Here's one for a small app:

# .ovecc/architecture.toml

[[component]] name = "api" paths = ["src/api/**"] depends_on = ["core"] # the api may use core, nothing else

[[component]] name = "features" paths = ["src/features/**"] depends_on = ["core"] slices = true # and features may not import each other

[[component]] name = "core" paths = ["src/core/**"] deny_capabilities = ["network"] # pure domain: no fetch, no I/O max_cyclomatic = 8 # keep core functions simple

Run the check and every breach comes back with a file and a line:

$ ovecc architecture check

Divergences (1): [High] api -> features is not in the contract src/api/routes.ts:2 (../features/billing/service)

Slice isolation breaches (1): [High] features/billing -> features/users breaks slice isolation src/features/billing/service.ts:1 (../users/repo)

Denied capabilities used (1): [Medium] core uses denied capability 'network' src/core/pricing.ts:3 (fetch)

Complexity budgets exceeded (1): [Medium] core: 1 function over the cyclomatic budget src/core/pricing.ts:8 (cyclomatic 11 > 8)

Four kinds of decay caught in one run: a layer reaching where it shouldn't, a feature tangling into its neighbor, a network call inside code you promised was pure, and a function creeping past the budget you set. Put ovecc architecture check in CI and the pull request fails on the drift, instead of a reviewer noticing three months later, or nobody noticing at all.

Don't have one yet? ovecc architecture suggest recognizes the architecture you already follow (Feature-Sliced, bulletproof-react, Clean/Hexagonal, an Nx workspace) and writes the file bound to your real folders. Or ovecc architecture init drafts it from your actual import graph, so day one starts green and you tighten from there. The details are in the contract reference below.

Install

npx ovecc index .

npm pulls only the binary for your platform. npm i -g ovecc keeps it on your PATH.

Prebuilt binaries are also on the latest release: Linux x86_64 and aarch64, Windows x86_64, macOS arm64. There is nothing else to install: DuckDB is bundled, there is no runtime, and it works fully offline. A rolling dev build ships on every push to main.

The macOS binary is unsigned, so Gatekeeper quarantines it when a browser downloads it. Clear the flag once and it runs:

xattr -d com.apple.quarantine ./ovecc-macos-aarch64

curl and npm don't set that flag, so npx ovecc never runs into it.

Build from source

Builds with stable Rust (on Windows use the windows-gnu toolchain; DuckDB is compiled from source on the first build). The step-by-step Windows setup is in docs/dev/SETUP.md.

cargo build --release

cargo test --workspace

The binary is ovecc (crates/ovecc-cli).

Quick start

ovecc index .                 # parse, resolve, and persist the model into .ovecc/

ovecc summary # coupling, density, cycles, risk score ovecc advise src/server.ts # the agent-facing surface: findings for one file, each with a fix ovecc diagnose # named architectural smells, evidence + curated remediation ovecc history max_cyclomatic # trend one metric across every index run — is it getting better? ovecc violations # architecture + security findings, with file:line ovecc violations --write-baseline # accept today's backlog; later runs surface only what is new ovecc metrics # per-component fan-in/out, instability, abstractness, distance ovecc components # the components the graph recovers, and what they hold ovecc coupling # files that change together but do not import each other ovecc security # secrets, insecure patterns, weak crypto, tainted flows ovecc audit # offline OSV dependency vulnerabilities ovecc impact Billing # blast radius of a change ovecc hotspots # churn x coupling x ownership debt ranking ovecc dupes # duplicated code (clone families), with file:line ovecc health # functions over the complexity thresholds (oxc) ovecc deadcode # unused exports + unreachable files (oxc + reachability) ovecc fix # apply the mechanical fixes for those findings (dry-run by default) ovecc query "cycles" # real elementary dependency cycles (A -> B -> A) ovecc report # one-shot architecture report (markdown or json) ovecc gate # CI gate: fail a PR on new cycles / violations ovecc review # the named new defects a change introduced (file:line + cycle witnesses) ovecc architecture init # draft .ovecc/architecture.toml from the graph, or a --template ovecc architecture check # gate the code against the contract, with file:line ovecc architecture suggest # recognize which architecture the repo already follows ovecc export graph --html # interactive dependency-graph viewer, one self-contained offline file ovecc capabilities # machine-readable contract: commands, metrics, rules, exit codes ovecc mcp # MCP server over stdio: expose every command as an agent tool

If you only ever run three of these, run advise before editing a file, diagnose instead of violations (same findings, plus the fix and when *not* to act), and history to see whether the codebase is improving. summary prints these as a footer, because a list read once loses to output read every run.

Every command renders as text, json, ndjson, or markdown via --format (plus sarif for GitHub code scanning and codeclimate for GitLab Code Quality) and returns stable exit codes for CI. The full per-command reference, with real output, is in docs/COMMANDS.md. For pull requests, the repo ships a drop-in GitHub Action that indexes base and head, comments the review findings on the PR, and gates on severity.

The architecture contract in depth

.ovecc/architecture.toml is your intended architecture as code. Each component claims files by path glob; depends_on is the allow-list of what it may import. ovecc architecture init writes the first draft from the graph you already have, so every entry mirrors a real import and day one has zero violations. Prefer a known shape? init --template fsd (or bulletproof-react, nx-workspace, clean-architecture) drops in a reference architecture, and the diff against your code becomes your migration plan.

From then on, each run compares code to contract and names what it finds:

  • a divergence is an import the contract does not allow,
  • a bypass is an import that skips a component's declared public interface,
  • an absence is a dependency you declared but never actually use.

Three more checks read past the import graph (JS/TS):

  • slices = true isolates a component's sub-folders from each other, the rule behind Feature-Sliced Design and bulletproof-react, with FSD's @x public-API escape hatch honored.
  • deny_capabilities forbids a component the ambient powers that break purity: network, filesystem, storage, dom, process, time, random. A Date.now() in a pure domain comes back with its file and line.
  • max_cyclomatic / max_cognitive put a per-function complexity budget in the contract, so "keep the core simple" becomes a rule the build can check.

Interfaces are virtual: you list a component's public entry files and ovecc enforces them on the real imports, so you get encapsulation without barrel files or an extra re-export layer.

Adoption is meant to be gradual. check --freeze records today's violations in a per-component baseline (one line each, so branches merge cleanly), gates only new ones from then on, and drops entries as you fix them so the count never climbs. Agents can read the contract before editing, through ovecc architecture show or the ovecc_architecture MCP tool.

Rules

Simpler, language-neutral policy lives in .ovecc/config.toml, is enforced at index time, and shows up in violations (and the gate CI check):

# Forbid a module-to-module dependency.

[[rules.boundaries]] name = "billing must not depend on user" source = "billing" target = "user" allowed = false severity = "high"

Ban imports by specifier pattern (exact, prefix*, *suffix, or *infix*).

[[rules.banned_imports]] name = "no-deprecated-lodash" pattern = "lodash" message = "use es-toolkit instead" severity = "medium"

Silence a single finding inline with // ovecc-ignore (or // ovecc-ignore-next-line, and # ovecc-ignore in Python) on the offending line; it is dropped at index time.

For CI and coding agents

Every command is built to run in a pipeline: pick a format with --format, rely on stable exit codes (0 clean, 1 a --fail-on threshold crossed, 2 and up a real error), and emit sarif or codeclimate for GitHub and GitLab. The drop-in GitHub Action wires review into pull requests.

The same analysis is available to coding agents over the Model Context Protocol. ovecc mcp runs an MCP server over stdio that exposes each command as a tool (ovecc_summary, ovecc_impact, `ovecc_archit

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

问 PopNx