
Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
codacy/codacy-mcp-server - кандидат на MCP-сервер, импортированный из https://github.com/codacy/codacy-mcp-server.
Обзор
codacy/codacy-mcp-server - кандидат на MCP-сервер, импортированный из https://github.com/codacy/codacy-mcp-server.
Обзор (машинный перевод)
MCP Сервер для API Codacy, обеспечивающий доступ к репозиториям, файлам, качеству, покрытию, безопасности и т.д.
Таблица содержимого
- Особенности / Инструменты
- Настройка и управление складом
- Организация и управление складами Качество кода и анализ
- Управление файлами и анализ Анализ безопасности
- Анализ запросов Pull
- Инструмент и управление шаблонами Анализ CLI
- Настройка
- Требования Персональный API Access Token
- Установить
- Cursor, Windsurf и другие VS Code с копилотом
- Устранение неполадок
- Внести свой вклад Поддержка Codacy-CLI
- Лицензия
Функции / Инструменты
Следующие инструменты доступны через Codacy MCP Server:
Настройка и управление репозиториями
- [[Т0]]: Добавить или следовать за репозиторием в Codacy, если он еще не присутствует. Этот инструмент гарантирует, что хранилище зарегистрировано в Codacy, что позволяет проводить дальнейший анализ и управление.
Организация и управление складами
- [[Т1]]: Перечислите организации с поддержкой pagination.
- [[Т2]]: Перечислите репозитории в организации с поддержкой пагинации.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Codacy MCP Server
MCP Server for the Codacy API, enabling access to repositories, files, quality, coverage, security and more.
Table of Contents
Features / Tools
The following tools are available through the Codacy MCP Server:
Repository Setup and Management
codacy_setup_repository: Add or follow a repository in Codacy if not already present. This tool ensures the repository is registered with Codacy, allowing further analysis and management.
Organization and Repository Management
codacy_list_organizations: List organizations with pagination support.codacy_list_organization_repositories: List repositories in an organization with pagination support.codacy_get_repository_with_analysis: Get repository with analysis information, including metrics for Grade, Issues, Duplication, Complexity, and Coverage.
Code Quality and Analysis
-
codacy_list_repository_issues: Lists and filters code quality issues in a repository. This is the primary tool for investigating general code quality concerns (e.g. best practices, performance, complexity, style) but NOT security issues. For security-related issues, use the SRM items tool instead. Features include:- Pagination support for handling large result sets
- Filtering by multiple criteria including severity, category, and language
- Author-based filtering for accountability
- Branch-specific analysis
- Pattern-based searching
Common use cases:
- Code quality audits
- Technical debt assessment
- Style guide compliance checks
- Performance issue investigation
- Complexity analysis
File Management and Analysis
codacy_list_files: List files in a repository with pagination support.codacy_get_file_issues: Get the issue list for a file in a repository.
Установка
npx -y @codacy/codacy-mcpКонфигурация
{
"mcpServers": {
"codacy": {
"command": "npx",
"args": ["-y", "@codacy/codacy-mcp"],
"env": {
"CODACY_ACCOUNT_TOKEN": "<YOUR_TOKEN>"
}
}
}
}