Skip to main content
Glama
zotodev

pega-code-review

by zotodev

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

pega_list_branches

List available branches

pega_get_branch_rules

List rules inside a branch

pega_get_rule_xml

Fetch full XML of a rule by pzInsKey

pega_get_referenced_rules

Fetch XMLs of referenced rules

Related MCP server: git-mcp

How to get your session token

  1. Open your Pega app in the browser and log in normally.

  2. Open DevTools (F12) → Network tab.

  3. Click any API request (look for /api/ or /prweb/).

  4. In Request Headers find Authorization: Bearer ...

  5. Copy the whole value (including Bearer or 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

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • A MCP server built for developers enabling Git based project management with project and personal…

  • MCP server for hex.pm and hexdocs.pm: search, inspect, compare, and audit Elixir packages

  • Read-only MCP server for ClassQuill, a tutoring-business-management platform.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zotodev/pega-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server