Skip to main content
Glama
nimra-pixel

CodeAudit Agent

by nimra-pixel

🔍 CodeAudit Agent

AI-Powered Code Security, Quality & Performance Review

Python LangGraph MCP Groq Built by Nimra

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: code-review-mcp

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.py

MCP Server (for VS Code)

python mcp/server.py

Then install the VS Code extension from vscode/ folder.

Right-click any code → CodeAudit: Audit This File


MCP Tools exposed

Tool

Description

audit_code

Full security + quality + performance audit

quick_security_scan

Security only (faster)

detect_code_language

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

GitHub

Also built: MedAgent · DeepResearch · VEMA


MIT License

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that provides local code quality analysis for AI coding assistants, supporting file analysis, git diff review, and full project scanning with quality scoring.
    Last updated
    4
    2
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    MCP 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.
    Last updated

View all related MCP servers

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.

  • Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nimra-pixel/codeaudit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server