
GitHub Stats
Stars
0
Forks
1
Release Date
4/12/2025
about 2 months ago
Detailed Description
Privacy-Focused AI Code Reviewer
An MCP (Model Context Protocol) server that provides AI-powered code reviews without storing or logging any source code.
Features
- Privacy-first design: No code is stored or logged
- Memory-only processing: All code remains in memory and is explicitly deleted after processing
- Comprehensive code reviews focusing on:
- Security vulnerabilities
- Code quality
- Performance issues
- Best practices
- Design patterns
Setup
- Clone this repository
- Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file with your API key:API_KEY=your-api-key-here LOG_LEVEL=INFO
- Run the server:
python main.py
Usage
The server exposes an endpoint at /mcp/code-review
that accepts POST requests with MCP-formatted messages.
Example request:
curl -X POST http://localhost:8000/mcp/code-review \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"role": "user",
"content": "```python\ndef insecure_function(user_input):\n query = \"SELECT * FROM users WHERE id = \" + user_input\n return db.execute(query)\n```"
}
]
}'
Privacy Guarantees
- No code is written to disk
- No code is included in logs
- All variables containing code are explicitly deleted after use
- Response contains only analysis, not the original code
Deployment Recommendations
For maximum security and compliance:
- Deploy on your own infrastructure
- Use HTTPS encryption
- Implement proper authentication
- Consider network isolation for sensitive code bases
About the Project
This app has not been claimed by its owner yet.
Claim OwnershipReceive Updates
Security Updates
Get notified about trust rating changes
to receive email notifications.