Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Linters check your code. Invigil checks whether your repo is legible — to newcomers and AI agents.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"invigil": {
"command": "uvx",
"args": [
"invigil",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add invigil -- uvx invigil mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"invigil": {
"command": "uvx",
"args": [
"invigil",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"invigil": {
"type": "stdio",
"command": "uvx",
"args": [
"invigil",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 invigil 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.7.1)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, debuff
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Let coding agents play, test and tune your 2D web game: live state, explained errors, replays, fuzz.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Verify the path from installation to first successful use—for people and agents.
A package can install successfully and still fail its first useful command. Invigil combines repository-quality checks with a Cold-Start Gate that exercises declared operations and reports the evidence needed to diagnose failures.
New in development: verify an exact Python wheel before publication, outside the source checkout. The existing scorecard, published-artifact checks, and agent tools remain available. Wheel verification is unreleased; pip install invigil and the release pins below do not include it yet.
On Linux with Python 3.11+ and venv support, use the source-preview branch:
git clone --branch feat/wheel-first-use-preview https://github.com/invigil/invigil.git
cd invigil python3 -m venv .venv .venv/bin/python -m pip install -e . .venv/bin/python examples/first-use-demo/run.py
The demo runs offline and checks real wheels. Both install; one omits a required data file and fails its first-use command. Adding that file makes the same check pass. It prints the failure and saves JSON reports in a temporary directory. This is a synthetic example, not a claim about an upstream project's current release.
Demo details · Verify your own wheel · CI workflow template
The preview requires an explicit command and optional expected output. A successful run proves that operation worked in the recorded environment; it is not a general release-safety guarantee. Run unfamiliar artifacts in disposable workers without credentials—a Python venv is not a security sandbox.
*invigilate* — to watch over an exam and enforce its rules.
Invigil does not replace your existing tools; it covers the product-quality gaps they leave behind.
| Capability | Role |
|---|---|
| Repository scorecard | Checks documentation, configuration and quality conventions; suggests fixes |
| Published-artifact Cold-Start Gate | Exercises configured package/container operations and HTTP probes |
| Local-wheel first use (unreleased) | Verifies the candidate artifact; records its hash, phases and dependencies |
| Existing linters, scanners and tests | Continue checking code correctness and security alongside Invigil |
A clean-install smoke script can detect the same packaging defects. Invigil aims to make that workflow easier to configure and its reports consistent across projects.
The scorecard checks whether the project is legible to newcomers and agents. Every failing static check includes a suggested command or edit. Execution reports retain the failed step and output; they cannot infer every application's root cause.
The seven Gates cover onboarding, errors, artifact verification, supply-chain evidence, audience documentation, contribution and adoption. A grade summarizes implemented repository checks; it does not establish that an artifact was executed successfully. Use the Cold-Start Gate for execution evidence.
Published channels — pick the one that matches where you run it:
| Channel | Where it fits | One-liner |
|---|---|---|
| PyPI | local runs, Python-friendly CI | pip install invigil |
| GitHub Action | GitHub PRs | uses: invigil/invigil@v1 |
| Docker (ghcr) | GitLab, Jenkins, any non-Python CI | docker run --rm -v "$PWD:/repo" ghcr.io/invigil/invigil score /repo |
| pre-commit | offline checks on every commit | hooks invigil-layout, invigil-secrets (below) |
| MCP server | agents (Claude Code, any MCP client) | pip install "invigil[mcp]" → invigil mcp |
Every release ships all of it signed: cosign-signed wheel, sdist, and container image, plus an SPDX SBOM — verifiable with cosign verify against the GitHub OIDC identity.
These commands use the published scorecard. For wheel verification, use the source preview above.
Run it locally on any repo:
pip install invigil
invigil score . # human-readable scorecard + the exact fix for every failure invigil score . --format markdown # a PR-comment-ready table invigil score . --format json # machine-readable
Add it to CI as a report-only gate (posts a scorecard comment + badge, never blocks a PR):
# .github/workflows/quality-gate.yml
name: Quality gate on: [pull_request] permissions: { contents: read, pull-requests: write } jobs: invigil: runs-on: ubuntu-latest steps:
Flip enforce: "true" (or set project.enforce: true in .invigil.yml) when you're ready for it to block merges below the target gate.
Why the SHAs?
invigil/invigil@v1works and tracks the latest v1.x.y, but Invigil's own
actions-sha-pinnedcheck (G3) fails floating tags — including its own. Pin, and let
Dependabot bump the pins; the trailing comment is what it reads.
The action exposes the report and both badges as step outputs — pipe the scorecard into the job summary, publish the badge JSON wherever shields.io can reach it:
- uses: invigil/invigil@7f31330715bb7e42f26032ce3e921fcf78d4acea # v1.7.1
id: invigil with: { comment: "false" }
Two layers, matching the doctrine:
.env.example, a deep-health endpoint, a global error-id handler, SHA-pinned actions, an enforced lockfile, a coverage gate, a daily published-artifact smoke test, ≥5 good-first-issues, docs index, llms.txt/AGENTS.md, and more. Emits text / JSON / Markdown / a shields.io badge.invigil stranger) — on a clean runner, installs and boots configured published artifacts and probes their declared surfaces. The new local-wheel path additionally bounds setup/install/first use with one per-wheel budget and records phase results; legacy paths retain their behavior. Web services get HTTP probes; a CLI image (an artifact with a command:) is run to completion and must exit 0. One reusable workflow replaces the 60-line smoke-published.yml every repo copy-pastes:# .github/workflows/stranger-gate.yml
name: Cold-start gate on: schedule: [{ cron: "0 3 * * *" }] workflow_dispatch: jobs: stranger: uses: invigil/invigil/.github/workflows/stranger-gate.yml@7f31330715bb7e42f26032ce3e921fcf78d4acea # v1.7.1
The optional fix workflow applies mechanical fixes on a work branch and opens one batched PR. It uses invigil score --fix --pr-mode; protected-branch safeguards remain in place. Closing its PR without merging is respected until the work branch is deleted. See the CLI reference for configuration and limits.
Drop a .invigil.yml at the repo root. It's optional for the static scorecard (sensible defaults apply) and required for the Cold-Start Gate (it declares what to boot and probe). Full schema in schema/invigil.schema.json; examples in examples/.
version: 1
project: name: my-app language: python min_gate: G4 enforce: false artifacts:
probes:
boot_budget_minutes: 10
A gate developers bypass is dead weight, so Invigil is built for zero friction:
local/network/heavy. invigil check layout runs the filesystem checks with no network in ~120ms: # .pre-commit-config.yaml
Heavier, network-bound checks (scorecard, the Cold-Start Gate) stay in CI. invigil score --offline / --layer local / --group supply-chain slice it any way.
profile: strict | progressive | light, per-check weights, optional (ding without gating), thresholds.fail_on — make it *your* doctrine.→ The doctrine and the Gates covers both in full.
Legibility now has two audiences. The reader arriving cold at your repo is, more often than not, an AI agent: it has a context window instead of patience, exit codes instead of intuition, and it acts only on what the repo states machine-readably. The ai check group grades that surface — not just *presence* of llms.txt/AGENTS.md, but whether an agent can actually act on them:
| Check | The promise to the agent |
|---|---|
agents-md-actionable | Your AGENTS.md/CLAUDE.md contains runnable fenced commands, not prose |
llms-txt-shape | llms.txt is spec-shaped and fits a 10 KB context budget |
agent-context-fresh | Agent instructions aren't 90+ days staler than the source they describe |
readme-heading-hierarchy | The README chunks cleanly (one H1, real H2 sections) |
exit-codes-documented | A CLI's exit codes are enumerated — agents branch on codes, not prose |
llms-no-secrets | The machine-readable surface leaks no credentials |
agent-scope-visibility | Agent code declares its tool inventory (blast-radius precondition) |
Two artifacts fall out of it. `invigil score --format llm` — a deterministic report under ~1 KB, built to be read *by* an agent: a healthy repo costs it two lines of context. And an `ai-ready` badge, a shields.io endpoint you can put in your own README:
invigil score . --format ai-badge --output badges/ai-ready.json # commit this

In CI the Action emits it for you — steps. .outputs.ai-badge is the path to the same JSON.
##
只显示了开头部分;其余内容请在仓库中阅读