Skip to main content
Glama

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

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

특징

  • 다국어 지원

    • Go: gocyclo, golangci-lint 분석

    • Java: PMD 정적 분석

    • Python: Pylint, Bandit 보안 검사

    • JavaScript/TypeScript: ESLint 분석

    • 자동 언어 감지

  • 보안 스캐닝

    • 통합 Trivy 취약점 스캐너

    • 포괄적인 보안 보고서

    • 여러 지점 지원

  • Git 작업

    • 지점 열거 및 관리

    • 커밋 히스토리 분석

    • 차이점 비교

    • 저장소 구조 시각화

Related MCP server: SafetyCulture MCP Server

설치

필수 조건

  • 파이썬 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

자바

PMD

macOS:

brew install pmd

, Linux: 자동 설치

파이썬

필린트, 밴딧

종속성을 통해 자동 설치됨

자바스크립트

ESLint

npm install -g eslint

환경 변수

  • SKIP_SYSTEM_CHECK : 시스템 종속성 검사를 건너뛰려면 원하는 값으로 설정합니다.

  • PATH : 도구 설치를 위해 자동으로 업데이트됨

오류 처리

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

  • 종속성 설치 실패 시 오류 대신 경고가 표시됩니다.

  • 자동 감지가 실패하면 언어 감지가 지정된 언어로 돌아갑니다.

  • 도구 실행 오류는 응답 구조에 캡처됩니다.

특허

MIT 라이센스

기여하다

  1. 저장소를 포크하세요

  2. 기능 브랜치를 생성하세요

  3. 변경 사항을 커밋하세요

  4. 지점으로 밀어 넣기

  5. 새로운 풀 리퀘스트 만들기

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/athapong/argus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server