Provides static code analysis, quality checks, and security vulnerability detection for C++ codebases through multi-language support.
Enables containerized deployment and execution of static analysis, dependency analysis, and complexity analyzer servers.
Integrates ESLint for JavaScript and TypeScript code linting and quality analysis as part of the static analysis capabilities.
Supports Git-based project analysis and version control integration for tracking code quality over time.
Provides comprehensive static analysis, code quality checks, security scanning, and complexity assessment for JavaScript codebases.
Integrates Jest testing framework for unit testing and code quality validation across all packages.
Executes all MCP servers and analysis tools through Node.js runtime environment.
Performs dependency analysis, package compatibility checking, security vulnerability scanning, and version resolution for npm packages.
Integrates Prettier for code formatting checks and quality analysis as part of the static analysis workflow.
Provides static code analysis, security vulnerability detection, and best practices validation for Python codebases.
Provides static code analysis, code quality checks, and security vulnerability detection for Rust codebases through multi-language support.
Provides comprehensive static analysis, type checking, code quality validation, and complexity assessment for TypeScript codebases.
MCP Code Analysis & Quality Server
Note: This project was recently completed and has not undergone extensive testing. Use with caution and report any issues you encounter.
Developed by: Chris Bunting
A suite of MCP (Model Context Protocol) servers providing code analysis, dependency management, complexity analysis, and intelligent prioritization capabilities.
Overview
This project provides three MCP servers and one intelligent prioritization library that deliver comprehensive code quality analysis:
Static Analysis Server: Code quality and security analysis
Dependency Analysis Server: Dependency management and analysis
Complexity Analyzer Server: Code complexity assessment
Intelligent Prioritizer: AI-powered prioritization library (used by other servers)
Features
Static Analysis Server
Code quality analysis
Security vulnerability detection
Best practices validation
Multi-language support (JavaScript, TypeScript, Python, Java, C++, Go, Rust)
Dependency Analysis Server
Dependency analysis and management
Package compatibility checking
Security vulnerability scanning
Version resolution and conflict detection
Complexity Analyzer Server
Code complexity measurement
Maintainability assessment
Code structure analysis
AST-based processing
Intelligent Prioritizer
AI-powered prioritization library
Context-aware analysis engine
Learning-based recommendations
Impact assessment and scoring (used internally by other servers)
Quick Start
Prerequisites
Node.js 18.0 or higher
npm 8.0 or higher
Git
Development Installation
Clone the repository and install dependencies:
MCP Configuration
After building, add the following to your MCP client's configuration file (usually mcp.json or similar):
Note: Replace /path/to/mcp-code-analysis-server with the actual path to your cloned repository.
Development Workflow
For development and testing:
Usage
Once configured, the MCP servers will be automatically available in your MCP client. Each server provides specific tools:
Static Analysis Server: Code quality analysis, security checks, best practices validation
Dependency Analysis Server: Package dependency analysis, compatibility checking, security scanning
Complexity Analyzer Server: Code complexity measurement, maintainability assessment
Intelligent Prioritizer: AI-powered prioritization library (integrated into other servers)
Development
Available Scripts
Project Structure
Architecture
The project uses a monorepo structure with shared packages:
Shared Packages: Common utilities, types, and configurations
Server Packages: Individual MCP servers with specific functionality
Library Packages: Reusable libraries (e.g., intelligent-prioritizer)
Analysis Packages: Specialized analysis components
Testing
Run all tests:
Code Quality
This project uses several tools to maintain code quality:
ESLint: JavaScript/TypeScript linting
Prettier: Code formatting
Jest: Unit testing
TypeScript: Type checking
Docker
Build and run with Docker:
Or use docker-compose:
Release Notes
Version 1.0.1 (2025-09-10)
🎉 Initial Production Release
This is the first production-ready release of the MCP Code Analysis & Quality Server, providing comprehensive code analysis capabilities through three integrated MCP servers.
What's New
Static Analysis Server: Multi-language code quality and security analysis
Dependency Analysis Server: Complete dependency management and security scanning
Complexity Analyzer Server: Advanced code complexity assessment
Intelligent Prioritizer: Smart issue prioritization with team learning
Shared Infrastructure: Robust caching, communication, and configuration systems
Key Features
✅ Full TypeScript implementation with strict typing
✅ Multi-language support (JavaScript, TypeScript, Python, Java, C++, Go, Rust)
✅ Docker containerization for all servers
✅ MCP Protocol compliance
✅ Comprehensive testing framework setup
✅ ESLint configuration with auto-fix capabilities
Known Items
Some ESLint warnings remain (to be addressed in future patches)
Test coverage to be expanded in upcoming releases
Documentation examples to be enhanced
Development Setup
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Model Context Protocol for the underlying protocol