Back to Browse

Gitpin MCP Server

Developer ToolsModerate5.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Prove and verify multi-repo claims at Git HEAD: path, line, full SHA, no index.

About

Prove and verify multi-repo claims at Git HEAD: path, line, full SHA, no index.

Security Report

5.0
Moderate5.0High Risk

Valid MCP server (1 strong, 0 medium validity signals). 1 code issue detected. 4 known CVEs in dependencies (1 critical, 2 high severity) Package registry verified. Imported from the Official MCP Registry.

7 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

What You'll Need

Set these up before or after installing:

Path to a GitPin registry YAML listing local Git repository roots.Optional

Environment variable: GITPIN_REGISTRY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-shmindmaster-gitpin": {
      "env": {
        "GITPIN_REGISTRY": "your-gitpin-registry-here"
      },
      "args": [
        "-y",
        "gitpin"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

GitPin

Validate License: MIT Node.js Version MCP Protocol npm

Make agent-authored changes show exact evidence before merge.

GitPin is an agent-delivery assurance gate with a local evidence MCP. It makes material PR claims cover the actual diff and point to exact committed line slices. The local MCP supplies index-free, read-only, multi-repo evidence that humans and CI can re-check with git show.

Agent claim
    → pin.search_*   (candidates only)
    → pin.prove      (evidence pack: path + line + full SHA + content hash)
    → pin.verify     (git show re-check; HEAD match report)
    → you run: git show <sha>:<path>
Crowded categoryGitPin product
Vector / SQLite “repo context” serversNo embeddings, no DB, no reindex
Filesystem MCP (writes)Never writes indexed repos
One-shot repo dumpsLive prove → verify MCP loop
Grep hits as “the answer”Candidates → evidence pack → verification report
GitHub platform MCPLocal Git roots (private/offline)

Formerly RepoContext 0.3.x. See migration.

Required PR evidence gate

gitpin gate --base <full-base-sha> --head <full-head-sha>

The gate reads policy only from the trusted base commit, reads the submitted manifest only from the head commit, compares the merge-base diff, and verifies exact line-slice hashes. It never executes PR code and never labels a locator match as proof of semantic correctness. Use the GitHub Action and CrewScore named-control setup as a required check.

Release: publish a version-matched GitPin release across npm, the MCP Registry, GitHub, and Pages before announcing. Install: npx -y gitpin@latest. Node 20+.

GitPin is maintained by Sarosh Hussain, who leads the project's technical direction. Pendoah is his company and operating context; GitPin remains the product and repository.

Five-minute path

# From a committed Git repository
npx -y gitpin@latest init --client codex

init creates ~/.gitpin/repositories.yaml outside the repo, runs doctor, prints a first evidence line with full SHA, and paste-ready MCP config. It never edits the indexed repository.

# Independently verify any claim (same contract as pin.verify)
npx -y gitpin@latest verify \
  --repository my-service \
  --path docs/architecture.md \
  --line 42 \
  --sha <full-or-short-hex>

Product job

When agents invent file contents, mix dirty worktrees, or cite the wrong branch
You want every fact re-checkable with git show <sha>:<path>
GitPin registers local Git roots, serves HEAD-only docs/code, flags stale tracked docs, returns path / line / SHA, and closes the loop with pin.verify.

Agent tool surface (pin.*) — 12 read-only tools

JobTools
Discoverpin.catalog
Find candidatespin.search_docs, pin.search_code
Provepin.prove (primary), pin.prove_set (1–8 cites), pin.get_doc, pin.read
Verifypin.verify, pin.verify_set
Decidepin.analyzeEvidenceBrief
Inspect / diffpin.inspect, pin.compare

Resource: gitpin://catalog. Prompt: prove-with-git-head (forces the product loop).
Cite formats: docs/cite-spec.md. Agent skill template: templates/gitpin-skill.md.

Functionality that is the pivot (not a rename)

  • Evidence pack (pin.prove): claim binding, line slice, full SHA, contentSha256, citation.cite / handle, next-step verify.
  • Multi-cite sets (pin.prove_set / pin.verify_set): stable evidenceSetId for multi-repo answers and CI.
  • Verification report (pin.verify / CLI): independent git show; optional mustContain claim-text; status includes contradicted.
  • Candidates, not claims: search returns kind: evidence-candidates with forced next: pin.prove.
  • EvidenceBrief: multi-repo knownFacts / gaps / stable evidenceSetId (schema v2).
  • Dirty exclusion: uncommitted work is never cited as HEAD evidence.

Explicit non-goals

  • Semantic / embedding search
  • Writing, committing, or pushing
  • Replacing GitHub Issues/PRs automation
  • Indexing non-Git umbrella folders as one “repo”

Configuration

VariablePurpose
GITPIN_REGISTRYRegistry YAML path (alias: REPOCONTEXT_REGISTRY)
GITPIN_MCP_TOKENHTTP bearer token (alias: REPOCONTEXT_MCP_TOKEN)
GITPIN_ALLOWED_HOSTSHTTP host allowlist (alias: REPOCONTEXT_ALLOWED_HOSTS)

Default registry: ~/.gitpin/repositories.yaml (falls back to ~/.repocontext/... if present).

Docs

Tools · Compare · FAQ · Migration · Clients · Architecture · Competitive landscape

Site: shmindmaster.github.io/gitpin. GitPin is the canonical product and repository name; legacy repocontext references exist only for migration compatibility.

Development

corepack enable
pnpm install --frozen-lockfile
pnpm validate
pnpm build
pnpm verify:package
pnpm site:test

License

MIT

Reviews

No reviews yet

Be the first to review this server!