Skip to content
MCP server
Registry

guardfile MCP Server

Extract a repo's guardrails — DCO, CLA, changesets, sign-off — into one checkable report.

guardfile scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 1 tool. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 62 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by cloudcorprecordsMITTypeScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "cloudcorprecords-guardfile": {      "command": "npx",      "args": [        "-y",        "@reneturcios/guardfile@0.1.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools1Tool docs quality grade C

All capabilities

About

guardfile

A repo can claim all sorts of contribution guardrails — sign your commits, agree to the licence terms, add a changeset — but the claim only means something if you can point at the files that put each one in force. guardfile does that pointing: you hand it a repo's files, and it hands back one checkable report of which guardrails are actually present, with the evidence for each.

Four guardrails are detected, by fixed rules:

  • DCO — a file whose basename is exactly DCO (any case), or any content naming the Developer Certificate of Origin.
  • CLA — a file whose basename starts with CLA (any case, as in CLA.md), or any content naming the Contributor License Agreement.
  • changesets — a path containing .changeset/, a path ending in /.changeset, a path that is exactly .changeset, or any content naming the @changesets/ scope.
  • sign-off — any content carrying a Signed-off-by: line. The colon is part of the rule: a bare Signed-off-by mention does not count.

All content matching is case-insensitive. For each guardrail the report lists the paths that triggered it, sorted, with each path appearing at most once even when a single file triggers the same guardrail by both its path and its content. Alongside the four verdicts the report gives the number present, the names of the ones missing (in the fixed order dco, cla, changeset, signoff), and a complete flag that is true only when all four are present.

Malformed input — a missing or empty file list, an entry that is not an object, a missing, empty, or duplicated path, or content that is missing or not a string — is a validation error naming the offending path (for example files[1].content must be a string), and no partial report is produced. The computation is pure and local: no network, no configuration, and no files read beyond the input you pass in.

CLI

npx @reneturcios/guardfile extract --input args.json
npx @reneturcios/guardfile --version

args.json contains the full arguments object:

{
  "files": [
    { "path": "DCO", "content": "Developer Certificate of Origin\n\nVersion 1.1" },
    { "path": "docs/contributing.md", "content": "Please add a Signed-off-by: line." },
    { "path": ".changeset/bright-foxes-jump.md", "content": "---\n\"pkg\": patch\n---\n" }
  ]
}

The report is printed as JSON:

{
  "guardrails": {
    "dco": { "present": true, "evidence": ["DCO"] },
    "cla": { "present": false, "evidence": [] },
    "changeset": { "present": true, "evidence": [".changeset/bright-foxes-jump.md"] },
    "signoff": { "present": true, "evidence": ["docs/contributing.md"] }
  },
  "present_count": 3,
  "missing": ["cla"],
  "complete": false
}

Exit codes: 0 on success, 1 on a runtime error (including an unreadable or invalid input file, or invalid input), 2 on a usage error.

MCP server

npx -y @reneturcios/guardfile mcp

MCP client config:

{
  "mcpServers": {
    "guardfile": {
      "command": "npx",
      "args": ["-y", "@reneturcios/guardfile", "mcp"]
    }
  }
}

Tools

  • extract_guardrails — Extract a repo's guardrails from its files.

    • files (array, required, at least one) — repo files as {path, content} objects; path is a repo-relative path unique across the set and content is the file's content, which may be empty

    Returns {guardrails, present_count, missing, complete}.

Docker

docker run -i ghcr.io/cloudcorprecords/guardfile
docker run --rm -v "$PWD:/w" ghcr.io/cloudcorprecords/guardfile extract --input /w/args.json

Development

npm install
npm run build   # tsc -> dist/
npm test        # tsx --test test/*.test.ts (pure local, no network)
npm run dev     # run the CLI from source

License

MIT — Copyright (c) 2026 Rene Turcios

Frequently asked questions

What is guardfile MCP Server?

Extract a repo's guardrails — DCO, CLA, changesets, sign-off — into one checkable report.

How do I install guardfile MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. guardfile MCP Server runs locally from the npm package @reneturcios/guardfile with the command npx -y @reneturcios/guardfile@0.1.0.

Is guardfile MCP Server free and open source?

Yes. guardfile MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does guardfile MCP Server support remote (HTTP) connections?

No remote endpoint is listed for guardfile MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does guardfile MCP Server provide?

guardfile MCP Server provides 1 tool: extract_guardrails. See the full tool list for descriptions and parameters.

How is guardfile MCP Server's trust score calculated?

guardfile MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server