home / mcp / mcp code analysis & quality server
Provides three MCP servers for static analysis, dependency analysis, and code complexity, plus an intelligent prioritizer.
Configuration
View docs{
"mcpServers": {
"cbunting99-mcp-code-analysis-server": {
"command": "node",
"args": [
"/path/to/mcp-code-analysis-server/packages/static-analysis-server/dist/index.js"
],
"env": {
"NODE_ENV": "development"
}
}
}
}You work with MCP servers that analyze code quality, manage dependencies, and measure code complexity, all while leveraging an intelligent prioritization library. This suite helps you maintain high-quality code, surface security concerns, and prioritize issues based on context and learning-driven insights.
To use these MCP servers, run them locally or in your environment and connect via your MCP client. Each server exposes its capabilities so you can perform static analysis, dependency analysis, and complexity measurements as part of your automated workflows. The Intelligent Prioritizer library is used by the other servers to rank issues and recommendations based on context and learned patterns.
Prerequisites: install Node.js 18.0 or higher and npm 8.0 or higher, and ensure Git is available.
Now install and build the packages, then start the servers for local testing. Use these commands in sequence:
# Clone the repository
git clone <repository-url>
cd mcp-code-analysis-server
# Install all dependencies
npm install
# Build all packages
npm run buildAfter building, you configure your MCP client to connect to the servers. The following stdio configurations use Node to execute the built server entry points.
{
"mcpServers": {
"static_analysis": {
"command": "node",
"args": ["/path/to/mcp-code-analysis-server/packages/static-analysis-server/dist/index.js"],
"env": {
"NODE_ENV": "development"
}
},
"dependency_analysis": {
"command": "node",
"args": ["/path/to/mcp-code-analysis-server/packages/dependency-analysis-server/dist/index.js"],
"env": {
"NODE_ENV": "development"
}
},
"complexity_analyzer": {
"command": "node",
"args": ["/path/to/mcp-code-analysis-server/packages/complexity-analyzer-server/dist/index.js"],
"env": {
"NODE_ENV": "development"
}
}
}
}This project is a newly completed suite and may require additional testing in production scenarios. Monitor for issues and report findings to improve reliability and security over time.
Performs code quality checks, security vulnerability detection, and best practices validation across multiple languages.
Analyzes dependencies, checks compatibility, scans for security vulnerabilities, and resolves versions.
Measures code complexity and assesses maintainability through structural analysis.
AI-powered prioritization library used by other servers to rank issues and recommendations.