Repository Inspector MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Repository Inspector MCP ServerReview the repo at /home/user/project and generate a Markdown report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Repository Inspector
This is a small TypeScript developer tool that inspects changes in a Git repository, runs optional validation commands, and produces a Markdown report. It can be used from a command line or exposed to AI clients through MCP.
Your task
Investigate the repository and improve it as you judge best. The starter works for a narrow happy path, but production use may expose correctness, safety, reliability, contract, output, documentation, or testing weaknesses.
You are not expected to finish everything. We care about how you investigate, prioritize, implement, verify, and explain a meaningful scope.
Related MCP server: repository-inspector
Product decision
This tool may be used directly by developers and by AI coding agents. Decide whether its production interface should be CLI-first, MCP-first, or hybrid. Implement improvements consistent with your decision.
There is no preferred label. Explain:
The primary user and execution environment you assumed.
The trust boundary and allowed capabilities.
Reliability, discoverability, latency/context, and output-size tradeoffs.
How the interfaces you continue to advertise stay behaviorally consistent.
What evidence would change your decision.
Time and rules
Maximum 90 focused minutes within 48 hours of receiving the invitation.
Use AI coding tools freely. Verify their work and document at least one suggestion you corrected or rejected.
Work in your own repository created from this template.
Commit as you work and complete
SUBMISSION.mdin your final commit.Completion is not required. Accurate scope and verification matter more than a large diff.
Setup
npm install
npm run typecheck
npm testCLI
npm run inspector -- review --repo ./path/to/repo --format markdown
npm run inspector -- review --repo ./path/to/repo --validate "npm test"The report is written to review-report.md.
MCP
Start the stdio server with:
npm run mcp-serverIt exposes a review_repository tool taking repo_path (required), base_ref
(optional), and validation_commands (optional array of shell commands).
MCP arguments can be steered by content inside the repository under review (prompt injection), so running validation commands over MCP is disabled by default. To enable it, the server operator must set both of these environment variables — setting only one leaves validation disabled:
INSPECTOR_ALLOW_VALIDATION=1INSPECTOR_VALIDATION_ALLOWLIST="npm test,npm run typecheck"— a comma-separated list of the exact commands permitted to run; anything else is skipped.
When validation is disabled or a command isn't on the allowlist, the tool
still returns a full read-only report; the skipped command is reported with
status: skipped and a reason instead of being silently dropped.
Project layout
src/core.ts shared review orchestration
src/cli.ts command-line adapter
src/mcp-server.ts MCP adapter
src/git.ts Git inspection
src/validation.ts validation execution
src/report.ts Markdown report generation
test/ public starter testsWhen finished, submit via Security → Report a vulnerability on this
repo — see SECURITY.md for exactly what to include. Do not reply by email;
that submission channel is not monitored.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI-native git hosting — repos, PRs, issues, CI gates, and AI code review over MCP (60 tools).
Remote MCP for AI Studio Android release gate MCP, structured receipts, audit logs, and reviewer-rea
Remote MCP for Gemini upgrade evals, prompt regressions, output diffs, and eval receipts.
Git-native policy layer for AI agents: check_action verdicts against rules approved via PR.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to inspect Git repositories for changes across committed, staged, unstaged, and untracked scopes, and run allowlisted validation commands with structured results.-
- FlicenseNot gradedqualityBmaintenanceMCP server that inspects Git repository changes, runs optional validation commands, and generates Markdown reports. Exposes a review_repository tool for AI clients to analyze repositories.-
- FlicenseBqualityCmaintenanceEnables secure, policy-controlled operations on local git repositories through MCP, including bounded reads, context-checked patches, allowlisted tasks, and guarded git operations.10-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search commits, retrieve diffs, and inspect file change history in a Git repository using MCP.10 npmISC