RepoGuardian 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., "@RepoGuardian MCP ServerCheck the health and risks of the GitHub repo owner/repo."
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.
RepoGuardian
powered by RHD - Repository Health Director
Autonomous Engineering Intelligence. Evidence-grounded decisions. Human-controlled execution.
Connect a GitHub repository. RHD investigates its issues, pull requests, source code, releases, engineering risks and repository health using agentic RAG, deterministic multi-agent orchestration, specialized model governance and evidence-grounded reasoning.
RHD analyzes automatically. RHD recommends automatically. Humans authorize external actions.
Related MCP server: GithubMCP
Live Application
Public web app: https://repoguardian-rhd.vercel.app
FastAPI: https://repoguardian-rhd-api.vercel.app
API docs: https://repoguardian-rhd-api.vercel.app/docs
Architecture: https://repoguardian-rhd.vercel.app/architecture
RHD v4 Mission Control: https://repoguardian-rhd.vercel.app/mission-control
RHD v5 Chat Workspace: https://repoguardian-rhd.vercel.app
Demo repository: https://github.com/romil569/RepoGuardian-Demo
Public v5.1 flow: paste a GitHub repository into the home chat, run analysis, wait for the persisted job stages to complete, then review the inline SVG architecture artifact and ask follow-up questions in the same repository context.
Architecture
flowchart LR
G[GitHub] --> W[Webhooks / Sync]
W --> Q[Event Queue]
Q --> RI[Repository Intelligence]
RI --> S[(SQL + Vector + Graph)]
S --> AR[Agentic RAG]
AR --> RHD[RHD Supervisor]
RHD --> A[Specialist Agents]
A --> ML[ML / DL Intelligence]
ML --> EC[Evidence Critic]
EC --> PG[Policy Gate]
PG --> HR[Human Review]
HR --> GA[GitHub Action]Deployment modes:
LIGHTWEIGHT_LOCAL: SQLite, local vectors, deterministic/RHD tools.INDUSTRY_LOCAL: optional Docker PostgreSQL/Redis when Docker exists.MANAGED_CLOUD: Vercel frontend, Vercel Python FastAPI backend, Neon PostgreSQL/pgvector, Postgres queue.ENTERPRISE_AWS: Terraform foundation; not provisioned.
Feature Matrix
Feature | Status | Notes |
RHD Agent | Working | Repository review, Ask RHD, priorities, evidence trace |
RHD v5.1 Chat Workspace | Working | Paste a public GitHub repository, run a persisted serverless analysis job, restore context after reload, and continue grounded follow-up questions |
Deterministic Architecture Artifacts | Working | Mermaid/SVG diagrams generated and persisted from synchronized repository tree, source files, code symbols, and repository evidence |
Multimodal Attachment Readiness | Partial | Upload UI and capability reporting; direct image understanding requires configured multimodal provider |
Voice Controls | Partial | Optional browser UI affordance; text workflow remains primary |
RHD v4 Agent Mesh | Beta | Read-only supervised agents with persisted run/step traces and policy gating |
Agentic/Hybrid RAG v3 | Implemented | Query planner, hybrid retrieval, score fusion, deterministic reranking, grounding critic |
Code-RAG | Beta | Static code scan/symbol graph foundations; serverless filesystem scanning stays disabled |
Graph-RAG | Beta | PostgreSQL-backed graph rows and evidence paths; separate graph database is not required |
MCP Server | Implemented | stdio tools/resources/prompts over shared RHD tool registry |
PR Risk | Beta | Deterministic risk, blast-radius, reviewer hints and test recommendations from synced PR/code-symbol evidence |
Issue Intelligence | Working | Duplicate, completeness, priority, security, release correlation |
Security Signals | Working | Secret redaction and injection guard; not vulnerability certification |
Incident Intelligence | Beta | Repository-scoped timelines and cautious hypotheses; correlation is not causation |
Release Intelligence | Working | Temporal correlation wording, no causation claims |
Repository Health | Working | Health score, dimensions, weekly brief |
Automation | Partial | Event/job foundations; no unrestricted autopilot |
Review Queue | Working | Approval, rejection, policy validation |
Audit | Working | Safe summaries, no secrets |
Model Gateway | Working | Task-aware routing, Ollama local adapter, cloud config probes, deterministic fallback |
ML Registry / MLOps | Working | Honest model cards; no custom metrics without defensible datasets |
Managed PostgreSQL | Neon validated | Provider-neutral |
Serverless Queue | Implemented | Postgres job queue for Vercel; local fallback remains available |
Truthful capability levels:
Working: production-compatible and covered by regression tests.Beta: implemented as an additive v4 path and covered by tests, but depends on synced repository data quality.Partial: foundation exists, with explicitly documented constraints.Optional: requires local/configured provider; never claimed active in public cloud without configuration.Roadmap: documented only, not represented as shipped behavior.
Quick Start
Lightweight Local
cd C:\Users\HP\Desktop\RepoGuardian
copy .env.example .env
copy backend\.env.example backend\.env
.\scripts\start-dev.ps1Open http://127.0.0.1:3000.
Industry Local
cd C:\Users\HP\Desktop\RepoGuardian
.\scripts\start-industry-local.ps1
.\scripts\doctor.ps1Docker PostgreSQL/Redis are used only when Docker is installed. Otherwise the stable lightweight path remains available.
Managed Cloud
Backend Vercel entrypoint: api/index.py.
Required backend environment:
DEPLOYMENT_MODE=MANAGED_CLOUDDATABASE_URL=postgresql://...POSTGRES_RUNTIME_MODE=managedQUEUE_BACKEND=postgresPUBLIC_ANALYSIS_MODE=trueGITHUB_WRITE_MODE=disabledFRONTEND_URL=https://...CORS_ORIGINS=https://...ENABLE_STARTUP_SCHEMA_CREATE=false
Frontend environment:
NEXT_PUBLIC_API_URL=https://your-fastapi-service.example.comSee docs/deployment-managed-cloud.md and docs/vercel-backend-audit.md.
MCP
cd mcp-server
npm install
$env:REPOGUARDIAN_API_URL="http://127.0.0.1:8000"
npm startMCP exposes RHD tools, resources, and prompts. Write-gated actions remain human/policy gated. See docs/mcp.md.
Testing
cd backend
.\.venv\Scripts\python -m pytestcd frontend
npm run lint
npm run typecheck
npm run build
npm run e2ecd mcp-server
npm run typecheck
npm testSafety
Repository writes are allow-listed and require human approval.
Public repositories are analyzed in read-only mode unless policy explicitly allows writes.
Private repositories default to local/deterministic processing.
Issue text, comments, README files, code, and PR descriptions are treated as untrusted evidence.
Evidence must correspond to synchronized repository records.
Frontend
NEXT_PUBLIC_variables never contain backend secrets.Audit logs store safe summaries, not secrets or private reasoning.
Current Limits
Managed PostgreSQL/pgvector is ready for credentials but not connected in this local run.
Redis is optional and not connected locally.
Docker remains optional and unavailable on the current machine.
qwen3:1.7bOllama was validated locally;qwen3:8bwas pulled but too slow for demo.ML/DL training is not claimed without a defensible labeled dataset.
Production is not marked validated until deployed infrastructure and live production testing exist.
Documentation
This server cannot be deployed
Maintenance
Related MCP Connectors
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Related MCP Servers
FlicenseAqualityDmaintenanceEnables AI agents to screen GitHub repositories and pull requests for risk analysis, generating risk scores, findings, and merge-readiness signals.5-- AlicenseAqualityBmaintenanceConnects AI assistants to GitHub repositories, pull requests, issues, commits, and code search while enabling repository visibility controls, CI/CD monitoring, sandboxed local filesystem access, and code quality/security analysis.131MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform GitHub analytics and management tasks, including repository analysis, PR summarization, issue triage, release notes generation, and contributor statistics.44 npmMIT
- AlicenseAqualityAmaintenanceEnables AI assistants to monitor GitHub repository health by calculating health scores, fetching repository metadata, analyzing Dependabot alerts, checking CI/CD status, and retrieving code scanning alerts.27227 npm1MIT