Описание
Generate automated code reviews.
README
title: Code Analysis MCP emoji: 🧑💻 colorFrom: black colorTo: yellow sdk: gradio sdk_version: 5.32.0 app_file: src/app.py pinned: false license: apache-2.0 short_description: Automated code reviews for LLMs.
Code Analysis MCP Server
This project is a simple Gradio-based MCP server that provides two basic code analysis functionalities:
- Code Analysis Report: Generates a report with basic information about the provided code.
- Code Score: Provides a simple score for the provided code.
Setup and Running
Clone the repository.
Navigate to the project directory.
Install the required dependencies:
pip install -r requirements.txtRun the application:
python src/app.pyThe Gradio interface will be available at
http://127.0.0.1:7860/and MCP server will be avaible athttp://127.0.0.1:7860/gradio_api/mcp/sse.
Connecting to Cursor AI
To test the MCP server with Cursor AI, open Cursor Settings, navigate to the "MCP" tab, and click the "+ Add new global MCP server" button.
Add the following JSON configuration to the MCP settings file:
{
"mcpServers": {
"gradio": {
"url": "http://127.0.0.1:7860/gradio_api/mcp/sse"
}
}
}
- Save the file. You will now see an active MCP server named
gradiowith the toolsCode Analysis ReportandCode Score.
To test this MCP server, you can create a new chat in agent mode of the Cursor using (CTRL +T) and ask for a code analysis report (e.g., "analyze this Python code: print('hello')"). Cursor will ask for permission to run the MCP tool. Approve it.
Tools
Code Analysis Report
- Endpoint:
/predict - Description: Accepts a code string and returns a basic analysis report.
Code Score
- Endpoint:
/predict_1 - Description: Accepts a code string and returns a simple code score.
Установка Code Analyzer
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/kingabzpro/mcp-code-analyzerFAQ
Code Analyzer MCP бесплатный?
Да, Code Analyzer MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Code Analyzer?
Нет, Code Analyzer работает без API-ключей и переменных окружения.
Code Analyzer — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Code Analyzer в Claude Desktop, Claude Code или Cursor?
Открой Code Analyzer на 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 Code Analyzer with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
