
mcp-audit/mcts
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCTS(Model Context Threat Scanner)は、MCPサーバーのローカルファーストセキュリティスキャナーです。静的かつライブツールの検出、複数のアナライザ、監査可能なリスクスコア、JSON、SARIF、HTML出力です.
概要
モデルコンテキストプロトコル(MCP)サーバー用のセキュリティスキャナー — AI アシスタントがツール、ファイル、データベース、API にアクセスできるプログラム。 許可の問題、注射リスク、攻撃チェーンなどを見つけるために1つのコマンドを実行します。 CIでは、クラウドアカウントは必要ありません。 ドキュメントのインデックスと用語集を参照してください。 付属のVulnerable MCPサーバーをスキャン: 1つのスキャンの2つのスコアは正常です - スコアリング開発者ガイドを参照してください。 AIアシスタントは、コール可能なツール(「削除ユーザー」、「読み込みファイル」、「クエリデータベース」など)を公開する小規模なプログラムを通して、外部の世界に接続します。 誤構成または悪意のあるサーバーは、次のことができます。 - ツールの説明に悪意のある指示を隠す - ツールの記述に悪意のある指示を隠す - チェーンイノセントなツールをデータ盗難やリモートコードの実行に - サーバーソースコードに埋め込まれたリークの秘密 ほとんどのチームがMCPサーバーを専用のセキュリティレビューなしで出荷します。 MCTSは、焼結を実行してルーチンとしてスキャンを行います.
概要(AI 翻訳)
モデルコンテキスト脅威スキャナー
モデルコンテキストプロトコル(MCP)サーバー用のセキュリティスキャナー — AI アシスタントがツール、ファイル、データベース、API にアクセスできるプログラム。
許可の問題、注射リスク、攻撃チェーンなどを見つけるために1つのコマンドを実行します。 CIでは、クラウドアカウントは必要ありません。
MCP や MCTS に新しい? ドキュメントのインデックスと用語集を参照してください。
デモ
付属のVulnerable MCPサーバーをスキャン:
ターミナル出力例
1つのスキャンの2つのスコアは正常です - スコアリング開発者ガイドを参照してください。
問題
AI アシスタントは、MCP サーバーを介して外部の世界へ接続します — コール可能なツール(例: “delete user”, “read file”, “query database”) を公開する小規模なプログラム。 誤構成または悪意のあるサーバーは、次のことができます。
- 持っていないAI破壊機能の付与
- ツールの説明で悪意のある指示を隠す
- チェーンインノセントツールをデータ盗難やリモートコードの実行に
- サーバーソースコードに埋め込まれたリークシークレット
ほとんどのチームがMCPサーバーを専用のセキュリティレビューなしで出荷します。 MCTSは、焼結を実行してルーチンとしてスキャンを行います。
##特徴
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCTS
Model Context Threat Scanner
Security scanner for Model Context Protocol (MCP) servers — the programs that give AI assistants access to tools, files, databases, and APIs.
Run one command to find permission issues, injection risks, attack chains, and more. Works locally, in CI, with no cloud account required.
New to MCP or MCTS? See the documentation index and glossary.
mcts scan ./server.py # single entrypoint
mcts scan ./ # entire repository
Demo
Scan the included vulnerable MCP server:
uv run mcts scan examples/vulnerable-mcp-server/server.py
Problem
AI assistants connect to the outside world through MCP servers — small programs that expose callable tools (e.g. “delete user”, “read file”, “query database”). A misconfigured or malicious server can:
- Grant the AI destructive capabilities it shouldn’t have
- Hide malicious instructions in tool descriptions
- Chain innocent tools into data theft or remote code execution
- Leak secrets embedded in server source code
Most teams ship MCP servers without dedicated security review. MCTS makes scanning as routine as running a linter.
Features
MCTS is alpha software with a local-first MCP security pipeline — no cloud account required for standard scans. Full reference: Security checks · CLI.
Scanning & discovery
| Capability | How |
|---|---|
| Repository & entrypoint scan | mcts scan ./repo/ or mcts scan ./server.py — Python + TypeScript static discovery |
| Auto target resolution | mcts scan . --auto — pick entrypoint or lone MCP config server |
| Multi-surface analysis | --surfaces tool,prompt,resource,instruction |
インストール
uvx mcp-mcts scan ./server.py