Package Exports
- @codepeelai/mcp-server
- @codepeelai/mcp-server/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@codepeelai/mcp-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
CodePeel MCP Server
Finds the bugs. Opens the fix.
AI code review tools for Claude Code, Cline, Roo, Cursor, and other MCP-compatible agents.
Same review engine that runs on 527+ GitHub PRs — 2,143 issues found in 29s average.
Tools
| Tool | Description |
|---|---|
review_code |
Review a diff for bugs, security issues, and best practice violations |
fix_code |
Generate a fix for a specific code issue |
ask_codepeel |
Ask questions about code patterns, architecture, or improvements |
check_credits |
Check your account balance and usage (free — does not consume a review) |
Prompts
| Prompt | Description |
|---|---|
review-staged-changes |
Pre-commit review: runs git diff --cached → review_code → reports findings |
security-audit |
Security-focused review prioritizing injection, secrets, auth, and unsafe data handling |
explain-and-fix |
Review → explain each finding → generate fixes. Accepts optional language argument |
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_)
2. Configure your editor
Claude Desktop
File: claude_desktop_config.json
{
"mcpServers": {
"codepeel": {
"command": "npx",
"args": ["-y", "@codepeelai/mcp-server"],
"env": {
"CODEPEEL_TOKEN": "cpk_your_token_here"
}
}
}
}Claude Code
File: .claude/settings.json
{
"mcpServers": {
"codepeel": {
"command": "npx",
"args": ["-y", "@codepeelai/mcp-server"],
"env": {
"CODEPEEL_TOKEN": "cpk_your_token_here"
}
}
}
}VS Code / Cursor / Cline / Roo
Add an MCP server with:
- Command:
npx - Args:
-y @codepeelai/mcp-server - Env:
CODEPEEL_TOKEN=cpk_your_token_here
3. Use it
The AI agent will automatically have access to CodePeel's review tools. 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?"
- Use the
review-staged-changesprompt before committing
Environment Variables
| Variable | Required | Description |
|---|---|---|
CODEPEEL_TOKEN |
Yes | Your API token from Settings (starts with cpk_) |
License
MIT