Codesentry
БесплатноНе проверенAI-powered code review assistant that analyzes repositories for security vulnerabilities, performance bottlenecks, and code quality issues through natural langu
Описание
AI-powered code review assistant that analyzes repositories for security vulnerabilities, performance bottlenecks, and code quality issues through natural language interactions.
README
AI-Powered Code Review Assistant using Model Context Protocol
License: MIT TypeScript Node.js
CodeSentry is an intelligent code review assistant that integrates with AI systems through the Model Context Protocol (MCP). It provides comprehensive analysis of your codebase, identifying security vulnerabilities, performance bottlenecks, code quality issues, and documentation gaps.
✨ Features
- 🔒 Security Analysis - Detect OWASP Top 10 vulnerabilities and security anti-patterns
- ⚡ Performance Analysis - Identify bottlenecks and optimization opportunities
- 🎯 Code Quality - Find code smells, complexity issues, and maintainability problems
- 📚 Documentation Review - Check for missing or outdated documentation
- 🤖 AI Integration - Natural language explanations and suggestions
- 🔗 GitHub Integration - Automated PR reviews and status checks
- 🧪 Live Testing - Built-in MCP client for immediate feedback
🚀 Quick Start
Prerequisites
- Node.js 18+
- Git
- An AI assistant that supports MCP (Claude, etc.)
Installation
# Clone the repository
git clone https://github.com/ayushgundecha/codesentry-mcp.git
cd codesentry-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Test the server
npm run dev
Usage with MCP
- Add to Claude Desktop (macOS):
{
"mcpServers": {
"codesentry": {
"command": "node",
"args": ["/path/to/codesentry-mcp/dist/index.js"],
"env": {}
}
}
}
- Test the connection:
Ask Claude: "Use the ping tool to test CodeSentry"
- Analyze a repository:
Ask Claude: "Use CodeSentry to analyze the repository at /path/to/your/project"
🛠️ Development
Project Structure
codesentry-mcp/
├── src/
│ ├── analyzers/ # Analysis engines (security, performance, quality)
│ ├── integrations/ # External service integrations (Git, GitHub, AI)
│ ├── mcp/ # MCP protocol implementation
│ ├── utils/ # Utility functions and helpers
│ └── types/ # TypeScript type definitions
├── tests/ # Test suites
├── docs/ # Documentation
└── examples/ # Usage examples
Available Scripts
npm run dev # Start development server
npm run build # Build for production
npm run test # Run test suite
npm run lint # Lint code
npm run format # Format code with Prettier
📋 Available Tools
Analysis Tools
analyze_repository- Comprehensive repository analysisanalyze_file- Single file analysisscan_security- Security vulnerability scancheck_dependencies- Dependency audit
AI Tools
explain_code- Natural language code explanationssuggest_improvements- AI-powered refactoring suggestionsgenerate_tests- Test case recommendations
GitHub Tools
analyze_pr- Pull request analysiscomment_suggestion- Add review commentsupdate_status- Update PR status checks
📊 Example Output
{
"security": [
{
"type": "SQL_INJECTION",
"severity": "HIGH",
"file": "src/user.ts",
"line": 42,
"description": "Potential SQL injection vulnerability",
"suggestion": "Use parameterized queries",
"fix": "await prisma.user.findMany({ where: { id: userId } })"
}
],
"performance": [
{
"type": "ALGORITHM_COMPLEXITY",
"severity": "MEDIUM",
"file": "src/sort.ts",
"line": 15,
"complexity": "O(n²)",
"suggestion": "Use Array.sort() for better performance",
"estimatedImpact": "90% improvement"
}
]
}
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Model Context Protocol by Anthropic
- TypeScript ESLint for code analysis patterns
- Simple Git for Git integration
📞 Support
- 🐛 Report Issues
- 💬 Discussions
- 📧 Email: [email protected]
Установка Codesentry
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/ayushgundecha/codesentry-mcpFAQ
Codesentry MCP бесплатный?
Да, Codesentry MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Codesentry?
Нет, Codesentry работает без API-ключей и переменных окружения.
Codesentry — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Codesentry в Claude Desktop, Claude Code или Cursor?
Открой Codesentry на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Codesentry with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
