Argus
Argus - 存储库分析和安全评估工具
强大的模型上下文协议 (MCP) 工具,用于分析代码存储库、执行安全扫描和评估多种编程语言的代码质量。
特征
多语言支持
Go:gocyclo、golangci-lint 分析
Java:PMD静态分析
Python:Pylint、Bandit 安全检查
JavaScript/TypeScript:ESLint 分析
自动语言检测
安全扫描
集成 Trivy 漏洞扫描程序
全面的安全报告
支持多个分支
Git 操作
分支机构计数和管理
提交历史分析
差异比较
存储库结构可视化
Related MCP server: CodeAnalysis MCP Server
安装
先决条件
Python 3.8+
Git
libmagic(系统依赖)
系统依赖项
macOS
brew install libmagicLinux(Ubuntu/Debian)
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
}支持的分析工具
语言 | 工具 | 安装 |
去 | gocyclo,golangci-lint |
|
Java | 偏振模色散 | macOS: |
Python | 皮林特,土匪 | 通过依赖项自动安装 |
JavaScript | ESLint |
|
环境变量
SKIP_SYSTEM_CHECK:设置为任意值以跳过系统依赖性检查PATH:工具安装时自动更新
错误处理
该工具提供了详细的错误消息和优雅的回退:
依赖项安装失败显示警告而不是错误
如果自动检测失败,语言检测将回退到指定语言
工具执行错误被捕获在响应结构中
执照
MIT 许可证
贡献
分叉存储库
创建你的功能分支
提交你的更改
推送到分支
创建新的 Pull 请求
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enhances AI-generated code quality through comprehensive analysis across 10 critical dimensions, helping identify issues before they become problems.190Apache 2.0
- FlicenseDqualityDmaintenanceA comprehensive Model Context Protocol server for advanced code analysis that provides tools for syntax analysis, dependency visualization, and AI-assisted development workflow support.287-
- AlicenseNot gradedqualityAmaintenanceModel Context Protocol server for security research automation, integrating multiple security testing tools into LLM-driven workflows for secret scanning, static analysis, and vulnerability discovery.55Apache 2.0
- AlicenseNot gradedqualityFmaintenanceA powerful Model Context Protocol server that creates intelligent graph representations of your codebase with comprehensive semantic analysis capabilities, supporting 11 languages and 26 MCP methods.69121MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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