GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Architecture guardrails for AI-written code: dependency graph, impact, dead code, CI gate
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"ovecc": {
"command": "npx",
"args": [
"-y",
"ovecc",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"ovecc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ovecc",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Ovecc-labs で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.3.1)がレジストリに届いたのは3 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。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.
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:
impact)query, summary)dupes, deadcode, health)security, audit)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.
Asking whether a new import closes a dependency cycle, on zod, with Claude Sonnet 4.6:
| Tokens | Cost | |
|---|---|---|
| Agent reading files | 528,865 | $1.63 |
| Agent + ovecc over MCP | 58,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.
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.
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.
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).
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.
.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:
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.
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"
[[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.
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
冒頭だけを表示しています。続きはリポジトリで読めます