CodePeel MCP Server
OfficialClick 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., "@CodePeel MCP Server Review my recent changes for bugs"
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.
CodePeel MCP Server
AI code review tools for Claude Code, Cline, Roo, and other MCP-compatible agents.
What it does
When you're vibe coding with an AI agent, CodePeel acts as a second opinion β reviewing the generated code for bugs, security issues, and bad patterns before you commit.
Related MCP server: MCP Code Reviewer
Tools
Tool | Description |
| Review a diff for bugs, security issues, and best practices |
| Generate a fix for a specific code issue |
| Ask questions about code patterns, architecture, etc. |
| Check your account balance and usage |
Setup
1. Get your API token
Sign in at codepeel.com
Go to Settings β API Tokens
Click Create Token and copy the token (starts with
cpk_)
API tokens don't expire β they work until you revoke them.
2. Configure MCP
Add to your MCP config (.kiro/settings/mcp.json, claude_desktop_config.json, or Cline settings):
{
"mcpServers": {
"codepeel": {
"command": "npx",
"args": ["-y", "github:codepeel/mcp-server"],
"env": {
"CODEPEEL_TOKEN": "cpk_your_token_here"
}
}
}
}3. Use it
The AI agent will automatically have access to CodePeel's review tools. You can ask it to:
"Review my recent changes for bugs"
"Check this diff for security issues"
"Fix the null pointer issue in auth.ts"
"How many reviews do I have left?"
Example Usage
Review code changes
Agent: I'll review your changes using CodePeel.
[calls review_code with git diff output]
CodePeel found 3 issues:
π Potential null pointer in user.ts:45
π‘ Missing error handling in api.ts:23
π΅ Unused import in utils.ts:1Self-review during vibe coding
The AI can review its own output before presenting it to you:
You: Build a login form with validation
Agent: [writes code, then calls review_code on its own output]
Agent: I found a potential XSS issue in my implementation. Let me fix that...
[calls fix_code, applies the fix]
Agent: Here's the login form β I caught and fixed a security issue during generation.CLI Commands
npx -y github:codepeel/mcp-server init # Interactive editor setup
npx -y github:codepeel/mcp-server init-config # Generate .codepeel.yml
npx -y github:codepeel/mcp-server credits # Check your balance
git diff | npx -y github:codepeel/mcp-server review # Review from stdinEnvironment Variables
Variable | Required | Description |
| Yes | Your API token from Settings (starts with |
| No | API base URL (default: |
| No | Review endpoint URL (default: Firebase function) |
Troubleshooting
Error | Fix |
"Token expired" | You're using a Firebase ID token instead of an API token. Create a |
"Invalid token" | Check that your token starts with |
"No credits remaining" | Upgrade your plan or wait for credits to reset. |
License
MIT
Available Tools
4 toolsask_codepeelA
Ask CodePeel a question about code. Can analyze code patterns, explain issues, suggest improvements, or answer architecture questions. Optionally provide a diff for context.
Inputs: question (required), diff.
check_creditsA
Check your CodePeel account balance, plan tier, and usage for the current billing period.
Inputs: no named parameters.
fix_codeB
Generate a fix for a specific code issue. Provide the file path, problem description, and optionally the problematic code snippet.
Inputs: file (required), issue (required), problemCode, line, +1 more.
review_codeA
Review code changes for bugs, security issues, and best practice violations. Pass a unified diff or file contents. Returns findings with severity, explanation, and suggested fixes.
Inputs: diff (required), repo.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: general Q&A, credit checking, bug fixing, and code review. No overlap.
All tool names follow a consistent verb_noun pattern (ask_codepeel, check_credits, fix_code, review_code).
4 tools is appropriate for this code assistance server, covering key actions without being too many or too few.
The set covers asking questions, checking account, fixing, and reviewing code. Minor gaps like listing code might exist, but the ask tool can bridge them.
Related MCP Connectors
Security reviews for coding agents: diffs checked against your org policy and live infrastructure.
Guardian agent for AI coding: four frontier models review risky diffs and commits before they ship.
Lets coding agents check their own code for leaked secrets, risky dependencies and AI-code mistakes
Software factory for AI agents: issue and PR reviews, auto-fixes, stacked PRs and a merge queue.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceEnables code reviews, implementation planning, and pull request generation for AI agents in IDEs like Cursor and Windsurf.1MIT- AlicenseNot gradedqualityDmaintenanceEnables AI-powered code review and improvement, including analysis, refactoring suggestions, and automatic test generation, with an optional agentic loop for iterative refinement.MIT

Selvageofficial
AlicenseNot gradedqualityDmaintenanceEnables AI-powered code review of Git diffs through natural language, supporting multiple AI models and Git workflows.25 PyPI36Apache 2.0- AlicenseDqualityDmaintenanceEnables AI agents to perform security audits on pull request diffs by detecting secrets, dangerous code patterns, and new dependencies, outputting structured JSON for generating PR review comments.1MIT