pega-code-review
MCP server for exploring Pega branches and fetching full rule XML for LSA-style code reviews.
README
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 |
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.