Token导航 LogoToken导航TokenDH.com
Argus MCP logo
开发工具stdio官方级别未说明来源级核验

Argus MCP

MCP Server

A Model Context Protocol (MCP) server for analyzing GitLab repositories and performing security assessments.

工具数

7

提示词数

0

GitHub Stars

2

资源数

0
代码分析安全Python代码质量

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

athapong

提供方

athapong

最后核验

2026/5/18 02:15

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

uvx argus

详细介绍

Argus-存储库分析和安全评估工具

一个强大的模型上下文协议(MCP)工具,用于分析代码存储库、执行安全扫描和评估多种编程语言的代码质量。

特性

  • 多语言支持

- 去:gocyclo,golangci皮棉分析 - Java:PMD静态分析 - Pylint,Bandit安全检查 - JavaScript/TypeScript:ESLint分析 - 自动语言检测

  • 安全扫描

- 集成Trivy漏洞扫描程序 - 全面的安全报告 - 支持多个分支机构

  • Git操作

- 分支机构计数和管理 - 提交历史分析 - 差异比较 - 存储库结构可视化

安装

先决条件

  • Python 3.8+
  • Git
  • libmagic(系统依赖性)

系统相关性

macOS

brew install libmagic

Linux(Ubuntu/Debian)

sudo apt-get update
sudo apt-get install -y libmagic1

通过紫外线安装

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

{ "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|gocyclo,golangci lint| `go install github.com/fzipp/gocyclo/cmd/gocyclo@latest` |
|Java | PMD | macOS: `brew install pmd`,Linux:自动安装|
|Python | Pylint,Bandit |通过依赖项自动安装|
|JavaScript | ESLint| `npm install -g eslint` |

## 环境变量

- `SKIP_SYSTEM_CHECK`:设置为任何值以跳过系统依赖性检查
- `PATH`:自动更新以安装工具

## 错误处理

该工具提供详细的错误消息和优雅的回退:

- 依赖安装失败显示警告而不是错误
- 如果自动检测失败,语言检测将回退到指定语言
- 工具执行错误被捕获在响应结构中

## 许可证

MIT许可证

## 贡献

1. 分叉存储库
1. 创建功能分支
1. 提交您的更改
1. 推到分支
1. 创建新的Pull请求

目录标签

目录标签

代码分析安全Python代码质量developer-toolsrepository-analysissecurity-assessmentcode-quality本地部署安全扫描多语言支持Git操作

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

部署方式(deploymentType,部署类型)

remote-capable

工具数量(toolCount,工具数)

7

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiononeremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP