Skip to main content
Glama

@agentscore-xyz/mcp-server

MCPセキュリティ信頼レイヤー。パッケージのスキャン、信頼性の判定、リポジトリ全体のMCP依存関係の調査、ポリシーゲート設定の生成、CIワークフローの直接インストール、インシデントの影響確認、不正利用データベースの照会を行います。MCPのセキュリティ判断のための8つのツール。APIキー不要、設定ゼロ。

KYA Scan

あらゆるMCPパッケージのセキュリティ問題をスキャン: agentscores.xyz

クイックスタート

Claude Desktop

claude_desktop_config.json に以下を追加してください:

{
  "mcpServers": {
    "agentscore": {
      "command": "npx",
      "args": ["-y", "@agentscore-xyz/mcp-server"]
    }
  }
}

Cursor / その他のMCPクライアント

npx @agentscore-xyz/mcp-server

Related MCP server: MCP Trust Layer

このツールの機能

AIがMCPパッケージに関するセキュリティ判断を行えるようになります:

あなた: "exa-mcp-serverはインストールしても安全ですか?"

Claude: get_verdictを呼び出し "判定: 許可。スコア 90/100、低リスク。証明書の証明なし(個人アカウントによる公開)。web_search_exaおよびcrawling_exaを含む9つのツールが公開されています。"

あなた: "axiosパッケージが侵害されました。影響を受けるMCPサーバーはどれですか?"

Claude: check_exposureを呼び出し "監視対象の複数のMCPサーバーがaxiosに依存しています。exa-mcp-server、tavily-mcp、figma-mcpなどが含まれます。"

あなた: "@azure-devops/mcpのセキュリティ問題をスキャンして"

Claude: scan_packageを呼び出し "スコア 75/100、中リスク。検出内容: npmレジストリ設定を変更するpreinstallスクリプト。証明書の証明なし。"

あなた: "このリポジトリのMCP依存関係をチェックして"

Claude: check_my_repoを呼び出し "MCP依存関係が5つ見つかりました。2つは警告です。generate_policy_gate_setupを実行して、これらのチェックをCIゲートに変換してください。"

あなた: "このリポジトリにAgentScoreポリシーゲートを設定して"

Claude: install_policy_gateを呼び出し "ワークフローファイルが .github/workflows/agentscore-policy-gate.yml に書き込まれました。コミットしてプッシュしてください。GitHub OIDCが初回実行時にリポジトリを自動プロビジョニングします。"

利用可能なツール

ツール

機能

scan_package

完全なセキュリティスキャン: インストールスクリプト、プロンプトインジェクション、ソースコードパターン、証明書の姿勢、MCPツール抽出

get_verdict

信頼性の判断: スキャン結果に基づき、許可、警告、またはブロックを決定。監視状況やパブリッシャーの姿勢も報告。

check_my_repo

現在のリポジトリを調査し、ローカルで検出されたすべてのパッケージの判定結果を要約。

generate_policy_gate_setup

CIでポリシーゲートを強制するために必要な、OIDCベースのGitHub Actionsワークフローを生成。

install_policy_gate

.github/workflows/agentscore-policy-gate.yml をリポジトリに直接書き込み、コミット可能な状態にする。

check_exposure

インシデント対応: 指定されたパッケージに依存している監視対象のMCPサーバーを特定。

check_abuse

報告されたパッケージやエージェントについてKYA不正利用データベースを照会。

monitor_status

パッケージが継続的に監視されているかを確認し、スキャン履歴を取得。

アドホックなスキャンからCIでの強制へ

このMCPサーバーは、単発のパッケージチェックを恒久的な製品へと橋渡しします:

  1. check_my_repo を実行して、リポジトリで使用されているすべてのMCPパッケージを確認します。

  2. generate_policy_gate_setup を実行して、OIDCベースのGitHub Actionsワークフローをプレビューします。

  3. install_policy_gate を実行して、ワークフローファイルをリポジトリに直接書き込みます。

  4. コミットしてプッシュします。初回実行時にGitHub OIDCを通じて自動的にプロビジョニングされます。

これにより、「このパッケージは安全か?」という問いが、「このリポジトリはすべてのPRでMCP依存関係ポリシーを強制する」という状態に変わります。

リスクレベル

スコア

リスク

意味

85-100

低

クリーン、または軽微な問題のみ

70-84

中

いくつかの検出事項あり、レビューを推奨

50-69

やや高い

重要な検出事項あり、慎重に使用すること

30-49

高

深刻な問題あり、非推奨

0-29

危険

使用禁止

スキャナーのチェック項目

  • インストールスクリプト (ネットワーク呼び出しやコード実行を伴うpostinstall/preinstallフック)

  • パッケージメタデータ内のプロンプトインジェクションパターン

  • 不審なURL (怪しいTLD、ngrok、生のIPアドレス)

  • ソースコードパターン (コマンドインジェクション、安全でないeval、ハードコードされたシークレット)

  • パブリッシャーの証明 (信頼された公開、証明書)

  • 依存関係の数とメタデータの完全性

  • 公開されたソースから抽出されたMCPツール定義

監視

AgentScoreは数百のMCPパッケージを継続的に監視しています。check_exposure および monitor_status ツールはこのライブデータセットを使用します。axiosのようなパッケージが侵害された場合、どのMCPサーバーが影響を受けているかを即座に特定できます。

リンク

ライセンス

MIT

Available Tools

8 tools
check_abuseA

Check if a package or agent has been reported to the KYA abuse database. Returns whether abuse has been reported and any details.

Inputs: agent (required).

check_exposureA

Check which monitored MCP servers depend on a given package. Use this during incident response to find blast radius. Example: 'which MCP servers use axios?'

Inputs: npm (required).

check_my_repoA

Inspect the current repo for MCP dependencies, look up AgentScore verdicts for each package, and summarise what should be gated in CI. Use this when a developer wants to understand all MCP packages in a repo instead of scanning one package at a time.

Inputs: path.

generate_policy_gate_setupA

Generate the exact GitHub Actions workflow needed to enforce AgentScore Policy Gate for a repo. Detects MCP dependencies locally and returns the OIDC-based YAML needed for setup. No API key or secret is required.

Inputs: path, repo_url.

get_verdictA

Get a trust verdict for an MCP package: allow, warn, or block. Based on scan findings (score and severity). Also reports monitoring status and publisher posture. Use this before installing or connecting to an MCP server.

Inputs: npm (required).

install_policy_gateA

Write the AgentScore Policy Gate workflow file to this repo. Creates .github/workflows/agentscore-policy-gate.yml with OIDC authentication (no API key needed). Detects MCP dependencies and includes them in the workflow. The gate will auto-provision the repo on first push.

Inputs: path, repo_url.

monitor_statusA

Check if an MCP package is under continuous monitoring and get its scan history. Shows current score, risk level, and recent changes.

Inputs: npm (required).

scan_packageA

Scan an npm package for MCP security issues. Checks install scripts, prompt injection patterns, suspicious URLs, source code patterns, dependency count, metadata completeness, and publisher provenance. Returns score (0-100), risk level, and detailed findings.

Inputs: npm (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 8 tools

    Disambiguation4/5

    Most tools have distinct purposes: scanning, checking verdicts, monitoring, policy enforcement, etc. However, 'install_policy_gate' and 'generate_policy_gate_setup' are closely related (generate vs write workflow), which could cause misselection. Also, 'check_abuse' and 'get_verdict' both return trust-related info but from different sources, which is fine.

    Naming Consistency4/5

    Tools use a consistent verb_noun pattern: check_abuse, check_exposure, generate_policy_gate_setup, etc. The only minor inconsistency is 'install_policy_gate' where 'install' could be seen as more specific than 'generate', but still follows the pattern. No mixing of camelCase or other styles.

    Tool Count5/5

    8 tools is appropriate for an MCP package security server. Each tool covers a core function: scanning, verdict, monitoring, abuse check, exposure analysis, repo check, and policy gate generation/installation. Neither too few nor too many.

    Completeness4/5

    The tool set covers key lifecycle operations: scan, get verdict, monitor, check abuse, check exposure, and policy enforcement (generate+install). Missing tools could include updating a verdict or removing a policy gate, but the core workflow is well-covered.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP security server for AI coding agents. 12 tools: pre-install guardian, vulnerability audit, supply-chain attack detection via static code analysis, and CycloneDX 1.6 SBOM generation. Zero runtime dependencies.
      15
      94 npm
      15
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Security scanner and trust verification layer for MCP ecosystem, enabling users to scan PyPI packages and GitHub repos for secrets, dangerous patterns, and prompt injection vectors, and compare security scores.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that verifies npm and PyPI packages before installation, checking for existence, known vulnerabilities, OpenSSF scorecard, and typosquatting, returning an ALLOW/WARN/BLOCK verdict.
      MIT