AM

anselmoo/mcp-server-analyzer

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 4 forks 质量 78 趋势 16MIT

MCP server for Python code analysis with RUFF linting and VULTURE dead code detection

概览

A powerful Model Context Protocol (MCP) server that provides comprehensive Python code analysis using for linting, for type checking, and for dead code detection. Perfect for AI assistants, IDEs, and automated code review workflows. For quick installation, use one of the one-click install buttons below... For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON). Optionally, you can add it to a file called .vscode/mcp.json in your workspace. This will allow you to share the configuration with others. Note that the mcp key is needed when using the mcp.json file.

README

以下为原文 README 节选,完整内容请查看原文。

MCP Server Analyzer for Python 🐍🔍

A powerful Model Context Protocol (MCP) server that provides comprehensive Python code analysis using Ruff for linting, ty for type checking, and Vulture for dead code detection. Perfect for AI assistants, IDEs, and automated code review workflows.

🚀 Quick Start

VS Code Integration (One-Click Install)

For quick installation, use one of the one-click install buttons below…

在 GitHub 查看完整 README

安装

uvx mcp-server-analyzer
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "analyzer": { "command": "uvx", "args": ["mcp-server-analyzer"] } } }