阿戈斯
STDIO多语言代码仓库分析和安全扫描工具
多语言代码仓库分析和安全扫描工具
A powerful Model Context Protocol (MCP) tool for analyzing code repositories, performing security scans, and assessing code quality across multiple programming languages.
Multi-Language Support
Security Scanning
Git Operations
brew install libmagic
sudo apt-get update sudo apt-get install -y libmagic1
uvx argus
# 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 }
| Language | Tools | Installation | 
|---|---|---|
| Go | gocyclo, golangci-lint | go install github.com/fzipp/gocyclo/cmd/gocyclo@latest | 
| Java | PMD | macOS: brew install pmd, Linux: Auto-installed | 
| Python | Pylint, Bandit | Auto-installed via dependencies | 
| JavaScript | ESLint | npm install -g eslint | 
SKIP_SYSTEM_CHECK: Set to any value to skip system dependency checksPATH: Automatically updated for tool installationsThe tool provides detailed error messages and graceful fallbacks:
MIT License