Loading...
Loading...
Stop copy pasting diffs into Claude. Build a Python MCP server that fetches your PR, runs structured LLM review, and posts inline comments back to GitHub, all callable from Claude Desktop or Cursor.
Message a mentor about fit, prerequisites, or where to start. Replies come on WhatsApp, usually within a day.
Engineers are learning here from
Build a production Model Context Protocol server that fetches pull request diffs, runs LLM-powered code review, and posts structured review comments back to GitHub. Exposes MCP tools any client like Claude Desktop or Cursor can call.
Build an MCP server that reviews GitHub pull requests end to end.
What you'll ship
What you'll learn
Curriculum
MCP server skeleton
Stand up a Python MCP server over stdio and wire it into Claude Desktop
fetch_pr_diff tool
Fetch unified diffs from GitHub with proper authentication, rate limit handling, and chunking
review_pr tool
Feed the diff to an LLM, parse structured JSON, and classify feedback by severity
ReviewComment schema
Model review comments with Pydantic and anchor them to the right file and line
post_review_comments tool
Write the review back to GitHub with idempotent behavior and clean dedupe
FastAPI inspector UI
Add a debug UI that replays any PR and recaps the full build
Who it's for
who have read the MCP spec but never built a server that talks to a real API
who want Claude Desktop to do useful work on their repos, not just answer questions
who want to expose internal tools to LLM clients through a standard protocol
FAQ
No. A free GitHub account with a personal access token that has repo scope is enough. You can test against your own public repositories.
The workshop ships with a provider abstraction that supports Fireworks, OpenRouter, Gemini, and OpenAI. You only need one API key to follow along.
It helps, because you will wire the server into Claude Desktop, but the FastAPI inspector endpoint lets you test every tool without any MCP client installed.
Yes. The server speaks stdio MCP, which Cursor and any other compliant MCP client understands. The config block is almost identical to Claude Desktop.
Pricing
Subscribe to Pro for every paid course, or buy just this one.
Unlock this course and every paid course plus workshop replays. One subscription.
You save 54% with regional pricing
One-time purchase. Lifetime access to every lesson, exercise, and update.
You save 47% with regional pricing
Still deciding? Ask Param a question
Building MCP servers for GitHub PR review
$79 one-time