Skip to main content
Glama

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以上

  • ギット

  • libmagic (システム依存)

システム依存関係

macOS

brew install libmagic

Linux(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
}

サポートされている分析ツール

言語

ツール

インストール

行く

ゴシクロ、ゴランジリント

go install github.com/fzipp/gocyclo/cmd/gocyclo@latest

ジャワ

PMD

macOS: brew install pmd 、Linux: 自動インストール

パイソン

パイリント、バンディット

依存関係により自動インストール

JavaScript

ESLint

npm install -g eslint

環境変数

  • SKIP_SYSTEM_CHECK : システム依存関係チェックをスキップするには任意の値を設定します

  • PATH : ツールのインストール時に自動的に更新されます

エラー処理

このツールは、詳細なエラー メッセージと適切なフォールバックを提供します。

  • 依存関係のインストール失敗ではエラーではなく警告が表示されます

  • 自動検出が失敗した場合、言語検出は指定された言語にフォールバックします。

  • ツール実行エラーはレスポンス構造に記録されます

ライセンス

MITライセンス

貢献

  1. リポジトリをフォークする

  2. 機能ブランチを作成する

  3. 変更をコミットする

  4. ブランチにプッシュする

  5. 新しいプルリクエストを作成する

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.

Maintenance

ActivityInactive
ResponsivenessSyncing

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

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that enhances AI-generated code quality through comprehensive analysis across 10 critical dimensions, helping identify issues before they become problems.
    1
    90
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Model Context Protocol server for security research automation, integrating multiple security testing tools into LLM-driven workflows for secret scanning, static analysis, and vulnerability discovery.
    55
    Apache 2.0
  • A
    license
    Not graded
    quality
    F
    maintenance
    A 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.
    69
    121
    MIT

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