Gatefile
Overview
Description from the maker (original English)
Extract a repo's contribution gates into machine-readable contribution-gates.json.
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi2 of 2 passedChecked from public information; code not scanned yet
- UsageiVery new↓ 77/wk · ★ 0
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Developer tools
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 2 of 2 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- The registry lists no key to fill in.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"gatefile": {
"command": "npx",
"args": [
"-y",
"@reneturcios/gatefile",
"mcp"
]
}
}
}Run this in your terminal
claude mcp add gatefile -- npx -y @reneturcios/gatefile mcpOr copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"gatefile": {
"command": "npx",
"args": [
"-y",
"@reneturcios/gatefile",
"mcp"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"gatefile": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/gatefile",
"mcp"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 10, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account CloudCorpRecords, which owns the repo
- ✓ Pass
Still maintained
Code last changed 15 days ago
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Developer toolsi
- More stars than 0% of the other 5727 servers in this category
- Published to the registry more recently than 62% of the other 5727 servers in this category
- Basic checks equal to or better than 100% of the other 5727 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Gatefile safe?
It passed 2 of 2 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed 15 days ago, and the latest version (0.1.4) reached the registry 15 days ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js, Docker on your computer.
What can I use instead?
In the same category: REA, Netdata, Front-End Checklist
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
gatefile
Hidden contribution gates, extracted into a file machines can read.
Every repo hides its real rules for outside contributors: comment before you start, wait to be assigned, sign off your commits, get vouched, sign a CLA. Today you discover those rules by getting your PR auto-closed. gatefile extracts them from the repo's own docs into contribution-gates.json, a machine-readable format that tools (like Greenlight) and CI can consume.
The problem
A contributor picks an issue, writes the code, opens the PR, and a bot closes it: "you were not assigned", "unvouched authors are auto-closed", "missing Signed-off-by". The rules were always in CONTRIBUTING.md, buried in prose, different on every repo. Maintainers repeat the same corrections; contributors waste the same evenings.
What gatefile does
- extract: reads CONTRIBUTING.md, PR and issue templates, DCO/CLA workflow files, lefthook hooks, and CLA files (from the GitHub API or a local directory) and emits the gates it finds, each with a real quoted line as evidence. In API mode, a repo with no CONTRIBUTING file or no PR template of its own also inherits the organization level default from the org's
.githubrepository, exactly the fallback GitHub itself applies; inherited files are labelledowner/.github:ingeneratedFromand as the gate source, and a repo file always wins over the org default for its group. - validate: compares a committed
contribution-gates.jsonagainst a fresh extraction and reports drift (STALE, MISSING, SEVERITY_CHANGED). Exit code 1 on drift, so CI can enforce it. - badge: renders a README snippet that tells humans the gates in plain language.
The contribution-gates.json format
{
"version": 1, "repo": "shadcn-labs/pdfcn", "generatedFrom": ["CONTRIBUTING.md"], "gates": [ { "id": "claim_first", "kind": "claim_first", "severity": "blocker", "evidence": "Comment before starting work, and check the thread first in case someone else is already working on it.", "source": "CONTRIBUTING.md" } ], "conventions": { "branchNaming": "Name your branch feat/block-name", "prTitleFormat": "PR titles should follow Conventional Commits", "requiredChecks": [] } }
Gate kinds
| kind | severity | meaning |
|---|---|---|
claim_first | blocker | Comment on the issue before starting work |
assignment_required | blocker | Wait to be assigned before opening a PR |
discuss_first | blocker | Open a discussion or issue before coding |
issue_first | blocker | Every PR must be tied to an issue |
vouch_required | blocker | An existing member must vouch for you |
collaborators_only | blocker | Only repo collaborators may open PRs |
no_direct_prs | blocker | Direct PRs are not accepted |
dco_required | warn | Commits need a Signed-off-by trailer (DCO) |
cla_required | warn | A Contributor License Agreement must be signed |
Severity: blocker gates can get a PR closed or rejected before review. warn gates can be fixed after the PR opens. Evidence is always a real quote from the source file, trimmed to about 140 characters, never invented.
Run it with Docker
gatefile also ships as a container image on GHCR: ghcr.io/cloudcorprecords/gatefile.
Use it as a stdio MCP server:
docker run -i ghcr.io/cloudcorprecords/gatefile
Any CLI command can be passed after the image name instead of the default mcp argument:
docker run ghcr.io/cloudcorprecords/gatefile <command> [args]
Usage
CLI
# Extract gates from a repo (GitHub API, GITHUB_TOKEN optional)
gatefile extract shadcn-labs/pdfcn
Extract from a local clone instead (fully offline)
gatefile extract local --local ./pdfcn --out contribution-gates.json
Validate the committed file against fresh docs, exit 1 on drift
gatefile validate shadcn-labs/pdfcn --file contribution-gates.json
Print a README snippet for humans
gatefile badge shadcn-labs/pdfcn
MCP server
Add to your MCP client config:
{
"mcpServers": { "gatefile": { "command": "node", "args": ["/path/to/gatefile/dist/mcp.js"] } } }
Tools:
| tool | inputs | what it returns |
|---|---|---|
extract_gates | repo or localPath | the full contribution-gates.json object |
validate_gates | recorded, repo or localPath | { ok, drift[] } |
gates_badge | repo or localPath | README markdown snippet |
CI example
Keep the gates file honest in a GitHub Actions workflow:
name: gates
on: pull_request: paths: ["CONTRIBUTING.md", ".github/**", "contribution-gates.json"] jobs: validate: runs-on: ubuntu-latest steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4 with: { node-version: 20 }
- run: npx -y gatefile extract ${{ github.repository }} --out /tmp/fresh.json
- run: npx -y gatefile validate ${{ github.repository }} --file contribution-gates.json
Development
npm install
npm test # tsx --test, offline, 35 tests npm run build # tsc to dist/ npm run dev -- extract owner/repo --json
TypeScript ESM, Node 20+, zod for schemas, native fetch for the GitHub API. Tests use real-world fixtures in test/fixtures/ modeled on documented cases (comment-before-starting plus DCO plus issue-first; assignment-first; vouch-only; permissive).
License
MIT, Rene Turcios 2026.
The toolkit
This tool is one of four in a lifecycle for open-source contribution work, all published under the @reneturcios npm scope and each available as a CLI and an MCP server ( mcp):
- gatefile (
npx @reneturcios/gatefile) extracts a repo's contribution gates into a committedcontribution-gates.json. - greenlight (
npx @reneturcios/greenlight) pre-flights issues (GO / RISKY / TAKEN / GATED / STALE), consumes gatefile's output incheckandscan, then claims, preps, and opens PRs. - claimcheck (
npx @reneturcios/claimcheck) watches for stale claims and fixes parked on forks. - prwatch (
npx @reneturcios/prwatch) triages your open PRs by what needs you right now.