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

Dunstan

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

安装

概览

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

Checks a coding agent's handback against the pull request's GitHub record. No model decides.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "dunstan": {
      "command": "npx",
      "args": [
        "-y",
        "dunstan",
        "mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add dunstan --env GITHUB_TOKEN=your-value -- npx -y dunstan mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "dunstan": {
      "command": "npx",
      "args": [
        "-y",
        "dunstan",
        "mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "dunstan": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dunstan",
        "mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • GITHUB_TOKEN 机密 env
    Optional fine-grained, read-only GitHub token; without it, public repositories are read anonymously.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Dunstan 安全吗?

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

它需要哪些密钥或代码?

你需要填写:GITHUB_TOKEN

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

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

替代选择

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

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

GitHub

作者:github

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

电脑或云端★ 34,245MIT3天前更新
安装

Desktop Commander

作者:wonderwhy-er

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

在你的电脑上运行★ 10,225MIT15天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

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

Dunstan

Verify an AI coding agent's pull request claims, with a verdict anyone can rerun. The agent says which files it changed, which tests ran and which issues it closed; Dunstan checks each claim against the pull request, its commits and its CI runs, and reports the verdict as a check run. Every verdict comes with a record: dunstan verify recomputes it offline and dunstan rerun re-reads the sources, so a reviewer or customer can check it themselves. Deterministic, no LLM.

Add it to a workflow; the agent's report goes in the pull request body (npx -y dunstan template --base main writes the block for you):

on:

pull_request: types: [opened, edited, synchronize, reopened, ready_for_review] permissions: contents: read pull-requests: read issues: read deployments: read checks: write actions: read jobs: handback: runs-on: ubuntu-latest steps:

  • uses: BargLabs/dunstan@v0.1.16 # pin the full commit SHA in production with: report-source: pr-body

More in docs/action.md.

Dunstan holds a coding agent's completion report to the record.

An agent finishes and writes a handback: files changed, tests run, references closed, head commit, merged at. Dunstan reads a declared block in that handback and checks each claim against the repository's own record (pull request state, changed files, commits, CI runs) with deterministic checks. It writes a record anyone can re-run on their own machine and get the same verdict.

  • No model decides pass or fail.
  • Fail closed: a claim the record cannot answer is unverifiable, never a pass by absence.
  • Evidence, not a gate: Dunstan returns a record; your branch protection decides what blocks.

The claim format, the block an agent declares and the record Dunstan writes, is an open specification: spec/claim-format.md, with JSON Schemas in spec/schema/ and examples in spec/examples/. A record is an in-toto Statement. How it reads in in-toto, SLSA and PER terms, and what does not carry over: docs/interop.md (informative; no export exists).

Use with Claude

Dunstan ships as a Claude Code plugin: three MCP tools and a skill that has Claude declare, check and report a pull request's handback before it says done (plugins/dunstan/).

Install. In Claude Code:

/plugin marketplace add BargLabs/dunstan

/plugin install dunstan@barglabs

The plugin runs the MCP server with npx -y dunstan@0.1.16 mcp, the dunstan npm package at that exact version: one self-contained file, no dependencies.

The token. When you enable the plugin, Claude Code asks for an optional GitHub token and keeps it in your system's secure credential store. Use a fine-grained personal access token with read-only permissions, limited to the repositories you check, with an expiry; the permissions are in docs/mcp.md. Leave it empty to read public repositories anonymously. Two kinds of claim need a token, even on a public repository: GitHub's GraphQL API refuses anonymous calls, so a closes reference is unverifiable, never fail; and GitHub answers an artifact download only with a token (401 "Requires authentication" anonymously, observed 2026-11-02), so a tests count is unverifiable (source_unreadable:artifact). The plugin never reads a token from your environment.

What it reads, and from where. The server runs on your machine and calls GitHub's API directly from it: the pull request, its changed files, commits, check runs, workflow runs and test artifacts, deployments, and the issues the block references. Every request is a read. Nothing is written to GitHub or to the repository, and nothing is sent to Barg Labs.

Try it. Three prompts on a public Barg Labs pull request:

  1. Use Dunstan to check this handback for BargLabs/cejel#408: head commit 35d6201d00cf926f9af10df61bfec05b6624ee12, files changed .github/workflows/verify-published-windows-binary.yml and scripts/validate-distribution-metadata.mjs, merged at 2026-10-04T13:30:48Z. Every claim holds, so the verdict is pass.
  2. Before I report BargLabs/cejel#408 as done, use Dunstan to list the claims in this report that my handback block does not declare: followed by the report and its dunstan-handback block. Dunstan lists each prose claim the block leaves out, such as a test count or a closes, with the field that would declare it. It is never a verdict.
  3. Use Dunstan to check whether BargLabs/cejel#408 closes #407, with head commit 35d6201d00cf926f9af10df61bfec05b6624ee12 and the same two files. Without a token the closes row is unverifiable (source_unreadable:closing_references): the record could not settle it, which is not the same as false. With a token it is pass.

Support. GitHub issues or team@barglabs.ai. Privacy and terms.

The checker

pnpm install && pnpm build          # writes dist/dunstan.mjs and prints its SHA-256

Check a pull request against the report it names (exactly one report source).

GITHUB_TOKEN=... dist/dunstan.mjs check --repo --pr --report-pr-body --out record.json

or --report-file , or --report-comment-author (that author's latest comment)

dist/dunstan.mjs verify record.json # offline: recompute claims, verdict and digests dist/dunstan.mjs rerun record.json # online: re-read the sources, report evidence_changed

Exit codes: 0 pass, 1 fail, 2 unverifiable, 3 no record: a usage error, a pull request that cannot be read or that moved while it was checked and again when checked once more (pull_request_moved), or an internal error (verify: 0 verified, 1 not). --sign-key --signer writes the record as its JCS bytes with a detached SSH signature; verify --sig --allowed-signers checks it.

dist/dunstan.mjs mcp serves the same checker as an MCP tool, dunstan_check_handback, which an agent calls with its block before it says done, beside dunstan_suggest_declarations (below): docs/mcp.md.

checker.digest in a record is the SHA-256 of dist/dunstan.mjs, the single-file bundle that ran: the checker code, its dependencies and both schemas from spec/schema/, inlined at build time.

What Dunstan does not check

Dunstan checks the claims a handback declares against the record. It does not check that the handback covers what the issue asked for: an accurate report of the wrong work passes.

What to declare: docs/agents.md.

Survey: how much of a repository's handbacks can be checked

dunstan survey (DRAFT) runs dunstan check over a repository's recent closed pull requests and reports settleability: which claims the record could not settle, why, and what would let it settle them. It is read-only and needs no token to start.

dist/dunstan.mjs survey --repo <owner/name> --last 30 [--author <agent-login>] --out survey.json --summary survey.md

dist/dunstan.mjs verify survey.json # offline: every embedded record, the selection, the aggregate and the digest

It reports two rates, each with its numerator, denominator and Wilson 95% interval:

  • the share of claims the record could not settle, (unverifiable + not record-checkable) / all claims, led by a table of the reasons, each with its remedy;
  • the share of settled claims the record contradicts, contradicted / (supported + contradicted).

With --advisory it also runs the advisory prose reader and counts its notes in a table of their own. Advisory notes never enter either rate. A tests claim can be settled only with GITHUB_TOKEN set and a JUnit record that CI uploads: GitHub serves no artifact to an anonymous reader, and a test run CI never recorded, or a local run declared as one, is not record-checkable. The survey record says whether it read with a token, and an anonymous survey's summary says its cannot-settle share is higher for it. The survey measures what the record can settle. A survey record is unsigned: verify proves it consistent with itself and every embedded record valid, not that its listing is what GitHub returned, so to trust its completeness, run it again online. Details: docs/survey.md.

Declare before done

Checking a declared claim is exact. Finding the claims in prose is where readers fail: a hosted model judge clears far fewer false reports once it is handed the right paragraph, and Dunstan's own extractor missed the planted false claims it was tested on. Both fail at the reading, not at the checking. The agent that wrote the report is its best reader, and it is still there before handback. So Dunstan makes the block nearly free to write, then asks the author about the prose the block does not cover:

dist/dunstan.mjs template                         # the block for HEAD, filled from local git

dist/dunstan.mjs suggest --report-file report.md # prose claims the block does not declare

template fills headCommit and filesChanged (HEAD against its merge base with the remote's default branch, or --base). With --tests-ci it fills tests from the JUnit record CI published at HEAD, read as the gate reads it; with --tests-local it declares a local run as one (below). It never fills references or mergedAt, and when git cannot answer it prints no block. suggest runs the advisory extractor over the prose outside the fence and lists each claim it proposes that the block does not declare, to declare or reword. It is never a verdict, writes nothing to a record and always exits 0; the MCP server offers it as dunstan_suggest_declarations. The loop, an instruction block to copy into AGENTS.md or CLAUDE.md, and example output: docs/agents.md.

Make test claims checkable

Most claims about tests in a completion report ("all tests pass", "142 passed") cannot be checked from a repository's records today: the tests ran on the agent's machine, or CI ran them and published no counts. Dunstan settles a tests claim only against a JUnit file a CI run uploaded. Two changes make such claims checkable:

  1. CI publishes the record. One upload step after the test command: an artifact named dunstan-junit holding junit.xml, uploaded even when the tests fail. Recipes for pytest, jest, vitest, Maven, Gradle and Go, with dunstan junit-merge for runners that write one file per test class: docs/ci-test-records.md.
  2. The agent declares CI's counts. After CI has finished on its last push, dunstan template --tests-ci --tests-command --tests-workflow --tests-job reads the counts from that record, as the gate will, and declares them. A run made only locally is declared with --tests-local as {"kind": "local"}, which the gate reports unverifiable (local_run_not_in_record), never pass.

Reading the artifact needs a token: without one a tests row is unverifiable (source_unreadable:artifact). Each tests row the record cannot settle is printed with a remedy: line saying what to do.

The GitHub Action

One step in a workflow, one required check in branch protection:

permissions: { contents: read, pull-requests: read, issues: read, deployments: read, checks: write, actions: read }

steps:

  • uses: BargLabs/dunstan@ with: report-source: pr-body # or comment: , or file:

It writes a dunstan check run on the head commit whose summary is the claims table, the record as the artifact dunstan-record, and the same table in the job summary. Only pass concludes `succes

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

问 PopNx