Skip to main content
Glama

dsh-rep-mcp

A stdio MCP server for REP v1 records: verify the seal, inspect claims, list sealed reports.

Any MCP client can now check a .rep.json file without running the whole harness — the same verifyRecordFile the dsh-rep-verify CLI uses, exposed as three read-only tools.

License Node

English · 简体中文


Tools

Tool

Input

Output

rep_verify

path, optional objectsDir

manifest seal, file hash, snapshot checks, anchor quote checks, issues

rep_inspect

path

record id, counts, manifest summary, every claim's verdict

rep_list

dir (default .)

*.rep.json files (cap 200) with id/counts

All three are read-only. There is no network access and no write path.

Related MCP server: VouchSpec Catalog MCP

Run it

# from a checkout
node lib/bin.js

# or from npm (after publish)
npx -y dsh-rep-mcp

The transport is MCP over stdio: one JSON-RPC message per line.

Use it from DSH

DSH's MCP panel accepts any stdio server. Add:

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

Then ask the agent to rep_verify the report it just produced. The same server works in any other MCP client (editor, desktop app, CI wrapper).

Example

{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"rep_verify","arguments":{"path":"report.rep.json","objectsDir":".research-rep/objects"}}}

rep_verify without objectsDir still checks the manifest seal and anchor quotes; snapshot bytes are reported as not checked.

What it does not do

  • No writing, sealing or repairing. It verifies and reports.

  • No network. No Crossref, no Zotero, no telemetry.

  • No semantic checking. Claim support is dsh-claim-check; this server reports what the record says.

  • No DSH plugin row. It is a standard MCP server; DSH consumes it through the MCP panel.

Development

npm install
npm run typecheck
npm test
npm run build
npm run verify:package

Tests drive the handler directly and also exercise the newline-delimited stdio loop; the fixture is a sealed REP record from dsh-research-core.

License

Apache-2.0. See LICENSE.

Available Tools

3 tools
rep_inspectB

Summarize a REP v1 record: ids, counts, claim verdicts and manifest summary. Read-only.

Inputs: path (required).

rep_listA

List *.rep.json records in one directory (cap 200), newest name order. Read-only.

Inputs: dir.

rep_verifyA

Verify a REP v1 record: manifest seal, snapshot hashes and anchor quotes. Read-only.

Inputs: path (required), objectsDir.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 3 tools

    Disambiguation4/5

    The three tools have mostly distinct purposes: listing records, inspecting summaries, and verifying integrity. However, rep_verify and rep_inspect both read and analyze a REP record, so an agent may briefly hesitate between them despite the clear description differences.

    Naming Consistency5/5

    All tools use the same rep_verb convention: rep_verify, rep_inspect, and rep_list. The naming is predictable and easy to scan.

    Tool Count5/5

    Three tools are well-scoped for a read-only REP record inspection server. Each tool maps to a distinct operation: listing, summarizing, and verifying.

    Completeness3/5

    The core read-only audit workflow is covered by list, inspect, and verify. However, there is no tool to retrieve the raw record or filter/search across records, which may limit agents that need deeper access than summaries and verification results.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      F
      maintenance
      Read-only ProofRelay MCP verifier for non-confidential evidence bundles. Exposes 22 public-safe tools, 11 resources, and 11 prompts for bundle integrity checks, receipt-chain review, checkpoint recommendations, MCP risk metadata review, and real-estate closing proof-pack readiness.
      5
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides read-only MCP tools to list archived snapshots, retrieve methodology and proof bundles, and verify supplied evidence bundles.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables proof-carrying project execution through a read-only remote MCP endpoint and WebMCP tools for managing Project Passports, task graphs, evidence-backed provider comparisons, route approvals, artifacts, verification records, and checkpoints without executing external providers.
      MIT