Running Automated Code Reviews Inside Claude Code and Cursor via Stdio MCP CodePeel released a local Model Context Protocol server, @codepeelai/codepeel, that plugs automated code review into Claude Code, Cursor, Cline and Roo over stdio via npx, opening no network ports. The server exposes four tools — review_code, fix_code, ask_codepeel and check_credits — plus credit-free queries of past PR reviews, and supports either a cpk_ API token or an interactive OAuth 2.0 PKCE flow bound to 127.0.0.1. The MCP server source is open on GitHub, and the company offers 30 free reviews per month. Waiting for a GitHub Actions runner or PR webhook after you push slows down your feedback loop. When you work alone, catching a security bug or regression before git commit saves you a round-trip. You can wire CodePeel https://www.codepeel.com directly into Claude Code, Cursor, Cline, or Roo using its local Model Context Protocol https://modelcontextprotocol.io server @codepeelai/codepeel . The server runs over standard I/O stdio as a child process via npx , so it opens zero network ports on your machine. You need Node.js 18+ and a cpk API token from your CodePeel MCP settings https://www.codepeel.com/app/settings?tab=api-tokens or you can use browser PKCE OAuth, covered below . On macOS or Linux: claude mcp add codepeel --env CODEPEEL TOKEN=cpk your token here -- npx -y @codepeelai/codepeel On Windows PowerShell: claude mcp add codepeel --env CODEPEEL TOKEN=cpk your token here "--" npx -y @codepeelai/codepeel That writes a standard mcpServers block you can also drop into Cursor or Cline: { "mcpServers": { "codepeel": { "command": "npx", "args": "-y", "@codepeelai/codepeel" , "env": { "CODEPEEL TOKEN": "cpk your token here" } } } } Restart Claude Code and run /mcp to verify the connection. If you run automated scripts or CI checks, pass CODEPEEL TOKEN in the env block. Invalid or expired tokens fail fast with an explicit error message. If you omit CODEPEEL TOKEN , the server runs an interactive OAuth 2.0 PKCE flow on the first tool call: S256 challenge. 127.0.0.1: