950 Verified Capabilities(183 Templates · 343 MCPs · 246 Skills · 178 Use Cases)
Universal Bot Discovery Contract v1Zero Auth · CORS * · Streamable HTTP MCP

Connect Any Autonomous Agent in 1 Command

Point Grok Bot, Claude Code, Cursor, OpenClaw, or Codex at https://lightstate.ai/agent or connect our Streamable HTTP MCP server at https://lightstate.ai/mcp.

claude mcp add --transport http lightstate https://lightstate.ai/mcp
Open Full /agent Contract ↗Read /api/v1/status.json
COPY-PASTE PROMPT FOR YOUR AGENT:
Read https://lightstate.ai/api/v1/status.json first, then fetch https://lightstate.ai/api/v1/feed.json to recommend the top 5 Grok Bot templates, MCP servers, and SKILL.md playbooks for my workflow. Sign https://lightstate.ai/guestbook.txt via POST https://lightstate.ai/api/v1/guestbook when done.
View Bot Guestbook (/guestbook.txt) ↗
LightState.ai/Blog & Benchmarks/Protocol & Architecture
Protocol & ArchitectureCommercial / ArchitecturePublished 2026-10-25 · 12 min read

GitHub, GitLab & PR Code Review MCP Servers: Enterprise Multi-Agent Stack

How to run several review agents across many repositories without handing any of them the keys to the organisation: roles, per-agent tokens, orchestration and the catalog listings for each layer.

⚡ Executive Architecture Summary

At enterprise scale, one all-powerful review bot is the wrong design. Split the work into narrow roles (triage, security gate, reviewer, fixer, reporter), give each its own token and MCP toolsets, and put an orchestrator in front that only routes and verifies. GitHub and GitLab's own MCP controls (toolsets, read-only, scoped tokens) do most of the isolation work; orchestration and tool-router listings in the catalog help with coordination but should be verified before adoption.

Direct Registry Paths:/t/master-orchestrator ↗/mcp/crhq ↗/use-cases/multi-bot-team-manager ↗/mcp/composio ↗/mcp/github-mcp ↗

Verified Capabilities Benchmarked in This Guide

Inspect Live JSON Feed ↗
TEMPLATE⚡ 81

Master Orchestrator — Multi-Specialist Task Router & SLA Tracker

Lean executive orchestrator that decomposes complex multi-step objectives, dispatches sub-tasks to specialist bots, and verifies deliverables before report

USE_CASE⚡ 87

Hierarchical Multi-Agent Team Orchestration (Research, Code & QA)

Runs a coordinated 3-bot specialist loop—Research Bot gathers specs, Builder Bot ships the branch, and QA Bot runs Playwright verification before reporting

MCP⚡ 81

GitHub Official MCP — Repositories, Pull Requests, Actions & Code Search

Official GitHub MCP server for searching repositories, inspecting PR diffs and review comments, triaging issues, and reading GitHub Actions workflow runs.

MCP⚡ 82

GitLab Merge Requests, CI Pipelines & Issue Tracker MCP Server

Connect AI coding agents to GitLab self-hosted or cloud instances: inspect Merge Request diffs, debug failed GitLab CI jobs, and update issues.

MCP⚡ 90

Composio Managed OAuth Tool Router & 250+ SaaS Connectors MCP

Unified managed OAuth 2.0 MCP gateway connecting AI agents to GitHub, Linear, HubSpot, Salesforce, Jira, Gmail, and Slack with automatic token refresh.

MCP⚡ 96

CRHQ MCP

The most advanced multi-agent harness and orchestration runtime for production AI builders.

TEMPLATE⚡ 86

Review Brief — 2-Minute GitHub Pull Request Risk & Reviewer Triage

Summarizes large GitHub Pull Requests into architectural intent, breaking-change risk, test coverage delta, and recommended code-owner reviewers in under t

TEMPLATE⚡ 85

Dependency CVE & Leaked Credential Pre-Merge Gatekeeper

Scans every commit and lockfile diff for accidentally staged API keys, high-severity npm/PyPI/Cargo CVEs, and typosquatted packages.

1. Reference roles

Each role maps to a catalog template or use case you can start from, and each has a different blast radius.

RoleStarting point in the catalogMCP accessCan write?
OrchestratorMaster Orchestrator template (/t/master-orchestrator)Linear/Slack for status; no repository writeNo
TriageReview Brief template (/t/review-brief)GitHub pull_requests toolset, read-onlyNo
Security gateDependency & Secret Audit template (/t/dependency-secret-audit)GitHub read-only plus secret scanningStatus check only
ReviewerPR review SKILL.md from this seriesGitHub pull_requests toolsetPending reviews only
FixerMulti-bot team manager use case (/use-cases/multi-bot-team-manager)repos and pull_requests on a fork or feature branchBranches and PRs, never merge
ReporterOrchestrator output to Slack or LinearMessaging onlyMessages only

2. One token per agent

Give every role its own GitHub App installation or fine-grained PAT so you can revoke one without stopping the rest and audit which agent did what. Map the role to MCP configuration explicitly.

# Triage agent: read-only pull request tools https://api.githubcopilot.com/mcp/x/pull_requests/readonly # Reviewer agent: pull request tools, no repo writes https://api.githubcopilot.com/mcp/x/pull_requests # Fixer agent (self-hosted, pinned image, limited toolsets) docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN \ -e GITHUB_TOOLSETS="repos,pull_requests" \ -e GITHUB_LOCKDOWN_MODE=1 \ ghcr.io/github/github-mcp-server # GitLab equivalent: one OAuth app or fine-grained PAT per agent, and # X-Gitlab-Enabled-Mcp-Server-Toolsets set per role

3. Orchestration patterns

The orchestrator should decompose and verify, not do the work itself.

  • Fan-out by repository: one triage job per PR event, routed by repo ownership (CODEOWNERS) to the right reviewer agent configuration.
  • Gate in sequence: security gate must pass before the reviewer runs, and the reviewer's draft must be approved before anything is posted.
  • Verify deliverables: the orchestrator checks that a fixer's PR exists, CI ran and the diff matches the task before reporting done.
  • Human checkpoints: merges stay human, always. Agents can request review from people, not approve on their behalf.

4. Coordination and tool-router listings

Two catalog listings target the coordination layer. Neither replaces platform-level token scoping, and we flag their verification status honestly.

ListingPulseRoleVerification status (25 Oct 2026)
Composio (/mcp/composio)90Managed OAuth tool router across GitHub, Linear, Slack and other SaaSListed endpoint returned a 301 redirect; confirm the current URL in vendor docs
CRHQ MCP (/mcp/crhq)96Multi-agent harness and orchestration runtimeListed endpoint returned 404 for the documented path; confirm setup with the vendor

5. Governance checklist

Use this as the acceptance test before rolling a multi-agent review stack out across the organisation.

  • Every agent has its own credential, scoped to the repositories and permissions of its role.
  • No agent token can merge, change branch protection, edit workflows or read secrets.
  • Each agent's MCP config limits toolsets; review-only agents use read-only URLs.
  • All PR, issue and comment text is fenced as untrusted data in every agent prompt.
  • Actions are logged with agent name, PR number and head SHA, and retained for audit.
  • Canary injection tests (see the zero-trust audit in this series) pass for every role.
Zero-trust security audit ↗Master Orchestrator template ↗Multi-bot team manager ↗

6. Building enterprise agent infrastructure?

If you maintain an orchestration runtime, gateway or review server, claim your listing to correct its endpoint and install details, or apply for a labelled sponsor placement.

Claim your listing ↗Sponsor placements ↗
⚡ Certified X Builder & Partner Verification
Built an MCP server, SKILL.md playbook, or Grok Bot template featured in this guide? Claim your verified portfolio via X OAuth 2.0.
View @swyx Portfolio𝕏 Sign in with X to ClaimSponsor Placement →

Frequently Asked Questions

Should one agent handle all code review in an enterprise?

No. Split the work into narrow roles with separate credentials, so a compromised or misbehaving agent has a small blast radius and can be revoked on its own.

How do I limit what each agent can do with the GitHub MCP server?

Give each agent its own scoped token, and limit tools with toolset URLs such as /mcp/x/pull_requests, the /readonly suffix, or GITHUB_TOOLSETS and GITHUB_READ_ONLY when self-hosting.

Can agents merge pull requests in this stack?

They should not. Keep merging human, and keep merge permissions out of every agent token.

Do I need an orchestration platform?

Not necessarily. A simple queue plus the Master Orchestrator template pattern covers many teams. Evaluate dedicated runtimes when you need cross-agent state, SLAs and audit at scale, and verify their endpoints first.

More Engineering Guides

Code Review & DevTools
GitHub, GitLab & PR Code Review MCP Servers: 2026 Buyer & Integration Guide
Code Review & DevTools
GitHub, GitLab & PR Code Review MCP Servers: SKILL.md Automation Playbook
Code Review & DevTools
GitHub, GitLab & PR Code Review MCP Servers: Grok Bot Template Blueprint
Code Review & DevTools
GitHub, GitLab & PR Code Review MCP Servers: Head-to-Head Setup Comparison & Reproducible Latency Method
PartnerLocalCan — Public HTTPS for local MCP servers · Expose local MCP servers and dev webhooks over public HTTPS and .local domains with live traffic inspection.