Argus

by athapong

Integrations

  • Performs static code analysis for JavaScript/TypeScript projects to identify code quality issues

  • Enables branch enumeration, commit history analysis, diff comparisons, and repository structure visualization

  • Allows repository analysis and security scanning for GitHub repositories

Argus - 저장소 분석 및 보안 평가 도구

여러 프로그래밍 언어에서 코드 저장소를 분석하고, 보안 검사를 수행하고, 코드 품질을 평가하기 위한 강력한 모델 컨텍스트 프로토콜(MCP) 도구입니다.

특징

  • 다국어 지원
    • Go: gocyclo, golangci-lint 분석
    • Java: PMD 정적 분석
    • Python: Pylint, Bandit 보안 검사
    • JavaScript/TypeScript: ESLint 분석
    • 자동 언어 감지
  • 보안 스캐닝
    • 통합 Trivy 취약점 스캐너
    • 포괄적인 보안 보고서
    • 여러 지점 지원
  • Git 작업
    • 지점 열거 및 관리
    • 커밋 히스토리 분석
    • 차이점 비교
    • 저장소 구조 시각화

설치

필수 조건

  • 파이썬 3.8 이상
  • libmagic(시스템 종속성)

시스템 종속성

맥OS

지엑스피1

리눅스(우분투/데비안)
sudo apt-get update sudo apt-get install -y libmagic1

UV를 통한 설치

uvx argus

용법

기본 MCP 명령

# Analyze repository structure analyze_repository_structure( repo_url="https://gitlab.com/user/repo", gitlab_credentials={"api_key": "your-token"}, # Optional branch="main" # Optional ) # Perform code quality analysis analyze_code_quality( repo_url="https://gitlab.com/user/repo", language="python" # Optional, will auto-detect if not specified ) # Security scan security_scan_repository( repo_url="https://gitlab.com/user/repo", scan_type="trivy" ) # Compare changes compare_git_changes( repo_url="https://gitlab.com/user/repo", source="feature-branch", target="main" ) # Security scan repository security_scan_repository( repo_url="https://gitlab.com/user/repo", scan_type="trivy" ) ### MCP Configuration ```json { "command": "uvx", "args": [ "--from", "git+https://github.com/athapong/argus", "argus" ], "alwaysAllow": [ "get_commit_history", "enumerate_branches", "compare_git_changes", "analyze_code_quality", "security_scan_repository" ], "timeout": 300 }

지원되는 분석 도구

언어도구설치
가다고시클로, 골랑치-린트go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
자바PMDmacOS: brew install pmd , Linux: 자동 설치
파이썬필린트, 밴딧종속성을 통해 자동 설치됨
자바스크립트ESLintnpm install -g eslint

환경 변수

  • SKIP_SYSTEM_CHECK : 시스템 종속성 검사를 건너뛰려면 원하는 값으로 설정합니다.
  • PATH : 도구 설치를 위해 자동으로 업데이트됨

오류 처리

이 도구는 자세한 오류 메시지와 적절한 대체 방법을 제공합니다.

  • 종속성 설치 실패 시 오류 대신 경고가 표시됩니다.
  • 자동 감지가 실패하면 언어 감지가 지정된 언어로 돌아갑니다.
  • 도구 실행 오류는 응답 구조에 캡처됩니다.

특허

MIT 라이센스

기여하다

  1. 저장소를 포크하세요
  2. 기능 브랜치를 생성하세요
  3. 변경 사항을 커밋하세요
  4. 지점으로 밀어 넣기
  5. 새로운 풀 리퀘스트 만들기
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

여러 프로그래밍 언어에서 코드 저장소를 분석하고, 보안 검사를 수행하고, 코드 품질을 평가하기 위한 모델 컨텍스트 프로토콜 도구입니다.

  1. Features
    1. Installation
      1. Prerequisites
      2. System Dependencies
      3. Installation via uv
    2. Usage
      1. Basic MCP Commands
    3. Supported Analysis Tools
      1. Environment Variables
        1. Error Handling
          1. License
            1. Contributing

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.
                Last updated -
                12
                42,199
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that extracts and analyzes Python code structures, focusing on import/export relationships between files to help LLMs understand code context.
                Last updated -
                2
                Python
                MIT License
              • -
                security
                F
                license
                -
                quality
                A smart code retrieval tool based on Model Context Protocol that provides efficient and accurate code repository search capabilities for large language models.
                Last updated -
                Python
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
                Last updated -
                9
                Python
                MIT License
                • Apple
                • Linux

              View all related MCP servers

              ID: emyammezhh