CodeAudit Agent
Click 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., "@CodeAudit Agentaudit this Python code for security issues"
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.
๐ CodeAudit Agent
AI-Powered Code Security, Quality & Performance Review
Paste any code โ Get security vulnerabilities, quality issues, performance bottlenecks, auto-fix, and a graded report.
Works as a Streamlit web app AND as an MCP server for VS Code.
What it detects
Category | Checks |
๐ Security | OWASP Top 10 ยท SQL injection ยท XSS ยท hardcoded secrets ยท eval() ยท weak crypto ยท debug mode |
โจ Quality | SOLID violations ยท cyclomatic complexity ยท naming ยท DRY ยท magic numbers ยท error handling |
โก Performance | O(nยฒ) loops ยท N+1 queries ยท memory leaks ยท blocking I/O ยท string concat in loops |
Related MCP server: Secure Code Review MCP Server
Languages supported
Python ยท JavaScript ยท TypeScript ยท Java ยท C++ ยท C ยท C# ยท Go ยท Rust ยท PHP ยท Ruby ยท Swift ยท Kotlin ยท SQL ยท Bash
Architecture
Code input (Streamlit UI or VS Code via MCP)
โ
LangGraph orchestrator
โ (parallel)
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
โ Security โ Quality โ Performance โ
โ Agent โ Agent โ Agent โ
โ OWASP Top 10 โ SOLID/Clean โ Big-O/leaks โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ
โ
Fix Agent (auto-generates fixed code)
โ
Scorer (computes grade A+ โ F)
โ
Report (.md + .json export)Quick Start
git clone https://github.com/nimra-pixel/codeaudit.git
cd codeaudit
pip install -r requirements.txt
cp .env.example .env # add GROQ_API_KEY
streamlit run app.pyMCP Server (for VS Code)
python mcp/server.pyThen install the VS Code extension from vscode/ folder.
Right-click any code โ CodeAudit: Audit This File
MCP Tools exposed
Tool | Description |
| Full security + quality + performance audit |
| Security only (faster) |
| Detect programming language |
Works with LangGraph, CrewAI, Claude Desktop, and any MCP client.
Built by
Nimra Tariq โ AI Engineer & Assistant Professor, Superior University Lahore, Pakistan
Also built: MedAgent ยท DeepResearch ยท VEMA
MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
Scan any MCP server for tool-poisoning, security, auth & license. Trust score before install.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that securely reviews AI-generated code for vulnerabilities such as SQL injection, command injection, and hardcoded credentials.11Apache 2.0
- FlicenseNot gradedqualityDmaintenanceLocal MCP server that scans code for security issues (secrets, dependencies, configurations, risky patterns) and integrates with GitHub Copilot in VS Code for automated pre-commit reviews.-
- FlicenseNot gradedqualityDmaintenanceMCP server that provides code validation rules and analysis for various stacks/frameworks, enabling automated code reviews and reporting directly from VS Code and other editors.-
- AlicenseNot gradedqualityBmaintenanceMCP server for automated code review using AI agents. It analyzes code diffs or file paths for bugs, security issues, and style violations.MIT