pega-code-review
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., "@pega-code-reviewList all branches in the Pega application"
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.
Pega Code Review MCP Server
MCP server for exploring Pega branches and fetching full rule XML (LSA-style reviews).
Auth: Uses your existing browser session (no client ID / secret).
Tools
Tool | Purpose |
| List available branches |
| List rules inside a branch |
| Fetch full XML of a rule by |
| Fetch XMLs of referenced rules |
Related MCP server: graphward
How to get your session token
Open your Pega app in the browser and log in normally.
Open DevTools (F12) → Network tab.
Click any API request (look for
/api/or/prweb/).In Request Headers find
Authorization: Bearer ...Copy the whole value (including
Beareror just the token).
Alternatively copy the cookies from Application → Cookies.
Config
PEGA_BASE_URL=https://your-pega-instance.com/prweb
PEGA_ACCESS_TOKEN=Bearer eyJhbGciOi...Claude / Cursor config
{
"mcpServers": {
"pega-code-review": {
"command": "python",
"args": ["/absolute/path/to/pega-code-review-mcp/server.py"],
"env": {
"PEGA_BASE_URL": "https://your-pega-instance.com/prweb",
"PEGA_ACCESS_TOKEN": "Bearer eyJhbGciOi..."
}
}
}
}Note: Tokens expire. When tools start failing with 401, just copy a fresh token from the browser.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Repository knowledge graph MCP server for codebase understanding and debugging.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
MCP server for visual regression testing: triage a PR's UI diffs from your coding agent.
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP Server for Git operations, agent templates, and project utilities.955 npmMIT
- AlicenseNot gradedqualityBmaintenancePrivate, local-first code intelligence MCP server that builds a static graph of repositories and exposes search, architecture, impact analysis, and review tools via MCP.MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for git archaeology — churn hotspots, blame summaries, bus factor, commit forensics and file history over any local repository.2MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that provides coding agents with structured repository context, including graph-based navigation, dependency analysis, runtime flow tracing, and configuration surface across supported stacks.27 npmMIT