GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Catch TypeScript API and OpenAPI contract drift in AI-generated code, then revalidate it in CI.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"evidrift": {
"command": "npx",
"args": [
"-y",
"evidrift",
"mcp"
]
}
}
}ターミナルでこれを実行します
claude mcp add evidrift -- npx -y evidrift mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"evidrift": {
"command": "npx",
"args": [
"-y",
"evidrift",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"evidrift": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"evidrift",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月9日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント bm1016bm-svg で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.4.0)がレジストリに届いたのは4 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
English | 繁體中文
Failures arrive noisy. APIs drift quietly. Evidrift turns both into deterministic evidence.
Evidrift has two deliberately separate workflows:
Local-first CLI. STDIO MCP server for contract recording only. No account, cloud backend, telemetry, or LLM judge.
The animation is rendered from a captured CLI transcript. The PASS, changed signatures, affected file, and deterministic FAIL come from an actual local evidrift demo run; only the scene headings are editorial.
Requires Node.js 22 or newer. The zero-setup demo starts a disposable loopback server, verifies one HTTP failure, minimizes its JSON request, verifies the result again, and shuts the server down:
npx --yes evidrift@latest repro-demo
The result is not selected by an LLM. Every accepted reduction is actually replayed and must match both the expected HTTP status and error identity.
For your own local endpoint:
npx evidrift minimize \
--request failing-request.json \ --status 500 \ --response-pointer /error/code \ --response-equals '"INVALID_FILTER"' \ --output minimal-repro.json \ --confirm-replay yes
Then replay the content-addressed artifact once:
npx evidrift reproduce --artifact minimal-repro.json --confirm-replay yes
See the complete ReproMin fixture, guarantees, and replay safety boundary.
Requires Node.js 22 or newer. Nothing to install globally:
npx --yes evidrift@latest demo
The command creates a disposable local fixture, records the optional options parameter on parseConfig, checks it successfully, changes the fixture so options is required, then proves that evidrift check catches the mismatch. It runs no downloaded package code.
If that is a failure you want caught before merge, [star Evidrift on GitHub](https://github.com/bm1016bm-svg/evidrift).
useRefThe synthetic demo is fast; this source-repository lab proves the same workflow against a real, documented ecosystem change. React's official upgrade guide says React 19 makes the first useRef argument required. Evidrift records the no-argument overload from @types/react@18.3.12, upgrades only that type package to @types/react@19.0.1, and reports the missing overload:
git clone https://github.com/bm1016bm-svg/evidrift.git
cd evidrift npm ci --ignore-scripts npm run demo:react-19
Both package versions are exact and verified after installation. The lab disables dependency lifecycle scripts, and its final evidrift check must return a deterministic contract mismatch. See the reproduction and complete trust boundary and the official React 19 upgrade guide.
| Surface | Deterministic evidence | Status |
|---|---|---|
| Loopback HTTP JSON failure | Replayed reduction matching status plus error identity | CLI only |
| Installed TypeScript dependency | Selected call signature, parameter, package version, and declaration | Supported |
| Repository OpenAPI / JSON Schema | Canonical value selected through an RFC 6901 JSON Pointer | Supported for JSON |
| Contract CLI and local STDIO MCP | The same record and revalidation core | Supported |
Remote replay, cURL import, YAML, remote $ref | None; Evidrift refuses these inputs instead of guessing | Not supported |
Initialize the current repository without a global install, account, API key, or cloud backend:
npx --yes evidrift@latest init
To add an idempotent pull-request workflow with file-and-line annotations:
npx --yes evidrift@latest init --github-actions
The initializer detects npm, pnpm, or Yarn, adds scripts.evidrift:check, and creates .github/workflows/evidrift.yml. Existing scripts and workflows are reported and preserved instead of being overwritten.
To pin Evidrift for a team or CI workflow:
npm install --save-dev evidrift
npx evidrift init
That is the product: make an AI assumption reviewable now, then make CI check the same contract later.
The dependency must already be installed inside the target repository, and the affected code path must name a real file.
cd /path/to/your/repository
evidrift init
evidrift record \ --project . \ --package your-package \ --symbol exportedFunction \ --parameter options \ --claim "exportedFunction accepts the options used here." \ --code src/caller.ts:12
evidrift check
When --code includes a line containing an overloaded call, Evidrift asks TypeScript which overload that call actually resolves to. --overload remains an explicit fallback for incomplete or non-compiling call sites.
Lock one value from a repository-local OpenAPI or JSON Schema document:
evidrift record \
--json openapi.json \ --pointer /paths/~1users/get/operationId \ --claim "The generated client calls listUsers." \ --code src/client.ts:24
JSON Pointer follows RFC 6901, including ~1 for / and ~0 for ~. Evidrift reads .json files only; it never fetches URLs or resolves remote references.
Coding agents call the same core through evidrift_record and evidrift_record_json_pointer. Minimal Codex, Claude Code, and Cursor setup is included.
flowchart LR
Author["Developer"] --> Minimize["Minimize failing JSON"] Minimize --> Replay["Replay loopback failure"] Replay --> Repro["Content-addressed reproduction"] Agent["Coding agent or developer"] --> Record["Record one assumption"] Record --> Adapter["TypeScript or JSON adapter"] Adapter --> Receipt["Content-addressed Receipt"] Receipt --> Review["Git review"] Review --> Check["evidrift check in CI"] Check --> Result{"Contract still matches?"} Result -->|Yes| Pass["PASS"] Result -->|Source unavailable| Warn["WARNING"] Result -->|No or tampered| Fail["FAIL"]
The CLI and MCP server are thin entry points over the same core. The complete component map, check policy, resource bounds, and trust boundary are documented in Architecture.
Evidrift writes one lock and one immutable JSON file per Receipt:
.evidrift/
evidence.lock receipts/ <64-character-sha256>.json
There is no .evidrift/receipts.json. evidence.lock contains only content-addressed Receipt IDs:
{
"receipts": ["sha256:9bfbb065cff372abe52e8e269123959e9f2ae84cd02230dc751f768ac5e4c274"], "schemaVersion": 1 }
Each Receipt stores the claim and affected code plus one deterministic contract: an installed TypeScript symbol signature, or a repository JSON path, pointer, canonical value, and hashes. See the Receipt schema.
Generate the package script and read-only pull-request workflow:
npx evidrift init --github-actions
The generated package script pins the current Evidrift release:
{
"scripts": { "evidrift:check": "npx --yes evidrift@0.4.1 check" } }
Run the same pinned check locally with npm run evidrift:check.
The generated workflow installs locked repository dependencies with lifecycle scripts disabled, then runs the Marketplace Action. Contract mismatches and integrity failures become PR errors at the affected file and line; source-change and unavailable-evidence results become warnings.
evidrift check --annotations github
With --format json, GitHub workflow commands are written to standard error so standard output remains valid JSON. The complete GitHub Actions setup documents the generated workflow, permissions, package-manager behavior, and manual setup.
The root action.yml provides a Marketplace-ready contract check. It runs only the network-free contract workflow; ReproMin replay is never triggered by that Action.
evidrift check does not trust saved matched or verified flags. It validates the Receipt, reloads the source, and recomputes the selected signature or JSON value.
| Result | Meaning | Exit |
|---|---|---|
PASS | The deterministic signature or JSON value still matches | 0 |
WARNING source_changed | Source identity/content changed, but the selected contract matches | 0 |
WARNING unverifiable | Source is missing, invalid, or cannot be inspected | 0 |
FAIL contract_mismatch | Selected TypeScript signature or JSON value changed/disappeared | 1 |
FAIL evidence_integrity | Lock or Receipt is malformed, missing, forged, or hash-invalid | 2 |
For CI systems, coding agents, and other tools, request a versioned JSON report without changing those exit codes:
npx evidrift check --format json
The report includes schemaVersion, the Evidrift version, summary counts, and the ordered CheckResult objects. It contains no timestamp or absolute repository root, so equal results serialize identically. See the JSON check report contract.
A one-line manual edit to a Receipt produces an actionable integrity report:
FAIL evidence_integrity sha256:...
Message: Receipt content hash mismatch. Receipt ID: sha256:... Action: Do not trust or hand-edit this Receipt. Restore it from version control, or intentionally create a new Receipt with evidrift record.
The project workflow runs the full gate on Linux and Windows with Node.js 22 and 24. Third-party Actions are pinned to full commit SHAs.
In
冒頭だけを表示しています。続きはリポジトリで読めます