{"slug": "mcp-code-review-server-ai-code-review-in-your-editor", "title": "MCP Code Review Server – AI code review in your editor", "summary": "A new open-source MCP Code Review Server from AICraft enables AI-powered code review inside editors like Claude Code and Cursor, scanning for bugs, security flaws, performance issues, and style problems using OWASP Top 10, N+1 query detection, and race condition analysis. The tool, available under an MIT license, requires Python 3.11+ and an MCP-compatible client, and returns structured results with severity ratings.", "body_md": "Code review as an MCP server. Connect it to Claude Code, Cursor, or any MCP-compatible AI assistant.\n\n— Review any source code snippet for bugs, security, performance, and style`review_code`\n\n— Review a git diff for potential issues before merging`review_diff`\n\n— Review a local file by path`review_file`\n\nPowered by the same methodology as our Code Review Agent: OWASP Top 10 scanning, N+1 query detection, race condition analysis, and structured output with severity ratings.\n\n```\n# Add to your Claude Code MCP config:\nclaude mcp add code-review -- uvx aicraft-code-review\n```\n\nOr add to your `~/.cursor/mcp.json`\n\nor `claude_desktop_config.json`\n\n:\n\n```\n{\n  \"mcpServers\": {\n    \"code-review\": {\n      \"command\": \"uvx\",\n      \"args\": [\"mcp-code-review\"]\n    }\n  }\n}\npip install aicraft-code-review\npython -m mcp_code_review\n```\n\nOnce connected, ask your AI assistant:\n\n\"Review this Python code for security issues: [paste code]\" \"Review this diff before I commit: [paste diff]\" \"Review this file: /path/to/file.py\"\n\nThe AI will call the MCP server and return structured results.\n\n```\n## Review Results\n\n### 🔴 Critical (1)\n| Line | Issue | Category | Fix |\n|------|-------|----------|-----|\n| 42 | SQL injection via f-string | Security | Use parameterized queries |\n\n### 🟠 High (2)\n| Line | Issue | Category | Fix |\n|------|-------|----------|-----|\n| 15 | Unvalidated user input | Security | Add input validation |\n| 78 | N+1 query in loop | Performance | Add select_related |\n\n### Summary\n- **Critical**: 1 — must fix\n- **High**: 2 — should fix\n- **Medium**: 0\n- **Info**: 0\ngit clone https://github.com/GoodJobwilliam/aicraft\ncd aicraft\npip install -e \".[dev]\"\npython -m mcp_code_review  # Start server\n```\n\n- Python 3.11+\n- An MCP-compatible client (Claude Code, Cursor, etc.)\n\nMIT", "url": "https://wpnews.pro/news/mcp-code-review-server-ai-code-review-in-your-editor", "canonical_source": "https://github.com/GoodJobwilliam/aicraft/tree/main/products/mcp-code-review", "published_at": "2026-07-26 14:13:19+00:00", "updated_at": "2026-07-26 14:22:22.099779+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-products", "ai-safety"], "entities": ["AICraft", "Claude Code", "Cursor", "OWASP Top 10", "MCP Code Review Server"], "alternates": {"html": "https://wpnews.pro/news/mcp-code-review-server-ai-code-review-in-your-editor", "markdown": "https://wpnews.pro/news/mcp-code-review-server-ai-code-review-in-your-editor.md", "text": "https://wpnews.pro/news/mcp-code-review-server-ai-code-review-in-your-editor.txt", "jsonld": "https://wpnews.pro/news/mcp-code-review-server-ai-code-review-in-your-editor.jsonld"}}