PA

puliczek/awesome-mcp-security

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

743 stars 305 forks 品質 48 トレンド 21

🔥🔒 素晴らしいMCP(モデルコンテキストプロトコル)セキュリティ 🖥️

概要

🤝 応援を示してください - 内容が気に入ったら教え⭐️てください モデルコンテキストプロトコル(MCP)セキュリティについて知っておくべきすべての情報。 2025年4月15日:現在のMCP認証仕様は、より堅牢な仕様に置き換えられる進行中です。現在の認証仕様にご懸念がある場合は、どうぞ会話に参加してください。 - サーバー:- すべてのツール入力を検証 - 適切なアクセス制御を実装 - ツール呼び出しの速度制限 - ツール出力のサニタイズ - クライアント : - 機密操作に対するユーザー確認プロンプト - サーバーに呼び出す前にツール入力をユーザーに表示し、悪意あるまたは偶発的なデータ流出を防ぐ - LLMに渡す前にツールの結果を検証 - ツール呼び出しのタイムアウトを実装 - 監査目的でツールの使用履歴を記録 信頼・安全・セキュリティのため、クライアントはツール注釈を信頼できるサーバーから来ない限り信頼できないものとみなします。 信頼と安全、セキュリティのために、常にツールの呼び出しを拒否できる人間がループに関わっています*。

概要(AI 翻訳)

🤝 応援を示してください - 内容が気に入ったら教え⭐️てください


**素晴らしいMCPセキュリティ **

モデルコンテキストプロトコル(MCP)セキュリティについて知っておくべきすべての情報。

目次

  • 素晴らしいMCPセキュリティ
  • 📔 セキュリティ上の考慮事項
  • 📃 論文
  • 📺 ビデオ
  • 📕 記事、Xスレッド、ブログ投稿
  • 🧑 🚀 ツールとコード
  • 💾 MCPセキュリティサーバー
  • 💻 その他の有用なリソース

📔 セキュリティ上の考慮事項

公式MCP仕様改訂版:2025-03-26による公式セキュリティ考慮事項

[!注] 2025年4月15日:現在のMCP認証仕様は、より堅牢な仕様に置き換えられる進行中です。現在の認証仕様についてご懸念がある場合は、どうぞ会話に参加してください。

  • サーバー MUST:

  • すべてのツール入力の検証

  • 適切なアクセス制御の実施

  • レート制限ツール呼び出し

  • サニタイズツール出力

  • クライアント すべき:

  • 機密操作に関するユーザー確認プロンプト

  • サーバーを呼ぶ前にツール入力をユーザーに表示し、悪意あるまたは偶発的なデータ流出を防ぐ

  • LLMに渡す前にツールの結果を検証する

  • ツール呼び出しのタイムアウトを実装する

  • 監査目的でのログツールの利用

[!警告]

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。


Awesome MCP Security

Everything you need to know about Model Context Protocol (MCP) security.

Table of Contents

📔 Security Considerations

Official Security Considerations from the Official MCP Specification Rev: 2025-03-26

[!NOTE] 15.04.2025: The current MCP auth specification is in progress of being replaced by a more robust specification. Please join the conversation if you have concerns around the current auth specification.

  • Servers MUST:

    • Validate all tool inputs
    • Implement proper access controls
    • Rate limit tool invocations
    • Sanitize tool outputs
  • Clients SHOULD:

    • Prompt for user confirmation on sensitive operations
    • Show tool inputs to the user before calling the server, to avoid malicious or accidental data exfiltration
    • Validate tool results before passing to LLM
    • Implement timeouts for tool calls
    • Log tool usage for audit purposes

[!WARNING]
For trust & safety and security, clients MUST consider tool annotations to be untrusted unless they come from trusted servers.

[!WARNING]
For trust & safety and security, there SHOULD always be a human in the loop* with the ability to deny tool invocations.

Applications SHOULD:

  • Provide UI that makes clear which tools are being exposed to the AI model.
  • Insert clear visual indicators when tools are invoked.
  • Present confirmation prompts to the user for operations, to ensure a human is in the loop.

[!NOTE]
*Human-in-the-Loop (HITL) means that user help monitor and guide automated tasks, like deciding whether to accept tool requests in Cursor.

📃 Papers

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →