servidor de código de código
Servidor MCP para analizar el código para errores, errores y problemas de funcionalidad
1
Github Watches
1
Github Forks
0
Github Stars
Code Analyzer MCP Server
This MCP server provides tools to analyze code for bugs, errors, and functionality issues in both front-end and back-end code, with options to fix them.
Features
- Analyze JavaScript/TypeScript code using ESLint
- Analyze HTML code using HTMLHint
- Analyze CSS code using Stylelint
- Analyze Python code using Pyright
- Automatically fix issues when possible
- Get suggestions for fixing identified issues
Available Tools
1. analyze_code
Analyzes code for bugs, errors, and functionality issues.
Parameters:
-
path(required): Path to the file or directory to analyze -
language(optional): Language of the code (auto-detected if not provided)- Options: 'javascript', 'typescript', 'html', 'css', 'python', 'auto'
-
fix(optional): Whether to automatically fix issues when possible (default: false)
Example:
use_mcp_tool({
server_name: "code-analyzer-server",
tool_name: "analyze_code",
arguments: {
path: "/path/to/your/file.js",
language: "javascript",
fix: true
}
});
2. fix_issues
Fixes identified issues in code.
Parameters:
-
path(required): Path to the file to fix -
issueIds(required): Array of issue IDs to fix (from analyze_code results)
Example:
use_mcp_tool({
server_name: "code-analyzer-server",
tool_name: "fix_issues",
arguments: {
path: "/path/to/your/file.js",
issueIds: ["js-/path/to/your/file.js-0", "js-/path/to/your/file.js-1"]
}
});
3. get_fix_suggestions
Gets suggestions for fixing identified issues.
Parameters:
-
path(required): Path to the file with issues -
issueId(required): ID of the issue to get suggestions for
Example:
use_mcp_tool({
server_name: "code-analyzer-server",
tool_name: "get_fix_suggestions",
arguments: {
path: "/path/to/your/file.js",
issueId: "js-/path/to/your/file.js-0"
}
});
Usage Examples
Analyzing JavaScript Code
use_mcp_tool({
server_name: "code-analyzer-server",
tool_name: "analyze_code",
arguments: {
path: "/path/to/your/file.js"
}
});
Analyzing and Automatically Fixing JavaScript Code
use_mcp_tool({
server_name: "code-analyzer-server",
tool_name: "analyze_code",
arguments: {
path: "/path/to/your/file.js",
fix: true
}
});
Analyzing HTML Code
use_mcp_tool({
server_name: "code-analyzer-server",
tool_name: "analyze_code",
arguments: {
path: "/path/to/your/file.html",
language: "html"
}
});
Analyzing CSS Code
use_mcp_tool({
server_name: "code-analyzer-server",
tool_name: "analyze_code",
arguments: {
path: "/path/to/your/file.css",
language: "css"
}
});
Analyzing Python Code
use_mcp_tool({
server_name: "code-analyzer-server",
tool_name: "analyze_code",
arguments: {
path: "/path/to/your/file.py",
language: "python"
}
});
Installation
The server has been installed and configured in your MCP settings. To use it, simply restart your VSCode or Claude application to load the new MCP server.
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Espejo dehttps: //github.com/agentience/practices_mcp_server
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Reviews
user_H1NJAWpF
I've been using code-analyzer-server by vigourpt and it has significantly streamlined my code reviewing process. The server's performance is impressive and it integrates seamlessly with my development workflow. Highly recommend checking it out at https://github.com/vigourpt/code-analyzer-server for anyone in need of a reliable code analysis tool!