Skip to content
youdede

Repository Git read-only MCP

DevelopmentMCP serverv1.0.0

Installs a local stdio MCP server that runs only fixed read-only Git status, diff, and log forms in the current repository, strips Git environment overrides, and never contacts a remote.

Runs on

Scope
$npx @youdede/toolkit add repository-git-readonly --target claude-code

What it does

Expose bounded local Git status, diff, and history inspection through a pinned MCP server.

When it fires

  • implementation
  • maintenance
  • review

How it behaves

Serve three fixed bounded read-only Git inspection tools over local standard input and output.

It does not commit, stage, restore, reset, switch, merge, fetch, push, or mutate repository state.

It does not accept arbitrary Git flags, revisions, subprocesses, aliases, configuration, or environment overrides.

It does not contact remotes, read credentials, or claim that inspected history is authentic or trusted.

Configuration

server.jsonruntime · read-only

Version
1.0.0
Requires
runtime
Licence
RiskThis MCP profile exposes bounded local Git status, diff, and history inspection through a pinned MCP server; it does not commit, stage, restore, reset, switch, merge, fetch, push, or mutate repository state.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Deterministic and prompt
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyA call runs bounded local Git inspection and returns its collected output.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Not retained
In packs
  • MCP baseline

Often used with

All in Development